summaryrefslogtreecommitdiff
path: root/mplayer/mplayer-w100_1.0pre3try2.oe
blob: 4b36ba09343c54c832bd86e5f75a5d3dc79d2228 (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
DESCRIPTION = "Open Source multimedia player."
SECTION = "opie/games"
PRIORITY = "optional"
DEPENDS = "libsdl-qpe libmad tremor-20030325 libogg libvorbis zlib libpng jpeg"

SRC_URI = "http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-${PV}.tar.bz2 \
			file://mplayer-w100_1.0pre3.1.modified.diff;patch=1 \
			file://Makefile.patch;patch=0 \
			file://Makefile-vidix.patch;patch=0 \
			file://sdl.patch;patch=0 \
			file://zlib.patch;patch=0 "
S = "${WORKDIR}/MPlayer-${PV}"

FILES_${PN} = " \
	/usr/local/bin/mplayer \
	/usr/local/lib/mplayer/vidix/w100_vid.so "

inherit autotools 

EXTRA_OECONF = " \
	--target=arm \
	\
	--disable-win32 \
	--disable-macosx \
	--disable-dvdread \
	--disable-mpdvdkit \
	--disable-tv \
	--disable-tv-v4l \
	--disable-tv-v4l2 \
	--disable-tv-bsdbt848 \
	--disable-mencoder \
	\
	--enable-dynamic-plugins \
	--enable-fbdev \
	--enable-vidix \
	--enable-sdl \
	--with-sdl-config=${STAGING_BINDIR}/sdl-config \
	\
	--enable-mad \
	--enable-tremor \
	--enable-vorbis \
	\
	--enable-ossaudio \
	\
	--with-extralibdir=${STAGING_LIBDIR} "

#	--enable-static \
#	--enable-live \
#	--with-livelibdir=/Projects/armbuild/live \
#	--host=${HOST} \
#	--cc=arm-linux-gcc \
#	--disable-dvdnav \

# CFLAGS += " -ljpeg -lpng -lts "

do_configure() {
	./configure ${EXTRA_OECONF}
}