blob: 702d1b0084f3c799f7f3a00695d1430647e2587d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Maintainer: AppleBloom <rat.o.drat@gmail.com>
# Previous maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Martin Panter <vadmium+aur@gmail.com>
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: ma-79 <ma65547@gmail.com>
pkgname=mplayer2
pkgver=20131009
pkgrel=14
pkgdesc='Advanced general-purpose media player. A fork of the original MPlayer project'
arch=('i686' 'x86_64')
license=('GPL')
url='https://github.com/nezumisama/mplayer2'
install=$pkgname.install
depends=('a52dec' 'aalib' 'cdparanoia' 'desktop-file-utils' 'enca' 'faad2' 'ffmpeg3.4'
'fontconfig' 'freetype2' 'jack' 'ladspa' 'lame' 'libass' 'libbluray'
'libcaca' 'libcdio-paranoia' 'libdca' 'libdvdcss' 'libdvdnav' 'libdvdread'
'libgl' 'libjpeg' 'libmad' 'libpulse' 'libquvi' 'libvdpau'
'libxinerama' 'libxss' 'libxv' 'libxxf86dga' 'libxxf86vm' 'lirc-utils'
'mpg123' 'ncurses' 'sdl' 'ttf-dejavu' 'giflib')
makedepends=('mesa' 'libgl' 'yasm' 'python' 'python-docutils')
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
provides=('mplayer')
conflicts=('mplayer')
options=(!emptydirs)
source=(https://github.com/nezumisama/mplayer2/archive/master.tar.gz)
sha256sums=('SKIP')
build() {
cd "$pkgname-master"
LDFLAGS+=" -ltheoradec" \
PKG_CONFIG_PATH='/usr/lib/ffmpeg3.4/pkgconfig' \
./configure --prefix=/usr --confdir=/etc/mplayer \
--enable-translation --language=all \
--enable-runtime-cpudetection \
--enable-joystick \
--enable-gif \
--disable-speex \
--disable-openal \
--disable-libdv \
--disable-musepack
make
}
package() {
cd "$pkgname-master"
make 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
install -dm755 "$pkgdir"/usr/share/applications/
install -m 644 etc/mplayer.desktop "$pkgdir"/usr/share/applications/
}
|