From 5c3430d98e1bb59191844e3e445c9ba5afa591dc Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Fri, 7 Jul 2023 11:12:31 +0800 Subject: taglib: upgrade 1.13 -> 1.13.1 Changelog: =========== * Fixed parsing of TXXX frames without description. * Detect MP4 atoms with invalid length or type. * Do not miss ID3v2 frames when an extended header is present. * Use property "DISCSUBTITLE" for ID3v2 "TSST" frame. * Build system improvements: Use absolute path for macOS dylib install name, support --define-prefix when using pkg-config, fixed minimum required CppUnit version. * Code clean up using clang-tidy. (From OE-Core rev: 69477347a21cc810851fd231659f73c6b4661d03) Signed-off-by: Wang Mingyu Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-support/taglib/taglib_1.13.1.bb | 41 ++++++++++++++++++++++++++++ meta/recipes-support/taglib/taglib_1.13.bb | 41 ---------------------------- 2 files changed, 41 insertions(+), 41 deletions(-) create mode 100644 meta/recipes-support/taglib/taglib_1.13.1.bb delete mode 100644 meta/recipes-support/taglib/taglib_1.13.bb diff --git a/meta/recipes-support/taglib/taglib_1.13.1.bb b/meta/recipes-support/taglib/taglib_1.13.1.bb new file mode 100644 index 0000000000..3f0a759f95 --- /dev/null +++ b/meta/recipes-support/taglib/taglib_1.13.1.bb @@ -0,0 +1,41 @@ +SUMMARY = "Library for reading and editing the meta-data of popular audio formats" +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." +SECTION = "libs/multimedia" +HOMEPAGE = "http://taglib.github.io/" +LICENSE = "LGPL-2.1-only | MPL-1.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[sha256sum] = "c8da2b10f1bfec2cd7dbfcd33f4a2338db0765d851a50583d410bacf055cfd0b" + +UPSTREAM_CHECK_URI = "https://taglib.org/" + +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 \ + -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE \ + -DHAVE_BOOST_BYTESWAP=FALSE \ + -DCMAKE_CXX_STANDARD=11 \ + -DCMAKE_CXX_STANDARD_REQUIRED=OFF \ + -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ +" +CXXFLAGS += "-std=c++11" + +do_configure:prepend () { + rm -f ${S}/admin/ltmain.sh + rm -f ${S}/admin/libtool.m4.in +} + +# 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" diff --git a/meta/recipes-support/taglib/taglib_1.13.bb b/meta/recipes-support/taglib/taglib_1.13.bb deleted file mode 100644 index 6560bc3660..0000000000 --- a/meta/recipes-support/taglib/taglib_1.13.bb +++ /dev/null @@ -1,41 +0,0 @@ -SUMMARY = "Library for reading and editing the meta-data of popular audio formats" -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." -SECTION = "libs/multimedia" -HOMEPAGE = "http://taglib.github.io/" -LICENSE = "LGPL-2.1-only | MPL-1.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[sha256sum] = "58f08b4db3dc31ed152c04896ee9172d22052bc7ef12888028c01d8b1d60ade0" - -UPSTREAM_CHECK_URI = "https://taglib.org/" - -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 \ - -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE \ - -DHAVE_BOOST_BYTESWAP=FALSE \ - -DCMAKE_CXX_STANDARD=11 \ - -DCMAKE_CXX_STANDARD_REQUIRED=OFF \ - -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ -" -CXXFLAGS += "-std=c++11" - -do_configure:prepend () { - rm -f ${S}/admin/ltmain.sh - rm -f ${S}/admin/libtool.m4.in -} - -# 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" -- cgit v1.2.3-54-g00ecf