summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@systec-electronic.com>2011-03-22 10:04:30 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-03-23 10:58:37 +0100
commit31770aaa4066409d0ec577603f5331c80d3817f5 (patch)
treeb03bf06d40b86144fd13c1c7a3bfdfb21d3feda1
parentb12242276cc1dffee173ace54cd0f1763118b318 (diff)
downloadptxdist-31770aaa4066409d0ec577603f5331c80d3817f5.tar.gz
ptxdist-31770aaa4066409d0ec577603f5331c80d3817f5.tar.xz
mplayer: Version bump to 1.0rc4
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/mplayer.in6
-rw-r--r--rules/mplayer.make119
2 files changed, 82 insertions, 43 deletions
diff --git a/rules/mplayer.in b/rules/mplayer.in
index 7956ddf4d..aecc9e1ce 100644
--- a/rules/mplayer.in
+++ b/rules/mplayer.in
@@ -5,9 +5,9 @@ menuconfig MPLAYER
select LIBC_M
select GCCLIBS_GCC_S
select ZLIB
- select LIBJPEG if MPLAYER_VO_JPEG
select XORG_LIB_XV if MPLAYER_VO_XV
select XORG_LIB_X11 if MPLAYER_VO_X11
+ select LIBJPEG if MPLAYER_CODEC_JPEG
prompt "mplayer "
help
The Ultimate Movie Player For Linux
@@ -72,6 +72,10 @@ menuconfig MPLAYER_CODEC
if MPLAYER_CODEC
+config MPLAYER_CODEC_JPEG
+ bool
+ prompt "jpeg"
+
config MPLAYER_CODEC_MPEG2
bool
prompt "mpeg2"
diff --git a/rules/mplayer.make b/rules/mplayer.make
index 3dfc727dc..cf9293120 100644
--- a/rules/mplayer.make
+++ b/rules/mplayer.make
@@ -17,7 +17,7 @@ PACKAGES-$(PTXCONF_MPLAYER) += mplayer
#
# Paths and names
#
-MPLAYER_VERSION := 1.0rc2
+MPLAYER_VERSION := 1.0rc4
MPLAYER := MPlayer-$(MPLAYER_VERSION)
MPLAYER_SUFFIX := tar.bz2
MPLAYER_URL := http://www.mplayerhq.hu/MPlayer/releases/$(MPLAYER).$(MPLAYER_SUFFIX)
@@ -55,10 +55,7 @@ MPLAYER_AUTOCONF := \
--ranlib=$(CROSS_RANLIB) \
--language=en \
--target=$(PTXCONF_GNU_TARGET) \
- --with-extraincdir=$(SYSROOT)/usr/include \
- --with-extralibdir=$(SYSROOT)/usr/lib \
- --with-extraincdir=$(SYSROOT)/include \
- --with-extralibdir=$(SYSROOT)/lib \
+ --extra-cflags='$(CROSS_CPPFLAGS)' \
--extra-libs='$(CROSS_LDFLAGS)'
ifdef PTXCONF_ICONV
@@ -71,35 +68,41 @@ endif
# video out
#
MPLAYER_AUTOCONF += \
- --disable-vidix-internal \
- --disable-vidix-external \
+ --disable-vidix \
+ --disable-vidix-pcidb \
+ --disable-dhahelper \
+ --disable-svgalib_helper \
--disable-gl \
+ --disable-matrixview \
--disable-dga2 \
--disable-dga1 \
--disable-vesa \
--disable-svga \
--disable-sdl \
+ --disable-kva \
--disable-aa \
--disable-caca \
--disable-ggi \
--disable-ggiwmh \
+ --disable-direct3d \
--disable-directx \
--disable-dxr2 \
--disable-dxr3 \
--disable-ivtv \
+ --disable-v4l2 \
--disable-dvb \
- --disable-dvbhead \
--disable-mga \
--disable-xmga \
--disable-xvmc \
+ --disable-vdpau \
--disable-vm \
--disable-xinerama \
- --disable-x11 \
--disable-xshape \
--disable-mlib \
--disable-3dfx \
--disable-tdfxfb \
--disable-s3fb \
+ --disable-wii \
--disable-directfb \
--disable-zr \
--disable-bl \
@@ -107,7 +110,10 @@ MPLAYER_AUTOCONF += \
--disable-xvr100 \
--disable-tga \
--disable-pnm \
- --disable-md5sum
+ --disable-md5sum \
+ --disable-yuv4mpeg \
+ --disable-corevideo \
+ --disable-quartz
#
# optional features
#
@@ -117,7 +123,6 @@ MPLAYER_AUTOCONF += \
--disable-gui \
--disable-gtk1 \
--disable-largefiles \
- --disable-linux-devfs \
--disable-termcap \
--disable-termios \
--disable-langinfo \
@@ -125,6 +130,7 @@ MPLAYER_AUTOCONF += \
--disable-lircc \
--disable-joystick \
--disable-apple-remote \
+ --disable-apple-ir \
--disable-vm \
--disable-xf86keysym \
--disable-radio \
@@ -132,47 +138,49 @@ MPLAYER_AUTOCONF += \
--disable-radio-v4l2 \
--disable-radio-bsdbt848 \
--disable-tv-bsdbt848 \
- --disable-tv-teletext \
--disable-pvr \
--disable-rtc \
--disable-network \
- --disable-winsock2 \
+ --disable-winsock2_h \
--disable-smb \
--disable-live \
--disable-nemesi \
+ --disable-librtmp \
+ --disable-vcd \
+ --disable-bluray \
--disable-dvdnav \
--disable-dvdread \
--disable-dvdread-internal \
--disable-libdvdcss-internal \
--disable-cdparanoia \
--disable-cddb \
- --disable-bitmap-font \
--disable-freetype \
--disable-fontconfig \
- --disable-unrarlib \
+ --disable-unrarexec \
--disable-menu \
--disable-sortsub \
--disable-fribidi \
--disable-enca \
- --disable-macosx \
--disable-maemo \
- --disable-macosx-finder-support \
+ --disable-macosx-finder \
--disable-macosx-bundle \
--disable-inet6 \
--disable-gethostbyname2 \
--disable-ftp \
--disable-vstream \
- --disable-pthreads \
--disable-w32threads \
+ --disable-ass-internal \
--disable-ass \
--disable-rpath
+
+# --disable-bitmap-font \
+
#
# codecs
#
MPLAYER_AUTOCONF += \
--disable-gif \
--disable-png \
- --disable-jpeg \
--disable-libcdio \
--disable-liblzo \
--disable-win32dll \
@@ -180,23 +188,34 @@ MPLAYER_AUTOCONF += \
--disable-xanim \
--disable-real \
--disable-xvid \
+ --disable-xvid-lavc \
--disable-x264 \
+ --disable-x264-lavc \
+ --disable-libdirac-lavc \
+ --disable-libschroedinger-lavc \
+ --disable-libvpx-lavc \
--disable-libnut \
--disable-libpostproc_a \
--disable-libpostproc_so \
--disable-tremor-internal \
--disable-tremor-low \
- --disable-tremor-external \
+ --disable-tremor \
--disable-libvorbis \
--disable-speex \
+ --disable-libgsm \
--disable-theora \
- --disable-faad-external \
+ --disable-faad \
--disable-faad-internal \
--disable-faad-fixed \
--disable-faac \
+ --disable-faac-lavc \
--disable-ladspa \
+ --disable-libbs2b \
--disable-libdv \
+ --disable-mpg123 \
--disable-mad \
+ --disable-mp3lame \
+ --disable-mp3lame-lavc \
--disable-toolame \
--disable-twolame \
--disable-xmms \
@@ -204,15 +223,18 @@ MPLAYER_AUTOCONF += \
--disable-mp3lib \
--disable-liba52 \
--disable-musepack \
- --disable-libamr_nb \
- --disable-libamr_wb
+ --disable-libopencore_amrnb \
+ --disable-libopencore_amrwb \
+ --disable-libopenjpeg
# --disable-libavutil_a \
# --disable-libavcodec_a \
# --disable-libavformat_a \
+# --disable-libswscale_a \
# --disable-libavutil_so \
# --disable-libavcodec_so \
# --disable-libavformat_so \
+# --disable-libswscale_so \
# --disable-libavcodec_mpegaudio_hp \
#
@@ -223,13 +245,16 @@ MPLAYER_AUTOCONF += \
--disable-ossaudio \
--disable-arts \
--disable-esd \
- --disable-polyp \
+ --disable-pulse \
--disable-jack \
--disable-openal \
--disable-nas \
--disable-sgiaudio \
--disable-sunaudio \
+ --disable-kai \
+ --disable-dart \
--disable-win32waveout \
+ --disable-coreaudio \
--disable-select
#
@@ -246,7 +271,11 @@ MPLAYER_AUTOCONF += \
--disable-shm \
--disable-altivec \
--disable-armv5te \
+ --disable-armv6t2 \
+ --disable-armvfp \
+ --disable-neon \
--disable-fastmemcpy \
+ --disable-hardcoded-tables \
--disable-big-endian \
--disable-debug \
--disable-profile \
@@ -254,21 +283,20 @@ MPLAYER_AUTOCONF += \
--disable-crash-debug \
--disable-dynamic-plugins
-# Use these options if autodetection fails (Options marked with (*) accept
-# multiple paths separated by ':'):
-# --extra-libs=FLAGS extra linker flags
-# --extra-libs-mplayer=FLAGS extra linker flags for MPlayer
-# --extra-libs-mencoder=FLAGS extra linker flags for MEncoder
-# --with-extraincdir=DIR extra header search paths in DIR (*)
-# --with-extralibdir=DIR extra linker search paths in DIR (*)
-# --with-xvmclib=NAME adapter-specific library name (e.g. XvMCNVIDIA)
+#Use these options if autodetection fails:
+# --extra-cflags=FLAGS extra CFLAGS
+# --extra-ldflags=FLAGS extra LDFLAGS
+# --extra-libs=FLAGS extra linker flags
+# --extra-libs-mplayer=FLAGS extra linker flags for MPlayer
+# --extra-libs-mencoder=FLAGS extra linker flags for MEncoder
+# --with-xvmclib=NAME adapter-specific library name (e.g. XvMCNVIDIA)
#
-# --with-freetype-config=PATH path to freetype-config
-# --with-fribidi-config=PATH path to fribidi-config
-# --with-glib-config=PATH path to glib*-config
-# --with-gtk-config=PATH path to gtk*-config
-# --with-sdl-config=PATH path to sdl*-config
-# --with-dvdnav-config=PATH path to dvdnav-config
+# --with-freetype-config=PATH path to freetype-config
+# --with-glib-config=PATH path to glib*-config
+# --with-gtk-config=PATH path to gtk*-config
+# --with-sdl-config=PATH path to sdl*-config
+# --with-dvdnav-config=PATH path to dvdnav-config
+# --with-dvdread-config=PATH path to dvdread-config
#
# Configurable Video Inputs
@@ -308,10 +336,11 @@ else
MPLAYER_AUTOCONF += --disable-fbdev
endif
-# enable tv if any of the tv options are on
+# enable tv and pthreads if any of the tv options are on
ifeq ($(or $(PTXCONF_MPLAYER_VI_V4L1),$(PTXCONF_MPLAYER_VI_V4L2)),)
-MPLAYER_AUTOCONF += --disable-tv
+MPLAYER_AUTOCONF += --disable-tv --disable-pthreads
else
+# Don't enable pthread explicitly. The correct library will not be detected
MPLAYER_AUTOCONF += --enable-tv
endif
@@ -319,10 +348,16 @@ endif
#
# Configurable Codecs
#
+ifdef PTXCONF_MPLAYER_CODEC_JPEG
+MPLAYER_AUTOCONF += --enable-jpeg
+else
+MPLAYER_AUTOCONF += --disable-jpeg
+endif
+
ifdef PTXCONF_MPLAYER_CODEC_MPEG2
-MPLAYER_AUTOCONF += --enable-libmpeg2
+MPLAYER_AUTOCONF += --enable-libmpeg2 --enable-libmpeg2-internal
else
-MPLAYER_AUTOCONF += --disable-libmpeg2
+MPLAYER_AUTOCONF += --disable-libmpeg2 --disable-libmpeg2-internal
endif
#