Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting8.git;a=commitdiff;h=a5e6c1fdc6d50932a27f0059703fd077fca8f099

commit a5e6c1fdc6d50932a27f0059703fd077fca8f099
Author: James Buren <[email protected]>
Date:   Tue Oct 30 06:40:08 2012 -0500

mplayer-1.1-4-x86_64
* rebuild with libvdpau/libcrystalhd enabled
* rework depends similar to ffmpeg
* condense depends to minimum required to not lose features

diff --git a/source/xapps/mplayer/FrugalBuild b/source/xapps/mplayer/FrugalBuild
index 8a98cf6..d33430b 100644
--- a/source/xapps/mplayer/FrugalBuild
+++ b/source/xapps/mplayer/FrugalBuild
@@ -9,18 +9,16 @@ _F_archive_name=MPlayer
pkgver=1.1
Fuse $USE_DEVEL && pkgver=1.0rc2.29962
pkgextraver=.29962
-pkgrel=3
+pkgrel=4
Fuse $USE_DEVEL && pkgrel=1
pkgdesc="The Movie Player"
url="http://www.mplayerhq.hu/";
-depends=('libxml2>=2.8.0' 'libgl' 'fontconfig' 'libstdc++' 'libdv' 'ncurses' 
'libjpeg' 'libmad' \
-        'libungif' 'xvidcore' 'libpng' 'sdl' 'lame' 'libxv' 'lzo' 'libsm' 
'amrnb' 'amrwb' \
-        'libxinerama' 'libtheora' 'cdparanoia' 'libxxf86dga' 'gtk+2>=2.24.10' \
-        'x264>=20120904' 'dejavu-ttf' 'openal>=1.14' 'vidix' 'opencore-amr' 
'aalib' \
-        'pulseaudio>=2.1' 'gdbm>=1.10' 'faad2' 'libbluray')
+depends=('libgif' 'libbluray' 'cdparanoia' 'lzo' 'libmad' 'speex' 'libtheora'
+       'a52dec' 'faad2' 'rtmpdump' 'opencore-amr' 'libdv' 'libcrystalhd'
+       'xvidcore' 'libvpx' 'libvdpau' 'libxxf86dga' 'aalib' 'libpulse' 'openal'
+       'faac' 'x264' 'lame' 'gtk+2' 'liblirc' 'codecs' 'v4l-utils' 'gsm')
+
makedepends=('yasm')
-[ "$CARCH" == "i686" ] && depends=(${depends[@]} 'codecs')
-depends=(${depends[@]} 'liblirc')
groups=('xapps')
backup=('etc/mplayer/mplayer.conf')
conflicts=('mplayer2')
@@ -33,14 +31,16 @@ 
source=(http://www.mplayerhq.hu/MPlayer/releases/$_F_archive_name-$pkgver.tar.xz
http://www.mplayerhq.hu/MPlayer/releases/fonts/font-arial-cp1250.tar.bz2 \
http://www.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2 \
http://www.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-2.tar.bz2 \
-       
http://www.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-7.tar.bz2)
+       
http://www.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-7.tar.bz2 \
+       fixes.patch)

sha1sums=('913a4bbeab7cbb515c2f43ad39bc83071b2efd75' \
'0250d0b468b36ee13f160a814297afcb77f97e1d' \
'ccf11dce5d0fb72fd3af97f788b7471cd0cd0b68' \
'152c40bf20de34aa8802d7f80d34d673b0b67212' \
'7b99bbe0e9ba89a57eccbea8f93c453c4f268181' \
-          '2a3fa8cf54ec3ed4dfa1a0e72f2d207c13507b9d')
+          '2a3fa8cf54ec3ed4dfa1a0e72f2d207c13507b9d' \
+          '6c8ff311799b01ab74b611420ff9ca08695bd01a')

if Fuse $USE_DEVEL; then
source=(${source[1]} ${source[2]} ${source[3]} ${source[4]} ${source[5]})
@@ -55,8 +55,7 @@ fi

subpkgs=('mencoder')
subdescs=('The Movie Encoder')
-subdepends=('x264>=20120213 lame libpng>=1.4.1 libjpeg>=8a libgif alsa-lib 
cdparanoia fontconfig lzo libmad libtheora libstdc++ opencore-amr libdv 
xvidcore libxcb')
-subdepends[0]="${subdepends[0]} liblirc"
+subrodepends=("${depends[*]}")
subgroups=('xmultimedia')
subarchs=('i686 x86_64')
suboptions=('force')
@@ -76,8 +75,7 @@ build()

Fmake --confdir=/etc/mplayer --enable-gui --language=all \
--enable-runtime-cpudetection --enable-liblzo \
-               --enable-mga --enable-xmga --enable-tdfxfb \
-               --enable-debug
+               --enable-mga --enable-xmga --enable-tdfxfb
unset MAKEFLAGS
make DESTDIR=$Fdestdir install || Fdie
Fmkdir /usr/share/doc/$pkgname-$pkgver
@@ -107,6 +105,7 @@ build()
cd $Fdestdir
for i in usr/share/man/*/man1/mencoder.1
do
+               [ ! -f "$i" ] && continue
Fsplit mencoder $i
done
}
diff --git a/source/xapps/mplayer/fixes.patch b/source/xapps/mplayer/fixes.patch
new file mode 100644
index 0000000..d72a5b8
--- /dev/null
+++ b/source/xapps/mplayer/fixes.patch
@@ -0,0 +1,12 @@
+diff -ur a/stream/tvi_v4l.c b/stream/tvi_v4l.c
+--- a/stream/tvi_v4l.c 2011-06-26 09:42:35.000000000 -0500
++++ b/stream/tvi_v4l.c 2012-10-30 05:29:45.196872032 -0500
+@@ -31,6 +31,8 @@
+  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+  */
+
++#define BASE_VIDIOCPRIVATE 192
++
+ #include "config.h"
+
+ #include <stdio.h>
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to