summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-08-13 14:33:30 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-13 14:33:30 +0000
commit735f1b90445f1a173a165a0fe2c4099cda48e71d (patch)
treec3fbab1563887753b1a0c8cee43dbb12794e3b0a
parentf45a26339f26a4da01166c1969c5ea620f992883 (diff)
add taglib, a library for reading and editing the meta-data of several popular audio formats
don't be surprised, I had to ditch the original buildsystem and use qmake - it may sound a bit perverted, but that way I could get it to work :)
-rw-r--r--packages/taglib/.mtn2git_empty0
-rw-r--r--packages/taglib/taglib_1.4.bb38
-rw-r--r--packages/taglib/taglibc_1.4.bb33
3 files changed, 71 insertions, 0 deletions
diff --git a/packages/taglib/.mtn2git_empty b/packages/taglib/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/taglib/.mtn2git_empty
diff --git a/packages/taglib/taglib_1.4.bb b/packages/taglib/taglib_1.4.bb
new file mode 100644
index 0000000000..2fbd4dc334
--- /dev/null
+++ b/packages/taglib/taglib_1.4.bb
@@ -0,0 +1,38 @@
+DESCRIPTION = "TagLib is a library for reading and editing the meta-data of several popular audio formats"
+SECTION = "libs"
+HOMEPAGE = "http://developer.kde.org/~wheeler/taglib.html"
+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() {
+ # calling oe_runconf to generate pkgconfig and binconfig files
+ oe_runconf
+ cd ${S}/taglib && rm -f Makefile* && qmake -project -t lib && \
+ qmake -spec ${QMAKESPEC} -after CONFIG=console INCLUDEPATH+=${S}
+}
+
+do_compile() {
+ oe_runmake -C taglib
+}
+
+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 libtaglib ${STAGING_LIBDIR}
+}
+
+do_install() {
+ install -d ${D}${libdir}
+ oe_libinstall -so -C taglib libtaglib ${D}${libdir}
+}
diff --git a/packages/taglib/taglibc_1.4.bb b/packages/taglib/taglibc_1.4.bb
new file mode 100644
index 0000000000..87f85da430
--- /dev/null
+++ b/packages/taglib/taglibc_1.4.bb
@@ -0,0 +1,33 @@
+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}
+}