[Lunar-commits] <moonbase-other> mplayer2: Got tired of playing whack-a-patch with the official release.
stumbles
stumbles at lunar-linux.org
Mon May 27 01:35:18 CEST 2013
commit 722451ea5a322974eeddf7cc5720b4945e852e17
Author: stumbles <stumbles at lunar-linux.org>
Date: Sun, 26 May 2013 16:32:57 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/722451ea5a322974eeddf7cc5720b4945e852e17
mplayer2: Got tired of playing whack-a-patch with the official release.
It would have amounted to a huge patch using current git. So instead
for now we will use a git version till they catch up with us.
---
video/mplayer2/BUILD | +0/-24
video/mplayer2/CONFIGURE | +0/-1
video/mplayer2/DEPENDS | +22/-2
video/mplayer2/DETAILS | +4/-5
4 files changed, 26 insertions(+), 32 deletions(-)
--- a/video/mplayer2/BUILD
+++ b/video/mplayer2/BUILD
@@ -1,31 +1,7 @@
-(
-
- if in_depends $MODULE "DirectFB" ; then
- EXTRA_CFLAGS+=" -I/usr/include/directfb"
- fi
-
- if in_depends $MODULE "ffmpeg" ; then
- EXTRA_LIBS_MPLAYER+=" -lavutil -lavcodec -lavdevice -lavfilter -lavformat -lpostproc -lswscale"
- fi
-
- if in_depends $MODULE "fontconfig" ; then
- EXTRA_LIBS_MPLAYER+=" -lfontconfig"
- fi
-
- if in_depends $MODULE "libXext" ; then
- EXTRA_LIBS_MPLAYER+=" -lX11 -lXext"
- fi
-
- # Since live555 2012 the API has changed and mplayer2 haven't fixed it yet
- OPTS+=" --disable-live"
./configure --target=$BUILD \
--prefix=/usr \
--confdir=/etc \
- --extra-cflags="$EXTRA_CFLAGS" \
- --extra-libs-mplayer="$EXTRA_LIBS_MPLAYER" \
$OPTS &&
default_make
-
-) > $C_FIFO 2>&1
--- a/video/mplayer2/CONFIGURE
+++ b/video/mplayer2/CONFIGURE
@@ -1,2 +1 @@
-mquery FBDEV "Enable FBDev video output (framebuffer)?" n "--enable-fbdev" "--disable-fbdev"
mquery RADIO "Enable Radio support? (If you have any PC tuner)" n "--enable-radio --enable-radio-capture" ""
--- a/video/mplayer2/DEPENDS
+++ b/video/mplayer2/DEPENDS
@@ -1,3 +1,4 @@
+optional_depends "pulseaudio" "" "--disable-pulse" "for pulseaudio support"
optional_depends "DirectFB" "" "--disable-directfb" "for DirectFB video output"
optional_depends "SDL" "" "--disable-sdl" "for SDL video output"
optional_depends "libXext" "" "--disable-x11" "for X11 video output (simple)"
@@ -17,6 +18,25 @@ optional_depends "libtheora" "" "--disable-theora" "for OggTheora suppor
optional_depends "freetype2" "" "--disable-freetype" "for FreeType 2 font rendering"
optional_depends "fontconfig" "" "--disable-fontconfig" "for fontconfig font lookup"
optional_depends "libdvdread" "" "--disable-dvdread" "for dvdread support"
-optional_depends "libdvdnav" "--enable-dvdnav" "--disable-dvdnav" "for dvdnav support"
-optional_depends "live555" "" "--disable-live" "for LIVE555 Streaming Media support (RTP/RTSP)"
+optional_depends "libdvdnav" "" "--disable-dvdnav" "for dvdnav support"
+optional_depends "unrar" "" "--disable-unrarexec" "for unrar support"
+optional_depends "lcms2" "" "--disable-lcms2" "for color management support"
+optional_depends "libbs2b" "" "--disable-libbs2b" "for stereophonic-to-binaural support"
+optional_depends "ladspa_sdk" "" "--disable-ladspa" "for ladspa support"
optional_depends "cdparanoia" "" "--disable-cdparanoia" "for cdparanoia support"
+optional_depends "libdca" "" "--disable-libdca" "for DTS Coherent Acoustics support"
+optional_depends "a52dec" "" "--disable-liba52" "for ATSC A/52 stream support"
+optional_depends "mpg123" "" "--disable-mpg123" "for MPEG audio support"
+optional_depends "libcaca" "" "--disable-caca" "for text support"
+optional_depends "mjpegtools" "" "--disable-yuv4mpeg" "for MJPEG/MPEG support"
+optional_depends "jack" "" "--disable-jack" "for low-latency audio support"
+optional_depends "vcdimager" "" "--disable-vcd" "for VCD support"
+optional_depends "enca" "" "--disable-enca" "for character set detection"
+optional_depends "libcdio" "" "--disable-libcdio" "for CD input and control support"
+optional_depends "libass" "" "--disable-libass" "for SAA/ASS subtitles rendering support"
+
+# These two need the enable switch else configure will not use them.
+optional_depends "libmpcdec" "--enable-musepack" "--disable-musepack" "for Musepack decoder support"
+
+# Tanks make
+#optional_depends "openal" "--enable-openal" "--disable-openal" "for 3d audio support"
--- a/video/mplayer2/DETAILS
+++ b/video/mplayer2/DETAILS
@@ -1,13 +1,12 @@
MODULE=mplayer2
- VERSION=2.0
+ VERSION=2013-05-26
SOURCE=$MODULE-$VERSION.tar.bz2
- SOURCE_URL=http://ftp.mplayer2.org/pub/release
- SOURCE_VFY=sha1:f724ba14399c6444092516b9da89c14fbb2f6381
+ SOURCE_URL=$MIRROR_URL
+ SOURCE_VFY=sha1:6dcd215d354d37c044eb5a0e7f3fd1e9184e5c6e
WEB_SITE=http://www.mplayer2.org/
ENTERED=20110330
- UPDATED=20110330
+ UPDATED=20130526
SHORT="A movie and animation player"
-PSAFE=no
cat << EOF
MPlayer is a movie and animation player based on the 0.90pre5 version of
More information about the Lunar-commits
mailing list