diff options
Diffstat (limited to 'community/mplayer2')
-rw-r--r-- | community/mplayer2/PKGBUILD | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/community/mplayer2/PKGBUILD b/community/mplayer2/PKGBUILD index 983ddddfd..b1d8186fb 100644 --- a/community/mplayer2/PKGBUILD +++ b/community/mplayer2/PKGBUILD @@ -1,32 +1,31 @@ -# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> -# Contributor: Martin Panter <vadmium+aur@gmail.com> -# Contributor: Stéphane Gaudreault <stephane@archlinux.org> +# $Id$ +# Maintainer: Stéphane Gaudreault <stephane@archlinux.org> +# Contributor: Bartek Piotrowski <barthalion@gmail.com> pkgname=mplayer2 -pkgver=20120414 -pkgrel=3 -pkgdesc="An advanced general-purpose media player. A fork of the original MPlayer project" -arch=('i686' 'x86_64') +_commit=3a39fc1 +pkgver="2.0.20111114+g${_commit}" +_snapshot="${pkgname}-${_commit}" +pkgrel=1 +pkgdesc="A movie player" +arch=('i686' 'x86_64' 'mips64el') license=('GPL') url="http://www.mplayer2.org/" -install=$pkgname.install -depends=('a52dec' 'aalib' 'cdparanoia' 'desktop-file-utils' 'enca' 'faad2' 'ffmpeg' 'fontconfig' - 'freetype2' 'jack' 'lame' 'libass' 'libbluray' 'libcaca' 'libcdio' 'libdca' 'libdvdcss' - 'libdvdnav' 'libdvdread' 'libgl' 'libjpeg' 'libmad' 'libpulse' 'libtheora' 'libvdpau' - 'libxinerama' 'libxss' 'libxv' 'libxxf86dga' 'libxxf86vm' 'mpg123' 'ncurses' 'sdl' 'ttf-dejavu') -makedepends=('mesa' 'unzip' 'yasm') +depends=('libgl' 'libvdpau' 'ffmpeg' 'libdvdcss' 'libdvdread' 'libdvdnav' 'libxvmc' 'libass' 'fontconfig' 'freetype2' + 'ttf-dejavu' 'sdl' 'aalib' 'libcaca' 'faad2' 'libpulse' 'jack' 'ncurses' 'libxxf86vm' 'cdparanoia' 'libmad' + 'a52dec' 'libdca' 'libxxf86dga' 'libxss' 'mpg123' 'ladspa') +makedepends=('mesa' 'unzip' 'yasm' 'git') backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf') provides=('mplayer') conflicts=('mplayer') -options=(!emptydirs) -source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.xz) -md5sums=('95d981808cbfa66ad238f6c044f4f746') +source=("http://git.${pkgname}.org/${pkgname}/snapshot/${_snapshot}.tar.xz") +sha1sums=('ae4542ae6bbe00110aed32708d097ec5f611f0de') +options=('!emptydirs') build() { - cd "${srcdir}"/$pkgname-$pkgver + cd "${srcdir}/${_snapshot}" ./configure --prefix=/usr \ - --enable-runtime-cpudetection \ --disable-arts \ --disable-speex \ --disable-openal \ @@ -36,12 +35,13 @@ build() { --disable-mga \ --language=all \ --enable-translation \ - --confdir=/etc/mplayer + --confdir=/etc/mplayer \ + --disable-live # Disabled by default in Uoti’s Git branch make } package() { - cd "${srcdir}"/$pkgname-$pkgver + cd "${srcdir}/${_snapshot}" make DESTDIR="${pkgdir}" install install -Dm644 etc/{codecs.conf,input.conf,example.conf} "${pkgdir}"/etc/mplayer/ |