libomxil-bellagio: inherit class `pkgconfig` to stage pkg-config file `libomxil-bellagio.pc`
RFC PATCH 1/1 libomxil-bellagio: inherit class `pkgconfig` to stage pkg-config file `libomxil-bellagio.pc`
Date: Sun Jan 16 20:16:47 2011 +0100
libomxil-bellagio distributes a pkg-config file [1] which is only put to the following location with the following content.
$ more angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig/libomxil-bellagio.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib
includedir=/usr/include
toolsdir=/usr/bin
pluginsdir=${libdir}/bellagio Name: libomxil
Description: OpenMAX Integration Layer library
Version: 0.9.2.1
Libs: -L${libdir} -lomxil-bellagio
Cflags: -I${includedir} -I${includedir}/bellagioTo make it useful for crosscompiling inherit pkgconfig.bbclass.
Signed-off-by Paul Menzel <[email protected]>
---
The reason for tagging this [RFC] is, that inheriting pkgconfig.bbclass does not change anything in the behavior. Could commit c2c8fe4c [1]
pkgconfig.bbclass: don't blindly install every .pc file
be the reason for this? But I do not see a warning printed. I tried the following, but it did not work. (But because of a path issue.)
+do_install_append () {
+ install -d ${D}${libdir}/pkgconfig
+ install -m 0644 ${WORKDIR}/libomxil-bellagio.pc ${D}${libdir}/pkgconfig/
+}--- recipes/openmax/libomxil-bellagio.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/openmax/libomxil-bellagio.inc +2 -2
@@ -3,11 +3,11 @@ LICENSE = "LGPLv2" DEPENDS = "alsa-lib ffmpeg \ ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad', d)}" -INC_PR = "r7" +INC_PR = "r8" SRC_URI = "${SOURCEFORGE_MIRROR}/omxil/${PN}-${PV}.tar.gz" -inherit autotools +inherit autotools pkgconfig FILES_${PN} += "${libdir}/bellagio/*.so ${libdir}/bellagio/*.la" FILES_${PN}-dev += "${libdir}/bellagio/*.a"
Signature · 1 line
1.7.2.3