summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-02-09 11:56:21 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-02-09 11:56:21 +0000
commit7e682b8378c21d146d2faa8b52447f4a3aefb224 (patch)
tree7bda19a22a90b6cc06a78cf3cc7ce79f3362fa1c /packages
parent8e13dfb9841fbb03049e121ee786f47fa6b66f58 (diff)
taglib 1.4 fix packaging, fix buildsystem (thanks to debian patch), remove taglibc
Diffstat (limited to 'packages')
-rw-r--r--packages/taglib/files/.mtn2git_empty0
-rw-r--r--packages/taglib/files/taglib_1.4-8.diff.gzbin0 -> 74973 bytes
-rw-r--r--packages/taglib/taglib_1.4.bb43
-rw-r--r--packages/taglib/taglibc_1.4.bb33
4 files changed, 13 insertions, 63 deletions
diff --git a/packages/taglib/files/.mtn2git_empty b/packages/taglib/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/taglib/files/.mtn2git_empty
diff --git a/packages/taglib/files/taglib_1.4-8.diff.gz b/packages/taglib/files/taglib_1.4-8.diff.gz
new file mode 100644
index 0000000000..f128f4d3de
--- /dev/null
+++ b/packages/taglib/files/taglib_1.4-8.diff.gz
Binary files differ
diff --git a/packages/taglib/taglib_1.4.bb b/packages/taglib/taglib_1.4.bb
index 43fb2a2bfa..e50eeb6490 100644
--- a/packages/taglib/taglib_1.4.bb
+++ b/packages/taglib/taglib_1.4.bb
@@ -1,41 +1,24 @@
DESCRIPTION = "TagLib is a library for reading and editing the meta-data of several popular audio formats"
-SECTION = "libs"
+SECTION = "libs/multimedia"
HOMEPAGE = "http://developer.kde.org/~wheeler/taglib.html"
LICENSE = "LGPL"
-PR = "r1"
+PR = "r2"
-SRC_URI = "http://developer.kde.org/~wheeler/files/src/taglib-${PV}.tar.gz"
+SRC_URI = "http://developer.kde.org/~wheeler/files/src/taglib-${PV}.tar.gz \
+ file://taglib_1.4-8.diff.gz;patch=1"
S = "${WORKDIR}/taglib-${PV}"
-inherit autotools qmake_base pkgconfig binconfig
+inherit autotools pkgconfig binconfig
-export OE_QMAKE_LINK="${CXX}"
-
-do_configure() {
- # calling oe_runconf to generate pkgconfig and binconfig files
- oe_runconf
- cd ${S}/taglib && rm -f Makefile* && qmake -project -o tag.pro -t lib && \
- qmake -spec ${QMAKESPEC} -after CONFIG=console INCLUDEPATH+=${S}
-}
-
-do_compile() {
- oe_runmake -C taglib
+do_postpatch() {
+ rm -rf patches && rm -rf .pc && mv -f debian/patches patches && quilt push -av
}
+addtask postpatch after do_patch before do_configure
-do_stage_append() {
- install -d ${STAGING_INCDIR}/taglib
- for i in `find taglib -name "*.h"`
- do
- install $i ${STAGING_INCDIR}/taglib/
- done
- for i in `find taglib -name "*.tcc"`
- do
- install $i ${STAGING_INCDIR}/taglib/
- done
- oe_libinstall -so -C taglib libtag ${STAGING_LIBDIR}
+do_stage() {
+ autotools_stage_all
}
-do_install() {
- install -d ${D}${libdir}
- oe_libinstall -so -C taglib libtag ${D}${libdir}
-}
+PACKAGES =+ "${PN}-c"
+FILES_${PN}-dbg += "${bindir}/taglib-config"
+FILES_${PN}-c = "${libdir}/libtag_c.so.*"
diff --git a/packages/taglib/taglibc_1.4.bb b/packages/taglib/taglibc_1.4.bb
deleted file mode 100644
index 1a3a702bb9..0000000000
--- a/packages/taglib/taglibc_1.4.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-DESCRIPTION = "TagLib is a library for reading and editing the meta-data \
-of several popular audio formats. Currently it supports both ID3v1 and ID3v2 \
-for MP3 files, Ogg Vorbis comments and ID3 tags and Vorbis comments in FLAC files"
-SECTION = "libs"
-HOMEPAGE = "http://developer.kde.org/~wheeler/taglib.html"
-DEPENDS = "taglib"
-LICENSE = "LGPL"
-
-SRC_URI = "http://developer.kde.org/~wheeler/files/src/taglib-${PV}.tar.gz"
-S = "${WORKDIR}/taglib-${PV}"
-
-inherit autotools qmake_base pkgconfig binconfig
-
-do_configure() {
- echo running oe_runconf to get pkgconfig and binconfig files created
- oe_runconf
- cd ${S}/bindings/c && rm -f Makefile* && qmake -project -o tag_c.pro -t lib && \
- qmake -spec ${QMAKESPEC} -after CONFIG=console INCLUDEPATH+=${STAGING_INCDIR}/taglib LIBS+=-ltag
-}
-
-do_compile() {
- oe_runmake -C bindings/c
-}
-
-do_stage_append() {
- install -d ${STAGING_INCDIR}/taglib
- install -m 0644 bindings/c/tag_c.h ${STAGING_INCDIR}
- oe_libinstall -so -C bindings/c libtag_c ${STAGING_LIBDIR}
-}
-
-do_install() {
- oe_libinstall -so -C bindings/c libtag_c ${D}${libdir}
-}