summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-04-29 20:46:31 +0000
committerKoen Kooi <koen@openembedded.org>2007-04-29 20:46:31 +0000
commitf8eabf26a32553041ec48c9e046baf88b0c6fb73 (patch)
tree9099a1b184f2948affc8f4b5fe215c2a4064765b
parenta71cb7e0807a5a61c080f092de17ca3bc95d5b08 (diff)
libmpeg2: generate the same packages as mpeg2dec
* can we remove either mpeg2dec or libmpeg2, they seem a bit redundant.....
-rw-r--r--packages/libmpeg2/libmpeg2_0.4.0b.bb11
1 files changed, 10 insertions, 1 deletions
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}