summaryrefslogtreecommitdiff
path: root/packages/libmpeg2
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/libmpeg2
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/libmpeg2')
-rw-r--r--packages/libmpeg2/.mtn2git_empty0
-rw-r--r--packages/libmpeg2/libmpeg2-0.4.0b/.mtn2git_empty0
-rw-r--r--packages/libmpeg2/libmpeg2-0.4.0b/Makefile.patch12
-rwxr-xr-x[-rw-r--r--]packages/libmpeg2/libmpeg2_0.4.0b.bb23
4 files changed, 35 insertions, 0 deletions
diff --git a/packages/libmpeg2/.mtn2git_empty b/packages/libmpeg2/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libmpeg2/.mtn2git_empty
diff --git a/packages/libmpeg2/libmpeg2-0.4.0b/.mtn2git_empty b/packages/libmpeg2/libmpeg2-0.4.0b/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libmpeg2/libmpeg2-0.4.0b/.mtn2git_empty
diff --git a/packages/libmpeg2/libmpeg2-0.4.0b/Makefile.patch b/packages/libmpeg2/libmpeg2-0.4.0b/Makefile.patch
index e69de29bb2..78cf8b7275 100644
--- a/packages/libmpeg2/libmpeg2-0.4.0b/Makefile.patch
+++ b/packages/libmpeg2/libmpeg2-0.4.0b/Makefile.patch
@@ -0,0 +1,12 @@
+--- ./src/Makefile.am.old
++++ ./src/Makefile.am
+@@ -8,7 +8,9 @@
+ mpeg2dec_SOURCES = mpeg2dec.c dump_state.c getopt.c gettimeofday.c
+ mpeg2dec_LDADD = $(libvo) $(libmpeg2) $(libmpeg2convert)
+ extract_mpeg2_SOURCES = extract_mpeg2.c getopt.c
++extract_mpeg2_LDADD = $(libvo) $(libmpeg2) $(libmpeg2convert)
+ corrupt_mpeg2_SOURCES = corrupt_mpeg2.c getopt.c
++corrupt_mpeg2_LDADD = $(libvo) $(libmpeg2) $(libmpeg2convert)
+
+ man_MANS = mpeg2dec.1 extract_mpeg2.1
+
diff --git a/packages/libmpeg2/libmpeg2_0.4.0b.bb b/packages/libmpeg2/libmpeg2_0.4.0b.bb
index e69de29bb2..3fa46f1f24 100644..100755
--- a/packages/libmpeg2/libmpeg2_0.4.0b.bb
+++ b/packages/libmpeg2/libmpeg2_0.4.0b.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "MPEG Video Decoder Library"
+SECTION = "libs"
+PRIORITY = "optional"
+MAINTAINER = "Tim Ansell <ipks@mithis.net>"
+DEPENDS = "virtual/libsdl"
+LICENSE = "GPL"
+
+SRC_URI = "http://libmpeg2.sourceforge.net/files/mpeg2dec-${PV}.tar.gz \
+ file://Makefile.patch;patch=1 "
+S = "${WORKDIR}/mpeg2dec-0.4.0"
+
+inherit autotools
+
+EXTRA_OECONF="--enable-shared"
+
+do_stage() {
+ oe_libinstall -a -so -C libmpeg2 libmpeg2 ${STAGING_LIBDIR}
+ oe_libinstall -a -so -C libmpeg2/convert libmpeg2convert ${STAGING_LIBDIR}
+
+ install -d ${STAGING_INCDIR}/mpeg2dec/
+ install -m 0644 include/mpeg2.h ${STAGING_INCDIR}/mpeg2dec/
+ install -m 0644 include/mpeg2convert.h ${STAGING_INCDIR}/mpeg2dec/
+}