mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/mplayer2 to 20130428-1
This commit is contained in:
parent
ce5e77822b
commit
db53f4b882
1 changed files with 9 additions and 9 deletions
|
@ -7,12 +7,12 @@
|
|||
# - removed --enable-runtime-cpudetection - not supported on ARM
|
||||
|
||||
pkgname=mplayer2
|
||||
pkgver=20130309
|
||||
pkgrel=2
|
||||
pkgver=20130428
|
||||
pkgrel=1
|
||||
pkgdesc='Advanced general-purpose media player. A fork of the original MPlayer project'
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
url="http://www.mplayer2.org/"
|
||||
url='http://www.mplayer2.org/'
|
||||
install=$pkgname.install
|
||||
depends=('a52dec' 'aalib' 'cdparanoia' 'desktop-file-utils' 'enca' 'faad2' 'ffmpeg'
|
||||
'fontconfig' 'freetype2' 'jack' 'ladspa' 'lame' 'libass' 'libbluray'
|
||||
|
@ -20,22 +20,22 @@ depends=('a52dec' 'aalib' 'cdparanoia' 'desktop-file-utils' 'enca' 'faad2' 'ffmp
|
|||
'libgl' 'libjpeg' 'libmad' 'libpulse' 'libquvi' 'libtheora' 'libvdpau'
|
||||
'libxinerama' 'libxss' 'libxv' 'libxxf86dga' 'libxxf86vm' 'lirc-utils'
|
||||
'mpg123' 'ncurses' 'sdl' 'ttf-dejavu')
|
||||
makedepends=('mesa' 'mesa-libgl' 'unzip' 'yasm' 'python' 'python-docutils')
|
||||
makedepends=('mesa' 'mesa-libgl' 'unzip' 'yasm' 'python' 'python-docutils' 'git')
|
||||
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
|
||||
provides=('mplayer')
|
||||
conflicts=('mplayer')
|
||||
options=(!emptydirs)
|
||||
source=(ftp://mirrors.kernel.org/archlinux/other/community/$pkgname/$pkgname-$pkgver.tar.xz)
|
||||
sha256sums=('03aeccbd82b3598e0656b54ae6ab60c79afdb78eabe1b2915e7912db7efbd343')
|
||||
source=(git://git.mplayer2.org/mplayer2.git#commit=6c87a981baa)
|
||||
sha256sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
cd $pkgname
|
||||
sed 's/gmplayer/mplayer/g' -i etc/mplayer.desktop
|
||||
find -type f -exec sed -e 's/python3/python/' -i {} \;
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cd $pkgname
|
||||
|
||||
./configure --prefix=/usr --confdir=/etc/mplayer \
|
||||
--enable-translation --language=all \
|
||||
|
@ -48,7 +48,7 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
cd $pkgname
|
||||
make DESTDIR=$pkgdir install
|
||||
|
||||
install -Dm644 etc/{codecs.conf,input.conf,example.conf} $pkgdir/etc/mplayer/
|
||||
|
|
Loading…
Reference in a new issue