summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-11-22 11:19:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-30 15:48:04 +0000
commitbef4e00bdadcd912574f73fde93e58d3943b18b5 (patch)
treee195f20ea6c0ae44ea944549e2820f96c4eeba8a /meta/recipes-support
parent3d34ae6c11bc2e800f784740c54b2dd2029658ed (diff)
downloadpoky-bef4e00bdadcd912574f73fde93e58d3943b18b5.tar.gz
taglib: Update to 1.11.1
Forcibly disable Boost as the macros it looks for are also present in our C++ standard library. Enable c++11 in cmake as well as in CXXFLAGS [Khem Raj] CXXFLAGS is required due to a cmake bug where it does not honor CMAKE_CXX_FLAGS during configure time checks [Khem Raj] (From OE-Core rev: 6a56ff7885f43abdb3b9bfeb733be6fee1de237c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/taglib/taglib_1.11.1.bb (renamed from meta/recipes-support/taglib/taglib_1.11.bb)15
1 files changed, 10 insertions, 5 deletions
diff --git a/meta/recipes-support/taglib/taglib_1.11.bb b/meta/recipes-support/taglib/taglib_1.11.1.bb
index c29bda97c4..ee1b5234bb 100644
--- a/meta/recipes-support/taglib/taglib_1.11.bb
+++ b/meta/recipes-support/taglib/taglib_1.11.1.bb
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \
9DEPENDS = "zlib" 9DEPENDS = "zlib"
10 10
11SRC_URI = "http://taglib.github.io/releases/${BP}.tar.gz" 11SRC_URI = "http://taglib.github.io/releases/${BP}.tar.gz"
12SRC_URI[md5sum] = "be39fa2054df40664cb557126ad7cf7c" 12SRC_URI[md5sum] = "cee7be0ccfc892fa433d6c837df9522a"
13SRC_URI[sha256sum] = "ed4cabb3d970ff9a30b2620071c2b054c4347f44fc63546dbe06f97980ece288" 13SRC_URI[sha256sum] = "b6d1a5a610aae6ff39d93de5efd0fdc787aa9e9dc1e7026fa4c961b26563526b"
14 14
15UPSTREAM_CHECK_URI = "http://github.com/taglib/taglib/releases/" 15UPSTREAM_CHECK_URI = "http://github.com/taglib/taglib/releases/"
16 16
@@ -21,13 +21,18 @@ inherit cmake pkgconfig binconfig-disabled
21PACKAGES =+ "${PN}-c" 21PACKAGES =+ "${PN}-c"
22FILES_${PN}-c = "${libdir}/libtag_c.so.*" 22FILES_${PN}-c = "${libdir}/libtag_c.so.*"
23 23
24EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DLIB_SUFFIX=${@d.getVar('baselib', True).replace('lib', '')}" 24EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
25 -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE \
26 -DHAVE_BOOST_BYTESWAP=FALSE \
27 -DCMAKE_CXX_STANDARD=11 \
28 -DCMAKE_CXX_STANDARD_REQUIRED=OFF \
29 -DLIB_SUFFIX=${@d.getVar('baselib', True).replace('lib', '')} \
30"
31CXXFLAGS += "-std=c++11"
25 32
26do_configure_prepend () { 33do_configure_prepend () {
27 rm -f ${S}/admin/ltmain.sh 34 rm -f ${S}/admin/ltmain.sh
28 rm -f ${S}/admin/libtool.m4.in 35 rm -f ${S}/admin/libtool.m4.in
29 # Don't have a floating dependeny on boost
30 sed -i -e "s/atomic.hpp/atomic-not-exist.hpp/" ${S}/ConfigureChecks.cmake ${S}/taglib/toolkit/trefcounter.cpp
31} 36}
32 37
33# without -fPIC depending packages failed with many error like: 38# without -fPIC depending packages failed with many error like: