From f0c034bd4f5588cb40a83d4445b9d39f06a91da9 Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Fri, 27 Jan 2017 14:13:50 +0100 Subject: [PATCH 1/3] taglib: add version 1.10 and update license NOTE! This commit breaks backward compatibility with taglib prior to version 1.7. To avoid having a lot of version specific settings in oe-files backward compatibility has been dropped by moving settings into inc-file. The project moved from autotools to cmake with release of version 1.7 (March 12, 2011) so I don't see any problem with this. --- recipes/taglib/taglib.inc | 12 +++++++++--- recipes/taglib/taglib_1.10.oe | 1 + recipes/taglib/taglib_1.10.oe.sig | 1 + 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 recipes/taglib/taglib_1.10.oe create mode 100644 recipes/taglib/taglib_1.10.oe.sig diff --git a/recipes/taglib/taglib.inc b/recipes/taglib/taglib.inc index 00edf1b..1030a9e 100644 --- a/recipes/taglib/taglib.inc +++ b/recipes/taglib/taglib.inc @@ -1,11 +1,17 @@ DESCRIPTION = "TagLib is a library for reading and editing the meta-data of several popular audio formats" -HOMEPAGE = "http://developer.kde.org/~wheeler/taglib.html" -LICENSE = "LGPL" +HOMEPAGE = "http://taglib.org" +LICENSE = "LGPL-2.1 MPL-1.1" -inherit c++ pkgconfig auto-package-libs +SRC_URI = "http://taglib.github.io/releases/${PN}-${PV}.tar.gz" + +inherit c++ pkgconfig auto-package-libs cmake DEPENDS = "libstdc++" +EXTRA_OE_CMAKE_CONF = " \ + -DCMAKE_BUILD_TYPE=Release \ +" + AUTO_PACKAGE_LIBS = "tag tag_c" COMMON_DEPENDS = "libstdc++ libm libc libgcc ${PN}" diff --git a/recipes/taglib/taglib_1.10.oe b/recipes/taglib/taglib_1.10.oe new file mode 100644 index 0000000..7598b3e --- /dev/null +++ b/recipes/taglib/taglib_1.10.oe @@ -0,0 +1 @@ +require taglib.inc diff --git a/recipes/taglib/taglib_1.10.oe.sig b/recipes/taglib/taglib_1.10.oe.sig new file mode 100644 index 0000000..e1aa0af --- /dev/null +++ b/recipes/taglib/taglib_1.10.oe.sig @@ -0,0 +1 @@ +9da145f9845978b4a281ad61987475486d24152a taglib-1.10.tar.gz From ea8666da53f15a23f0d543589977e257efbd6467 Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Fri, 27 Jan 2017 14:15:32 +0100 Subject: [PATCH 2/3] taglib: remove version 1.9.1 --- recipes/taglib/taglib_1.9.1.oe | 14 -------------- recipes/taglib/taglib_1.9.1.oe.sig | 1 - 2 files changed, 15 deletions(-) delete mode 100644 recipes/taglib/taglib_1.9.1.oe delete mode 100644 recipes/taglib/taglib_1.9.1.oe.sig diff --git a/recipes/taglib/taglib_1.9.1.oe b/recipes/taglib/taglib_1.9.1.oe deleted file mode 100644 index 9cf7005..0000000 --- a/recipes/taglib/taglib_1.9.1.oe +++ /dev/null @@ -1,14 +0,0 @@ -HOMEPAGE = "http://taglib.github.io" -require taglib.inc - -EXTRA_OE_CMAKE_CONF = " \ - -DCMAKE_BUILD_TYPE=Release \ -" -inherit cmake - -DEPENDS += "zlib" - -SRC_URI = "http://taglib.github.io/releases/${PN}-${PV}.tar.gz" - -DEPENDS_${PN}-libtag += "libz" -RDEPENDS_${PN}-libtag += "libz" diff --git a/recipes/taglib/taglib_1.9.1.oe.sig b/recipes/taglib/taglib_1.9.1.oe.sig deleted file mode 100644 index 3006299..0000000 --- a/recipes/taglib/taglib_1.9.1.oe.sig +++ /dev/null @@ -1 +0,0 @@ -4fa426c453297e62c1d1eff64a46e76ed8bebb45 taglib-1.9.1.tar.gz From ffb02157141f0ace3481d4843dfcf3adb33d5a9d Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Tue, 31 Jan 2017 17:26:42 +0100 Subject: [PATCH 3/3] taglib: add allow-missing-provides to pass packageqa --- recipes/taglib/taglib.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/taglib/taglib.inc b/recipes/taglib/taglib.inc index 1030a9e..46af2b1 100644 --- a/recipes/taglib/taglib.inc +++ b/recipes/taglib/taglib.inc @@ -6,6 +6,9 @@ SRC_URI = "http://taglib.github.io/releases/${PN}-${PV}.tar.gz" inherit c++ pkgconfig auto-package-libs cmake +PROVIDES_${PN}-libtag[qa] += "allow-missing-provides" +PROVIDES_${PN}-libtag-c[qa] += "allow-missing-provides" + DEPENDS = "libstdc++" EXTRA_OE_CMAKE_CONF = " \