1 DESCRIPTION = "Open Source multimedia player."
2 SECTION = "opie/multimedia"
4 HOMEPAGE = "http://www.mplayerhq.hu/"
5 DEPENDS = "virtual/libsdl libmad libogg libvorbis zlib libpng jpeg"
7 SRC_URI = "http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-${PV}.tar.bz2 \
8 file://Makefile.patch;patch=1 \
9 file://sdl.patch;patch=0 \
10 file://zlib.patch;patch=0 \
11 file://libmpdemux-ogg-include.patch;patch=1 \
12 file://libmpcodecs-ogg-include.patch;patch=1 \
13 file://go-mad.patch;patch=1 "
14 MAINTAINER="Graeme Gregory <dp@xora.org.uk>"
15 RCONFLICTS_${PN} = "mplayer-atty"
20 DEPENDS_append_c7x0 = " sharp-aticore-oss"
21 PACKAGE_ARCH_c7x0 = "${MACHINE_ARCH}"
22 SRC_URI_append_c7x0 = "file://mplayer-w100_1.0pre3.1.modified.diff;patch=1 \
23 file://Makefile-vidix.patch;patch=0 \
24 file://vidix-drivers-w100.patch;patch=1 "
26 S = "${WORKDIR}/MPlayer-${PV}"
28 PACKAGES =+ "postproc postproc-dev"
30 FILES_${PN} = "${bindir}/mplayer ${libdir}/mplayer/vidix/w100_vid.so"
32 FILES_postproc = " ${libdir}/libpostproc.so.0.0.0 ${libdir}/libpostproc.so.0"
33 FILES_postproc-dev = " ${includedir}/postproc/postprocess.h ${libdir}/libpostproc.so ${libdir}/libpostproc.a"
40 --target=${TARGET_SYS} \
50 --disable-tv-bsdbt848 \
55 --enable-dynamic-plugins \
58 --with-sdl-config=${STAGING_BINDIR}/sdl-config \
68 --with-extralibdir=${STAGING_LIBDIR} "
70 EXTRA_OECONF_append_c7x0 = " --enable-vidix "
73 ./configure ${EXTRA_OECONF}
76 do_install_append () {
77 install -d ${D}${libdir} ${D}${includedir} ${D}${includedir}/postproc
78 install -m 0644 libavcodec/libpostproc/postprocess.h ${D}${includedir}/postproc/
79 oe_libinstall -so -C ${S}/libavcodec/libpostproc libpostproc ${D}${libdir}
80 cp ${S}/libavcodec/libpostproc/libpostproc.so ${D}${libdir}/libpostproc.so.0.0.0
82 ln -sf libpostproc.so.0.0.0 libpostproc.so.0
83 ln -sf libpostproc.so.0 libpostproc.so
87 oe_libinstall -a -so -C libavcodec/libpostproc libpostproc ${STAGING_LIBDIR}
89 ln -sf libpostproc.so libpostproc.so.0.0.0
90 ln -sf libpostproc.so libpostproc.so.0
92 install -d ${STAGING_INCDIR}/postproc
93 install -m 0644 ${S}/libavcodec/libpostproc/postprocess.h ${STAGING_INCDIR}/postproc/postprocess.h