Patchwork [06/10] taglib: use LIB_SUFFIX in order to determine the correct baselib

login
register
mail settings
Submitter Constantin Musca
Date Feb. 4, 2013, 9:20 a.m.
Message ID <05399de088345892abfd0ea7938692c7891e7368.1359967266.git.constantinx.musca@intel.com>
Download mbox | patch
Permalink /patch/43939/
State Accepted
Commit 7cf289b39fd6437305c6d6e2168b5a31d7f3cb2d
Headers show

Comments

Constantin Musca - Feb. 4, 2013, 9:20 a.m.
WARNING: QA Issue: taglib: Files/directories were installed but not shipped
  /usr/lib
  /usr/lib/libtag.so
  /usr/lib/libtag.so.1.12.0
  /usr/lib/libtag.so.1
  /usr/lib/libtag_c.so.0.0.0
  /usr/lib/libtag_c.so
  /usr/lib/libtag_c.so.0
  ...

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
---
 meta/recipes-support/taglib/taglib_1.8.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-support/taglib/taglib_1.8.bb b/meta/recipes-support/taglib/taglib_1.8.bb
index c713e43..76d2e51 100644
--- a/meta/recipes-support/taglib/taglib_1.8.bb
+++ b/meta/recipes-support/taglib/taglib_1.8.bb
@@ -6,7 +6,7 @@  LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \
                     file://COPYING.MPL;md5=bfe1f75d606912a4111c90743d6c7325 \
                     file://taglib/audioproperties.h;beginline=1;endline=24;md5=9df2c7399519b7310568a7c55042ecee"
 
-PR = "r0"
+PR = "r1"
 # http://developer.kde.org/~wheeler/files/src/taglib-${PV}.tar.gz
 SRC_URI = "https://github.com/downloads/taglib/taglib/taglib-1.8.tar.gz \
            "
@@ -21,6 +21,8 @@  inherit cmake pkgconfig binconfig
 PACKAGES =+ "${PN}-c"
 FILES_${PN}-c = "${libdir}/libtag_c.so.*"
 
+EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib', True).replace('lib', '')}"
+
 do_configure_prepend () {
 	rm -f ${S}/admin/ltmain.sh
 	rm -f ${S}/admin/libtool.m4.in