summaryrefslogtreecommitdiff
path: root/mplayer
diff options
context:
space:
mode:
authorTim Ansell <mithro@mithis.com>2004-09-24 12:56:39 +0000
committerTim Ansell <mithro@mithis.com>2004-09-24 12:56:39 +0000
commitc9763529cff3cf381608b22250de282220887eed (patch)
treeea151d99f0c1523cf7af676f4cde5c5833b8a625 /mplayer
parent94af4cbac737ce5e035f03924bbf5f1ca4931c95 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into mithis.com:/cc/packages 2004/09/24 22:25:17+09:30 mithis.com!mithro Moved it back into working because it compiles and works. BKrev: 415419876Cz_qiJqEaL8I0sgCy6CTA
Diffstat (limited to 'mplayer')
-rw-r--r--mplayer/mplayer-1.0pre3try2/Makefile.patch22
-rw-r--r--mplayer/mplayer-1.0pre3try2/zlib.patch17
-rw-r--r--mplayer/mplayer_1.0pre3try2.oe54
3 files changed, 93 insertions, 0 deletions
diff --git a/mplayer/mplayer-1.0pre3try2/Makefile.patch b/mplayer/mplayer-1.0pre3try2/Makefile.patch
new file mode 100644
index 0000000000..eb9a07d4f8
--- /dev/null
+++ b/mplayer/mplayer-1.0pre3try2/Makefile.patch
@@ -0,0 +1,22 @@
+--- ./Makefile~Makefile.patch 2003-12-09 08:03:31.000000000 +1030
++++ ./Makefile 2004-09-24 02:08:50.000000000 +0930
+@@ -10,10 +10,6 @@
+ PRG_CFG = codec-cfg
+ PRG_MENCODER = mencoder
+
+-# Do not strip the binaries at installation
+-ifeq ($(STRIPBINARIES),yes)
+-INSTALLSTRIP = -s
+-endif
+
+ # These subdirectories require installation due to binaries within them.
+ ifeq ($(VIDIX),yes)
+@@ -246,7 +242,7 @@
+ $(MENCODER_DEP): version.h
+
+ $(PRG_CFG): version.h codec-cfg.c codec-cfg.h
+- $(CC) $(CFLAGS) -g codec-cfg.c mp_msg.c -o $(PRG_CFG) -DCODECS2HTML $(EXTRA_LIB) $(I18NLIBS)
++ $(BUILD_CC) $(CFLAGS) -g codec-cfg.c mp_msg.c -o $(PRG_CFG) -DCODECS2HTML $(EXTRA_LIB) $(I18NLIBS)
+
+ install: $(ALL_PRG)
+ ifeq ($(VIDIX),yes)
diff --git a/mplayer/mplayer-1.0pre3try2/zlib.patch b/mplayer/mplayer-1.0pre3try2/zlib.patch
new file mode 100644
index 0000000000..6e0918d8ed
--- /dev/null
+++ b/mplayer/mplayer-1.0pre3try2/zlib.patch
@@ -0,0 +1,17 @@
+--- ./configure.old 2004-09-24 01:03:55.000000000 +0930
++++ ./configure 2004-09-24 01:04:18.000000000 +0930
+@@ -4313,13 +4313,7 @@
+ echores "$_fribidi"
+
+
+-echocheck "zlib"
+-cat > $TMPC << EOF
+-#include <zlib.h>
+-int main(void) { (void) inflate(0, Z_NO_FLUSH); return 0; }
+-EOF
+-_zlib=no
+-cc_check -lz && _zlib=yes
++_zlib=yes
+ if test "$_zlib" = yes ; then
+ _def_zlib='#define HAVE_ZLIB 1'
+ _ld_zlib='-lz'
diff --git a/mplayer/mplayer_1.0pre3try2.oe b/mplayer/mplayer_1.0pre3try2.oe
new file mode 100644
index 0000000000..ac3f6029e2
--- /dev/null
+++ b/mplayer/mplayer_1.0pre3try2.oe
@@ -0,0 +1,54 @@
+DESCRIPTION = "Open Source multimedia player."
+SECTION = "opie/games"
+PRIORITY = "optional"
+DEPENDS = "libsdl-qpe libmad tremor-20030325 libogg libvorbis zlib"
+
+SRC_URI = "http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-${PV}.tar.bz2 \
+ file://Makefile.patch;patch=0 \
+ file://zlib.patch;patch=0 "
+S = "${WORKDIR}/MPlayer-${PV}"
+
+FILES_${PN} = " \
+ /usr/local/bin/mplayer \
+ /usr/local/man/man1/mplayer.1 "
+
+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-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 \
+
+
+do_configure() {
+ ./configure ${EXTRA_OECONF}
+}
+