diff options
Diffstat (limited to 'meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb')
-rw-r--r-- | meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb | 42 |
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 @@ | |||
1 | DESCRIPTION = "Library and test program for decoding mpeg-2 and mpeg-1 video streams" | ||
2 | HOMEPAGE = "http://libmpeg2.sourceforge.net/" | ||
3 | LICENSE = "GPL" | ||
4 | PRIORITY = "optional" | ||
5 | MAINTAINER = "Rene Wagner <rw@handhelds.org>" | ||
6 | SECTION = "libs" | ||
7 | PR = "r1" | ||
8 | |||
9 | DEPENDS = "libx11" | ||
10 | |||
11 | SRC_URI = "http://libmpeg2.sourceforge.net/files/mpeg2dec-${PV}.tar.gz" | ||
12 | S = "${WORKDIR}/mpeg2dec-0.4.0" | ||
13 | |||
14 | inherit autotools pkgconfig | ||
15 | |||
16 | EXTRA_OECONF = "--enable-shared --disable-sdl --with-x" | ||
17 | |||
18 | PACKAGES = "mpeg2dec mpeg2dec-doc libmpeg2 libmpeg2-dev libmpeg2convert libmpeg2convert-dev" | ||
19 | |||
20 | FILES_${PN} = "${bindir}" | ||
21 | FILES_libmpeg2 = "${libdir}/libmpeg2.so.*" | ||
22 | FILES_libmpeg2convert = "${libdir}/libmpeg2convert.so.*" | ||
23 | FILES_libmpeg2-dev = "${libdir}/libmpeg2.so \ | ||
24 | ${libdir}/libmpeg2.*a \ | ||
25 | ${libdir}/pkgconfig/libmpeg2.pc \ | ||
26 | ${includedir}/mpeg2dec/mpeg2.h" | ||
27 | FILES_libmpeg2convert-dev = "${libdir}/libmpeg2convert.so \ | ||
28 | ${libdir}/libmpeg2convert.*a \ | ||
29 | ${libdir}/pkgconfig/libmpeg2convert.pc \ | ||
30 | ${includedir}/mpeg2dec/mpeg2convert.h" | ||
31 | |||
32 | mpeg2dec_include = "mpeg2.h mpeg2convert.h" | ||
33 | |||
34 | do_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 | } | ||