summaryrefslogtreecommitdiff
path: root/packages/mplayer
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2005-04-18 14:35:05 +0000
committerGraeme Gregory <dp@xora.org.uk>2005-04-18 14:35:05 +0000
commit87d0242c1d407161aaf820c25a9b4d04cb8df7c5 (patch)
tree874dee9a6a6509aaecc708fb0da8bd16eff1ce2c /packages/mplayer
parent4cab60055da3f987a6ebdc7e0e03b8d253fa3fb3 (diff)
mplayer builds and runs, mplayer-atty cleaned up dependency and added an extra patch from svn
BKrev: 4263c599PhOlYGzDRLSu9LkXURBrCQ
Diffstat (limited to 'packages/mplayer')
-rw-r--r--packages/mplayer/mplayer-atty-1.0.1/dsputil.patch0
-rw-r--r--packages/mplayer/mplayer-atty_1.0.1.bb71
-rw-r--r--packages/mplayer/mplayer_1.0pre7.bb90
3 files changed, 161 insertions, 0 deletions
diff --git a/packages/mplayer/mplayer-atty-1.0.1/dsputil.patch b/packages/mplayer/mplayer-atty-1.0.1/dsputil.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/mplayer/mplayer-atty-1.0.1/dsputil.patch
diff --git a/packages/mplayer/mplayer-atty_1.0.1.bb b/packages/mplayer/mplayer-atty_1.0.1.bb
index e69de29bb2..68996bd68d 100644
--- a/packages/mplayer/mplayer-atty_1.0.1.bb
+++ b/packages/mplayer/mplayer-atty_1.0.1.bb
@@ -0,0 +1,71 @@
+DESCRIPTION = "Open Source multimedia player."
+SECTION = "opie/multimedia"
+PRIORITY = "optional"
+HOMEPAGE = "http://www.mplayerhq.hu/"
+DEPENDS = "virtual/libsdl libmad libogg libvorbis zlib libpng jpeg"
+LICENSE = "GPL"
+SRC_URI = "http://www.xora.org.uk/oe/mplayer-${PV}.tar.gz \
+ file://Makefile.patch;patch=1;pnum=0 \
+ file://sdl.patch;patch=1 \
+ file://Makefile-libs.patch;patch=1 \
+ file://dsputil.patch;patch=1"
+
+RCONFLICTS="mplayer"
+MAINTAINER="Graeme Gregory <dp@xora.org.uk>"
+
+PR = "r2"
+
+PARALLEL_MAKE = ""
+
+DEPENDS_append_c7x0 = " sharp-aticore-oss"
+PACKAGE_ARCH_c7x0 = "${MACHINE_ARCH}"
+PACKAGE_ARCH_akita = "${MACHINE_ARCH}"
+PACKAGE_ARCH_spitze = "${MACHINE_ARCH}"
+
+S = "${WORKDIR}/mplayer-${PV}"
+
+FILES_${PN} = "${bindir}/mplayer"
+
+inherit autotools
+
+EXTRA_OECONF = " \
+ --prefix=/usr \
+ --mandir=${mandir} \
+ --target=${TARGET_SYS} \
+ --enable-shared-pp \
+ \
+ --disable-win32 \
+ --disable-macosx \
+ --disable-dvdread \
+ --disable-mpdvdkit \
+ --disable-tv \
+ --disable-tv-v4l \
+ --disable-tv-v4l2 \
+ --disable-tv-bsdbt848 \
+ --disable-mencoder \
+ --disable-live \
+ \
+ --enable-dynamic-plugins \
+ --enable-fbdev \
+ --enable-sdl \
+ --with-sdl-config=${STAGING_BINDIR}/sdl-config \
+ \
+ --enable-mad \
+ --enable-vorbis \
+ \
+ --enable-ossaudio \
+ \
+ --enable-rtc \
+ --disable-ipp \
+ --disable-iwmmxt \
+ \
+ --with-extralibdir=${STAGING_LIBDIR} "
+
+EXTRA_OECONF_append_c7x0 = " --enable-w100"
+EXTRA_OECONF_append_akita = " --enable-bvdd"
+EXTRA_OECONF_append_spitz = " --enable-bvdd"
+
+do_configure() {
+ ./configure ${EXTRA_OECONF}
+}
+
diff --git a/packages/mplayer/mplayer_1.0pre7.bb b/packages/mplayer/mplayer_1.0pre7.bb
index e69de29bb2..c154cd2d2f 100644
--- a/packages/mplayer/mplayer_1.0pre7.bb
+++ b/packages/mplayer/mplayer_1.0pre7.bb
@@ -0,0 +1,90 @@
+DESCRIPTION = "Open Source multimedia player."
+SECTION = "opie/multimedia"
+PRIORITY = "optional"
+HOMEPAGE = "http://www.mplayerhq.hu/"
+DEPENDS = "virtual/libsdl libmad libogg libvorbis zlib libpng jpeg"
+LICENSE = "GPL"
+SRC_URI = "http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-${PV}.tar.bz2 \
+ file://Makefile.patch;patch=1 \
+ file://sdl.patch;patch=0 \
+ file://zlib.patch;patch=0 "
+MAINTAINER="Graeme Gregory <dp@xora.org.uk>"
+RCONFLICTS="mplayer-atty"
+PR = "r0"
+
+PARALLEL_MAKE = ""
+
+DEPENDS_append_c7x0 = " sharp-aticore-oss"
+PACKAGE_ARCH_c7x0 = "${MACHINE_ARCH}"
+SRC_URI_append_c7x0 = "file://mplayer-w100_1.0pre3.1.modified.diff;patch=1 \
+ file://Makefile-vidix.patch;patch=0 \
+ file://vidix-drivers-w100.patch;patch=1 "
+
+S = "${WORKDIR}/MPlayer-${PV}"
+
+PACKAGES =+ "postproc postproc-dev"
+
+FILES_${PN} = "${bindir}/mplayer ${libdir}/mplayer/vidix/w100_vid.so"
+
+FILES_postproc = " ${libdir}/libpostproc.so.0.0.0 ${libdir}/libpostproc.so.0"
+FILES_postproc-dev = " ${includedir}/postproc/postprocess.h ${libdir}/libpostproc.so ${libdir}/libpostproc.a"
+
+inherit autotools
+
+EXTRA_OECONF = " \
+ --prefix=/usr \
+ --mandir=${mandir} \
+ --target=${TARGET_SYS} \
+ --enable-shared-pp \
+ \
+ --disable-win32 \
+ --disable-macosx \
+ --disable-dvdread \
+ --disable-mpdvdkit \
+ --disable-tv \
+ --disable-tv-v4l \
+ --disable-tv-v4l2 \
+ --disable-tv-bsdbt848 \
+ --disable-mencoder \
+ --disable-live \
+ \
+ --enable-dynamic-plugins \
+ --enable-fbdev \
+ --enable-sdl \
+ --with-sdl-config=${STAGING_BINDIR}/sdl-config \
+ \
+ --enable-mad \
+ --enable-vorbis \
+ \
+ --enable-ossaudio \
+ \
+ --enable-rtc \
+ \
+ --with-extralibdir=${STAGING_LIBDIR} "
+
+EXTRA_OECONF_append_c7x0 = " --enable-vidix "
+
+do_configure() {
+ ./configure ${EXTRA_OECONF}
+}
+
+do_install_append () {
+ install -d ${D}${libdir} ${D}${includedir} ${D}${includedir}/postproc
+ install -m 0644 libavcodec/libpostproc/postprocess.h ${D}${includedir}/postproc/
+ oe_libinstall -so -C ${S}/libavcodec/libpostproc libpostproc ${D}${libdir}
+ cp ${S}/libavcodec/libpostproc/libpostproc.so ${D}${libdir}/libpostproc.so.0.0.0
+ cd ${D}${libdir}
+ ln -sf libpostproc.so.0.0.0 libpostproc.so.0
+ ln -sf libpostproc.so.0 libpostproc.so
+}
+
+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
+}
+