taglib: Update to v1.8

Patches not needed anymore - they switched to cmake.
LGPL license was replaced with the actual LGPL 2.1 file.
License section in audioproperties.h file was modified as it includes the
new address of Free Software Foundation.
libtag static library is not built by default anymore and if cmake is
instructed to build static library than shared library is deactivated.
So actually this is a switch now.

(From OE-Core rev: 312efe73dad8a9baf32578bd11a1654219d759df)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andrei Gherzan 2012-09-14 01:22:26 +03:00 committed by Richard Purdie
parent 97bb9c5b67
commit 0d67446b35
3 changed files with 8 additions and 5998 deletions

View File

@ -1,73 +0,0 @@
New autoconf gets upset if AC_PROC_CC and friends aren't called at
the top level (see http://www.gnu.org/software/hello/manual/autoconf/Expanded-Before-Required.html)
Fix macros accordingly fixing build failures
RP 2/2/10
Upstream-Status: Inappropriate [configuration]
Index: taglib-1.6.1/acinclude.m4
===================================================================
--- taglib-1.6.1.orig/acinclude.m4 2010-02-01 23:57:16.857788731 +0000
+++ taglib-1.6.1/acinclude.m4 2010-02-01 23:58:08.239039503 +0000
@@ -3141,12 +3141,7 @@
[kde_use_profiling="no"]
)
- dnl this prevents stupid AC_PROG_CC to add "-g" to the default CFLAGS
- CFLAGS=" $CFLAGS"
- AC_PROG_CC
-
- AC_PROG_CPP
if test "$GCC" = "yes"; then
if test "$kde_use_debug_code" != "no"; then
@@ -3174,9 +3169,6 @@
LDFLAGS=""
fi
- CXXFLAGS=" $CXXFLAGS"
-
- AC_PROG_CXX
KDE_CHECK_FOR_BAD_COMPILER
Index: taglib-1.6.1/configure.in
===================================================================
--- taglib-1.6.1.orig/configure.in 2010-02-01 23:46:47.389039146 +0000
+++ taglib-1.6.1/configure.in 2010-02-01 23:58:14.317819479 +0000
@@ -36,6 +36,21 @@
dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
unset CDPATH
+dnl this prevents stupid AC_PROG_CC to add "-g" to the default CFLAGS
+CFLAGS=" $CFLAGS"
+
+AC_PROG_CC
+
+AC_PROG_CPP
+
+CXXFLAGS=" $CXXFLAGS"
+
+AC_PROG_CXX
+
+dnl checks for programs.
+dnl first check for c/c++ compilers
+AC_CHECK_COMPILERS
+
dnl Checking host/target/build systems, for make, install etc.
AC_CANONICAL_SYSTEM
dnl Perform program name transformation
@@ -62,9 +77,7 @@
AM_CONFIG_HEADER(config.h)
AM_CONFIG_HEADER(taglib/taglib_config.h)
-dnl checks for programs.
-dnl first check for c/c++ compilers
-AC_CHECK_COMPILERS
+
dnl CXXFLAGS="$NOOPT_CXXFLAGS" dnl __kdevelop[noopt]__
dnl CFLAGS="$NOOPT_CFLAGS" dnl __kdevelop[noopt]__

File diff suppressed because it is too large Load Diff

View File

@ -2,22 +2,21 @@ DESCRIPTION = "TagLib is a library for reading and editing the meta-data of seve
SECTION = "libs/multimedia"
HOMEPAGE = "http://developer.kde.org/~wheeler/taglib.html"
LICENSE = "LGPLv2.1 | MPL-1"
LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=db979804f025cf55aabec7129cb671ed \
LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \
file://COPYING.MPL;md5=bfe1f75d606912a4111c90743d6c7325 \
file://taglib/audioproperties.h;beginline=1;endline=24;md5=39dcdd772f378a0f8c9a41bc929eccce"
file://taglib/audioproperties.h;beginline=1;endline=24;md5=9df2c7399519b7310568a7c55042ecee"
PR = "r2"
PR = "r0"
# http://developer.kde.org/~wheeler/files/src/taglib-${PV}.tar.gz
SRC_URI = "http://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.gz \
file://configuretweak.patch \
file://nolibtool.patch"
SRC_URI = "https://github.com/downloads/taglib/taglib/taglib-1.8.tar.gz \
"
SRC_URI[md5sum] = "ddf02f4e1d2dc30f76734df806e613eb"
SRC_URI[sha256sum] = "a9ba089cc2c6d26d266bad492de31cadaeb878dea858e22ae3196091718f284b"
SRC_URI[md5sum] = "dcb8bd1b756f2843e18b1fdf3aaeee15"
SRC_URI[sha256sum] = "66d33481703c90236a0a9d1c38fd81b584ca7109ded049225f5463dcaffc209a"
S = "${WORKDIR}/taglib-${PV}"
inherit autotools pkgconfig binconfig
inherit cmake pkgconfig binconfig
PACKAGES =+ "${PN}-c"
FILES_${PN}-c = "${libdir}/libtag_c.so.*"