summaryrefslogtreecommitdiffstats
path: root/meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb')
-rw-r--r--meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb b/meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb
new file mode 100644
index 0000000000..0d07d20656
--- /dev/null
+++ b/meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb
@@ -0,0 +1,42 @@
1DESCRIPTION = "Library and test program for decoding mpeg-2 and mpeg-1 video streams"
2HOMEPAGE = "http://libmpeg2.sourceforge.net/"
3LICENSE = "GPL"
4PRIORITY = "optional"
5MAINTAINER = "Rene Wagner <rw@handhelds.org>"
6SECTION = "libs"
7PR = "r1"
8
9DEPENDS = "libx11"
10
11SRC_URI = "http://libmpeg2.sourceforge.net/files/mpeg2dec-${PV}.tar.gz"
12S = "${WORKDIR}/mpeg2dec-0.4.0"
13
14inherit autotools pkgconfig
15
16EXTRA_OECONF = "--enable-shared --disable-sdl --with-x"
17
18PACKAGES = "mpeg2dec mpeg2dec-doc libmpeg2 libmpeg2-dev libmpeg2convert libmpeg2convert-dev"
19
20FILES_${PN} = "${bindir}"
21FILES_libmpeg2 = "${libdir}/libmpeg2.so.*"
22FILES_libmpeg2convert = "${libdir}/libmpeg2convert.so.*"
23FILES_libmpeg2-dev = "${libdir}/libmpeg2.so \
24 ${libdir}/libmpeg2.*a \
25 ${libdir}/pkgconfig/libmpeg2.pc \
26 ${includedir}/mpeg2dec/mpeg2.h"
27FILES_libmpeg2convert-dev = "${libdir}/libmpeg2convert.so \
28 ${libdir}/libmpeg2convert.*a \
29 ${libdir}/pkgconfig/libmpeg2convert.pc \
30 ${includedir}/mpeg2dec/mpeg2convert.h"
31
32mpeg2dec_include = "mpeg2.h mpeg2convert.h"
33
34do_stage () {
35 oe_libinstall -so -C libmpeg2/.libs libmpeg2 ${STAGING_LIBDIR}
36 oe_libinstall -so -C libmpeg2/convert/.libs libmpeg2convert ${STAGING_LIBDIR}
37
38 mkdir -p ${STAGING_INCDIR}/mpeg2dec/
39 for i in ${mpeg2dec_include}; do
40 install -m 0644 include/$i ${STAGING_INCDIR}/mpeg2dec/
41 done
42}