blob: bd57ed86d4582dabc1ed3268f83953956e4112f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
DESCRIPTION = "MPEG Video Decoder Library"
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = "virtual/libsdl"
LICENSE = "GPL"
PR = "r2"
SRC_URI = "http://libmpeg2.sourceforge.net/files/mpeg2dec-${PV}.tar.gz \
file://Makefile.patch;patch=1 "
S = "${WORKDIR}/mpeg2dec-0.4.0"
inherit autotools lib_package
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}
install -d ${STAGING_INCDIR}/mpeg2dec/
install -m 0644 include/mpeg2.h ${STAGING_INCDIR}/mpeg2dec/
install -m 0644 include/mpeg2convert.h ${STAGING_INCDIR}/mpeg2dec/
}
|