diff options
author | Wang Mingyu <wangmy@cn.fujitsu.com> | 2021-03-04 08:30:07 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-06 22:39:04 +0000 |
commit | 25197551fd00c091f4090d3e8386d721afeae75b (patch) | |
tree | 6f5f340f276d61b95b64a725a33d6ddd8b21a733 /meta/recipes-support/taglib/taglib_1.11.1.bb | |
parent | 93b1881f5dfc5eb45f554e145601e0fb4306944a (diff) | |
download | poky-25197551fd00c091f4090d3e8386d721afeae75b.tar.gz |
taglib: upgrade 1.11.1 -> 1.12
CVE-2017-12678.patch
CVE-2018-11439.patch
removed since they are included in 1.12
(From OE-Core rev: dc999d351ec599e4c534281585152087ff16d345)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/taglib/taglib_1.11.1.bb')
-rw-r--r-- | meta/recipes-support/taglib/taglib_1.11.1.bb | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/meta/recipes-support/taglib/taglib_1.11.1.bb b/meta/recipes-support/taglib/taglib_1.11.1.bb deleted file mode 100644 index 165bccadc1..0000000000 --- a/meta/recipes-support/taglib/taglib_1.11.1.bb +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | SUMMARY = "Library for reading and editing the meta-data of popular audio formats" | ||
2 | DESCRIPTION = "Platform-independent library (tested on Windows/Linux) for reading and writing metadata in media files, including video, audio, and photo formats. This is a convenient one-stop-shop to present or tag all your media collection, regardless of which format/container these might use. You can read/write the standard or more common tags/properties of a media, or you can also create and retrieve your own custom tags." | ||
3 | SECTION = "libs/multimedia" | ||
4 | HOMEPAGE = "http://taglib.github.io/" | ||
5 | LICENSE = "LGPLv2.1 | MPL-1.1" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \ | ||
7 | file://COPYING.MPL;md5=bfe1f75d606912a4111c90743d6c7325 \ | ||
8 | file://taglib/audioproperties.h;beginline=1;endline=24;md5=9df2c7399519b7310568a7c55042ecee" | ||
9 | |||
10 | DEPENDS = "zlib" | ||
11 | |||
12 | SRC_URI = "http://taglib.github.io/releases/${BP}.tar.gz \ | ||
13 | file://CVE-2017-12678.patch \ | ||
14 | file://CVE-2018-11439.patch \ | ||
15 | " | ||
16 | |||
17 | SRC_URI[md5sum] = "cee7be0ccfc892fa433d6c837df9522a" | ||
18 | SRC_URI[sha256sum] = "b6d1a5a610aae6ff39d93de5efd0fdc787aa9e9dc1e7026fa4c961b26563526b" | ||
19 | |||
20 | UPSTREAM_CHECK_URI = "http://github.com/taglib/taglib/releases/" | ||
21 | |||
22 | BINCONFIG = "${bindir}/taglib-config" | ||
23 | |||
24 | inherit cmake pkgconfig binconfig-disabled | ||
25 | |||
26 | PACKAGES =+ "${PN}-c" | ||
27 | FILES_${PN}-c = "${libdir}/libtag_c.so.*" | ||
28 | |||
29 | EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \ | ||
30 | -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE \ | ||
31 | -DHAVE_BOOST_BYTESWAP=FALSE \ | ||
32 | -DCMAKE_CXX_STANDARD=11 \ | ||
33 | -DCMAKE_CXX_STANDARD_REQUIRED=OFF \ | ||
34 | -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ | ||
35 | " | ||
36 | CXXFLAGS += "-std=c++11" | ||
37 | |||
38 | do_configure_prepend () { | ||
39 | rm -f ${S}/admin/ltmain.sh | ||
40 | rm -f ${S}/admin/libtool.m4.in | ||
41 | } | ||
42 | |||
43 | # without -fPIC depending packages failed with many error like: | ||
44 | # | <...>/ld: error: <...>/usr/lib/libtag.a(modfilebase.cpp.o): requires unsupported dynamic reloc R_ARM_THM_MOVW_ABS_NC; recompile with -fPIC | ||
45 | CXXFLAGS += "-fPIC" | ||