summaryrefslogtreecommitdiff
path: root/mplayer
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2004-11-03 13:06:17 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2004-11-03 13:06:17 +0000
commit5914b6afcd1960fc3ab945be1b7fb1907dea8039 (patch)
tree97c88cb2549d7087d70953e160081285c031ad6a /mplayer
parentd833a1849de864766692b701296dfa0243ca402d (diff)
mplayer: enabled vidix for ATI W100 machines based on patch by Graeme Gregory (XorA on #oe)
BKrev: 4188d7c9b17wvAN74_uZfyppk70Hbw
Diffstat (limited to 'mplayer')
-rw-r--r--mplayer/mplayer_1.0pre3try2.oe124
1 files changed, 58 insertions, 66 deletions
diff --git a/mplayer/mplayer_1.0pre3try2.oe b/mplayer/mplayer_1.0pre3try2.oe
index 5f783cba2e..479a8350b8 100644
--- a/mplayer/mplayer_1.0pre3try2.oe
+++ b/mplayer/mplayer_1.0pre3try2.oe
@@ -3,37 +3,33 @@ SECTION = "opie/multimedia"
PRIORITY = "optional"
HOMEPAGE = "http://www.mplayerhq.hu/"
DEPENDS = "libsdl-qpe libmad tremor-20030325 libogg libvorbis zlib libpng jpeg"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-${PV}.tar.bz2 \
- file://Makefile.patch;patch=0 \
- file://sdl.patch;patch=0 \
- file://zlib.patch;patch=0 "
+ file://Makefile.patch;patch=0 \
+ file://sdl.patch;patch=0 \
+ file://zlib.patch;patch=0 "
DEPENDS_corgi += "sharp-aticore"
DEPENDS_shepherd += "sharp-aticore"
DEPENDS_husky += "sharp-aticore"
-DEPENDS_tosa += "sharp-aticore"
PACKAGE_ARCH_corgi = "${MACHINE}"
PACKAGE_ARCH_shepherd = "${MACHINE}"
PACKAGE_ARCH_husky = "${MACHINE}"
-PACKAGE_ARCH_tosa = "${MACHINE}"
SRC_URI_append_corgi = "file://mplayer-w100_1.0pre3.1.modified.diff;patch=1 \
- file://Makefile-vidix.patch;patch=0 "
-SRC_URI_shepherd += "file://mplayer-w100_1.0pre3.1.modified.diff;patch=1 \
- file://Makefile-vidix.patch;patch=0 "
-SRC_URI_husky += "file://mplayer-w100_1.0pre3.1.modified.diff;patch=1 \
- file://Makefile-vidix.patch;patch=0 "
-SRC_URI_tosa += "file://mplayer-w100_1.0pre3.1.modified.diff;patch=1 \
- file://Makefile-vidix.patch;patch=0 "
-
+ file://Makefile-vidix.patch;patch=0 "
+SRC_URI_append_shepherd = "file://mplayer-w100_1.0pre3.1.modified.diff;patch=1 \
+ file://Makefile-vidix.patch;patch=0 "
+SRC_URI_append_husky = "file://mplayer-w100_1.0pre3.1.modified.diff;patch=1 \
+ file://Makefile-vidix.patch;patch=0 "
+
S = "${WORKDIR}/MPlayer-${PV}"
PACKAGES =+ "postproc postproc-dev"
-FILES_${PN} = "/usr/bin/mplayer"
+FILES_${PN} = "/usr/bin/mplayer /usr/lib/mplayer/vidix/w100_vid.so"
FILES_postproc = " /usr/lib/libpostproc.so.0.0.0 /usr/lib/libpostproc.so.0"
FILES_postproc-dev = " /usr/include/postproc/postprocess.h /usr/lib/libpostproc.so /usr/lib/libpostproc.a"
@@ -41,63 +37,59 @@ FILES_postproc-dev = " /usr/include/postproc/postprocess.h /usr/lib/libpostproc.
inherit autotools
EXTRA_OECONF = " \
- --prefix=/usr \
- --target=${TARGET_ARCH} \
- --enable-shared-pp \
- \
- --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-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 \
-
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --target=${TARGET_ARCH} \
+ --enable-shared-pp \
+ \
+ --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-sdl \
+ --with-sdl-config=${STAGING_BINDIR}/sdl-config \
+ \
+ --enable-mad \
+ --enable-tremor \
+ --enable-vorbis \
+ \
+ --enable-ossaudio \
+ \
+ --with-extralibdir=${STAGING_LIBDIR} "
+
+EXTRA_OECONF_append_corgi = " --enable-vidix "
+EXTRA_OECONF_append_shepherd = " --enable-vidix "
+EXTRA_OECONF_append_husky = " --enable-vidix "
do_configure() {
- ./configure ${EXTRA_OECONF}
+ ./configure ${EXTRA_OECONF}
}
do_install_append () {
- mkdir ${D}/usr/lib
- cp ${S}/libavcodec/libpostproc/libpostproc.so ${D}/usr/lib/libpostproc.so.0.0.0
- mkdir ${D}/usr/include
- mkdir ${D}/usr/include/postproc
- cp ${S}/libavcodec/libpostproc/postprocess.h ${D}/usr/include/postproc/postprocess.h
- cd ${D}/usr/lib
- ln -sf libpostproc.so.0.0.0 libpostproc.so.0
- ln -sf libpostproc.so.0 libpostproc.so
+ install -d ${D}/${libdir} ${D}/usr/include ${D}/usr/include/postproc
+ install -m 0644 libavcodec/libpostproc/postprocess.h ${D}/usr/include/postproc/
+ cp ${S}/libavcodec/libpostproc/libpostproc.so ${D}/usr/lib/libpostproc.so.0.0.0
+ cd ${D}/usr/lib
+ ln -sf libpostproc.so.0.0.0 libpostproc.so.0
+ ln -sf libpostproc.so.0 libpostproc.so
+ oe_libinstall -so -C ${S}/libavcodec/libpostproc libpostproc ${D}/${libdir}
}
do_stage () {
- oe_libinstall -a -so -C libavcodec/libpostproc libpostproc ${STAGING_LIBDIR}
- cd ${STAGING_LIBDIR}
- ln -sf libpostproc.so libpostproc.so.0.0.0
- ln -sf libpostproc.so libpostproc.so.0
-
- install -d ${STAGING_INCDIR}/postproc
- install -m 0644 ${S}/libavcodec/libpostproc/postprocess.h ${STAGING_INCDIR}/postproc/postprocess.h
-}
+ oe_libinstall -a -so -C libavcodec/libpostproc libpostproc ${STAGING_LIBDIR}
+ cd ${STAGING_LIBDIR}
+ ln -sf libpostproc.so libpostproc.so.0.0.0
+ ln -sf libpostproc.so libpostproc.so.0
+
+ install -d ${STAGING_INCDIR}/postproc
+ install -m 0644 ${S}/libavcodec/libpostproc/postprocess.h ${STAGING_INCDIR}/postproc/postprocess.h
+}