blob: 9c66221f571309138bef6f237573233862a306f7 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
DESCRIPTION = "Open Source multimedia player."
SECTION = "opie/multimedia"
PRIORITY = "optional"
HOMEPAGE = "http://www.mplayerhq.hu/"
DEPENDS = "virtual/libsdl libmad zlib libpng jpeg mplayer-common"
RDEPENDS = "mplayer-common"
LICENSE = "GPL"
SRC_URI = "http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-${PV}.tar.bz2 \
file://vo_w100.c \
file://vo_w100_api.h \
file://vo_w100_fb.h \
file://Makefile.patch;patch=1 \
file://w100-configure.patch;patch=1 \
file://w100-Makefile.patch;patch=1 \
file://w100-video_out.patch;patch=1 \
file://w100-mplayer.patch;patch=1 \
file://libmpdemux-ogg-include.patch;patch=1 \
file://libmpcodecs-ogg-include.patch;patch=1"
MAINTAINER="Graeme Gregory <dp@xora.org.uk>"
RCONFLICTS_${PN} = "mplayer-atty"
RREPLACES_${PN} = "mplayer-atty"
PR = "r0"
PARALLEL_MAKE = ""
DEPENDS_append_c7x0 = " sharp-aticore-oss"
S = "${WORKDIR}/MPlayer-${PV}"
PACKAGES =+ "mencoder"
FILES_${PN} = "${bindir}/mplayer"
FILES_mencoder = "${bindir}/mencoder"
inherit autotools
EXTRA_OECONF = " \
--prefix=/usr \
--mandir=${mandir} \
--target=${TARGET_SYS} \
\
--enable-mencoder \
--disable-gui \
--enable-largefiles \
--disable-linux-devfs \
--disable-lirc \
--disable-lircc \
--disable-tv \
--enable-rtc \
--disable-smb \
--disable-win32 \
\
--enable-tremor-low \
--disable-mp3lib \
\
--disable-x11 \
--enable-sdl \
--enable-fbdev "
EXTRA_OECONF_append_c7x0 = " --enable-w100 "
do_configure() {
cp ${WORKDIR}/vo_w100.c ${S}/libvo
cp ${WORKDIR}/vo_w100_api.h ${S}/libvo
cp ${WORKDIR}/vo_w100_fb.h ${S}/libvo
./configure ${EXTRA_OECONF}
}
do_compile () {
oe_runmake
}
|