diff options
Diffstat (limited to 'community/mplayer2/PKGBUILD')
-rw-r--r-- | community/mplayer2/PKGBUILD | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/community/mplayer2/PKGBUILD b/community/mplayer2/PKGBUILD index 0025391bb..824fdd478 100644 --- a/community/mplayer2/PKGBUILD +++ b/community/mplayer2/PKGBUILD @@ -1,12 +1,12 @@ -# 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=4 pkgdesc="An advanced general-purpose media player. A fork of the original MPlayer project" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL') url="http://www.mplayer2.org/" install=$pkgname.install @@ -18,15 +18,14 @@ makedepends=('mesa' 'unzip' 'yasm') 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/ |