aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/taglib/taglib_1.11.bb
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2016-10-27 22:07:20 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-31 14:23:15 +0000
commit4d87edb5f33bcb2f19dce05ea46ed40bd8e7679b (patch)
treeefddc2d9d52f5dead7853936e8426a4ec5a3eb15 /meta/recipes-support/taglib/taglib_1.11.bb
parent97fff54efe6b03798ad1c5e39155eaeab0a33300 (diff)
downloadopenembedded-core-contrib-4d87edb5f33bcb2f19dce05ea46ed40bd8e7679b.tar.gz
openembedded-core-contrib-4d87edb5f33bcb2f19dce05ea46ed40bd8e7679b.tar.bz2
openembedded-core-contrib-4d87edb5f33bcb2f19dce05ea46ed40bd8e7679b.zip
taglib: update to 1.11
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/taglib/taglib_1.11.bb')
-rw-r--r--meta/recipes-support/taglib/taglib_1.11.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-support/taglib/taglib_1.11.bb b/meta/recipes-support/taglib/taglib_1.11.bb
new file mode 100644
index 0000000000..c29bda97c4
--- /dev/null
+++ b/meta/recipes-support/taglib/taglib_1.11.bb
@@ -0,0 +1,35 @@
+SUMMARY = "Library for reading and editing the meta-data of popular audio formats"
+SECTION = "libs/multimedia"
+HOMEPAGE = "http://taglib.github.io/"
+LICENSE = "LGPLv2.1 | MPL-1"
+LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \
+ file://COPYING.MPL;md5=bfe1f75d606912a4111c90743d6c7325 \
+ file://taglib/audioproperties.h;beginline=1;endline=24;md5=9df2c7399519b7310568a7c55042ecee"
+
+DEPENDS = "zlib"
+
+SRC_URI = "http://taglib.github.io/releases/${BP}.tar.gz"
+SRC_URI[md5sum] = "be39fa2054df40664cb557126ad7cf7c"
+SRC_URI[sha256sum] = "ed4cabb3d970ff9a30b2620071c2b054c4347f44fc63546dbe06f97980ece288"
+
+UPSTREAM_CHECK_URI = "http://github.com/taglib/taglib/releases/"
+
+BINCONFIG = "${bindir}/taglib-config"
+
+inherit cmake pkgconfig binconfig-disabled
+
+PACKAGES =+ "${PN}-c"
+FILES_${PN}-c = "${libdir}/libtag_c.so.*"
+
+EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DLIB_SUFFIX=${@d.getVar('baselib', True).replace('lib', '')}"
+
+do_configure_prepend () {
+ rm -f ${S}/admin/ltmain.sh
+ rm -f ${S}/admin/libtool.m4.in
+ # Don't have a floating dependeny on boost
+ sed -i -e "s/atomic.hpp/atomic-not-exist.hpp/" ${S}/ConfigureChecks.cmake ${S}/taglib/toolkit/trefcounter.cpp
+}
+
+# without -fPIC depending packages failed with many error like:
+# | <...>/ld: error: <...>/usr/lib/libtag.a(modfilebase.cpp.o): requires unsupported dynamic reloc R_ARM_THM_MOVW_ABS_NC; recompile with -fPIC
+CXXFLAGS += "-fPIC"