From 66c2e4229b76e11c798f2897555beae76a056cbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Thu, 10 Feb 2011 10:03:33 -0300 Subject: mplayer-libre-32792-1 --- libre/mplayer-libre/PKGBUILD | 60 ++++++++++++++++++++++++++++++++++++ libre/mplayer-libre/mplayer.desktop | 21 +++++++++++++ libre/mplayer-libre/mplayer.png | Bin 0 -> 1982 bytes 3 files changed, 81 insertions(+) create mode 100644 libre/mplayer-libre/PKGBUILD create mode 100644 libre/mplayer-libre/mplayer.desktop create mode 100644 libre/mplayer-libre/mplayer.png (limited to 'libre') diff --git a/libre/mplayer-libre/PKGBUILD b/libre/mplayer-libre/PKGBUILD new file mode 100644 index 000000000..2d988c976 --- /dev/null +++ b/libre/mplayer-libre/PKGBUILD @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer : Ionut Biru +# Contributor: Hugo Doria +# Maintainer for Parabola GNU/Linux: Omar Botta + +pkgname=mplayer-libre +pkgver=32792 +pkgrel=1 +pkgdesc="A movie player for linux. Libre version without faac." +arch=('i686' 'x86_64') +depends=('libxxf86dga' 'libxxf86vm' 'libmad' 'cdparanoia' 'libxinerama' 'sdl' 'lame' 'libtheora' 'xvidcore' 'libmng' 'libxss' + 'libgl' 'smbclient' 'aalib' 'jack' 'libcaca' 'x264' 'lirc-utils' 'ttf-dejavu' 'libxvmc' 'enca' 'libvdpau>=0.4' + 'opencore-amr' 'libdca' 'a52dec' 'schroedinger' 'libvpx' 'libpulse' 'speex') +license=('GPL') +url="http://www.mplayerhq.hu/" +makedepends=('unzip' 'mesa' 'live-media>=2010.01.13' 'yasm') +backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf') +source=(ftp://ftp.archlinux.org/other/${pkgname%-libre}/${pkgname%-libre}-${pkgver}.tar.xz mplayer.desktop mplayer.png) +provides=("mplayer=$pkgver") +conflicts=('mplayer') +replaces=("mplayer=$pkgver") + +build() { + # Custom CFLAGS break the mplayer build + unset CFLAGS LDFLAGS + + cd ${srcdir}/${pkgname%-libre} + + ./configure --prefix=/usr \ + --enable-runtime-cpudetection \ + --disable-gui \ + --disable-arts \ + --disable-liblzo \ + --enable-speex \ + --disable-openal \ + --disable-fribidi \ + --disable-libdv \ + --disable-musepack \ + --disable-esd \ + --disable-mga \ + --disable-faac \ + --enable-xvmc \ + --language=all \ + --confdir=/etc/mplayer + + [ "$CARCH" = "i686" ] && sed 's|-march=i486|-march=i686|g' -i config.mak + + make + make -j1 DESTDIR=${pkgdir} install + install -Dm644 etc/{codecs.conf,input.conf,example.conf} ${pkgdir}/etc/mplayer/ + install -dm755 ${pkgdir}/usr/share/mplayer/ + ln -s /usr/share/fonts/TTF/DejaVuSans.ttf ${pkgdir}/usr/share/mplayer/subfont.ttf + rm -rf ${pkgdir}/usr/share/mplayer/font + #desktop file FS#14770 + install -Dm644 ${srcdir}/mplayer.desktop ${pkgdir}/usr/share/applications/mplayer.desktop + install -Dm644 ${srcdir}/mplayer.png ${pkgdir}/usr/share/pixmaps/mplayer.png +} +md5sums=('a48845de4b410ab7799ee87a038dd58e' + 'c0d6ef795cf6de48e3b87ff7c23f0319' + 'd00874ccc644b7f43d6ef1c942fcef28') diff --git a/libre/mplayer-libre/mplayer.desktop b/libre/mplayer-libre/mplayer.desktop new file mode 100644 index 000000000..07acea13f --- /dev/null +++ b/libre/mplayer-libre/mplayer.desktop @@ -0,0 +1,21 @@ +[Desktop Entry] +Type=Application +Name=MPlayer Media Player +Name[ca]=Reproductor multimèdia MPlayer +Name[pl]=MPlayer odtwarzacz multimedialny +GenericName=Multimedia player +Comment=Play movies and songs +Comment[ca]=Reproduïu vídeos i cançons +Comment[de]=Filme und Musik abspielen +Comment[es]=Reproduzca vídeos y canciones +Comment[fr]=Lecteur multimédia +Comment[it]=Lettore multimediale +Comment[zh]=多媒体播放器 +Comment[pl]=Odtwarzaj filmy i muzykę +Icon=mplayer +TryExec=mplayer +Exec=mplayer %F +Terminal=false +NoDisplay=true +Categories=GTK;AudioVideo;Audio;Video;Player;TV; +MimeType=application/ogg;application/x-ogg;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/m4a;audio/x-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg;video/x-mpeg2;video/mp4;video/msvideo;video/x-msvideo;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/x-fli;video/x-flv;video/x-theora;video/x-matroska; diff --git a/libre/mplayer-libre/mplayer.png b/libre/mplayer-libre/mplayer.png new file mode 100644 index 000000000..799769335 Binary files /dev/null and b/libre/mplayer-libre/mplayer.png differ -- cgit v1.2.3-2-g168b