From: Koen Kooi Date: Sun, 29 Apr 2007 20:46:31 +0000 (+0000) Subject: libmpeg2: generate the same packages as mpeg2dec X-Git-Tag: Release-2010-05/1~8868^2~660^2~3^2~15 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8eabf26a32553041ec48c9e046baf88b0c6fb73;p=openembedded.git libmpeg2: generate the same packages as mpeg2dec * can we remove either mpeg2dec or libmpeg2, they seem a bit redundant..... --- diff --git a/packages/libmpeg2/libmpeg2_0.4.0b.bb b/packages/libmpeg2/libmpeg2_0.4.0b.bb index 3dcd312be6..bd57ed86d4 100644 --- a/packages/libmpeg2/libmpeg2_0.4.0b.bb +++ b/packages/libmpeg2/libmpeg2_0.4.0b.bb @@ -4,7 +4,7 @@ PRIORITY = "optional" DEPENDS = "virtual/libsdl" LICENSE = "GPL" -PR = "r1" +PR = "r2" SRC_URI = "http://libmpeg2.sourceforge.net/files/mpeg2dec-${PV}.tar.gz \ file://Makefile.patch;patch=1 " @@ -16,6 +16,15 @@ EXTRA_OECONF="--enable-shared" LEAD_SONAME = "libmpeg2.so.0" +PACKAGES =+ "libmpeg2convert libmpeg2convert-dev" + +FILES_libmpeg2convert = "${libdir}/libmpeg2convert.so.*" +FILES_libmpeg2convert-dev = "${libdir}/libmpeg2convert.so \ + ${libdir}/libmpeg2convert.*a \ + ${libdir}/pkgconfig/libmpeg2convert.pc \ + ${includedir}/mpeg2dec/mpeg2convert.h" + + do_stage() { oe_libinstall -a -so -C libmpeg2 libmpeg2 ${STAGING_LIBDIR} oe_libinstall -a -so -C libmpeg2/convert libmpeg2convert ${STAGING_LIBDIR}