blob: 2ebdaecae355931e767e0639a89e0922324d30b8 (
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
|
# Maintainer: Nate Simon <njsimon10@gmail.com>
pkgname=xplayer
pkgver=2.4.4
pkgrel=1
pkgdesc="Simple media player. X-Apps Project."
arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
depends=(
'clutter-gtk' 'clutter-gst' 'xplayer-plparser'
'desktop-file-utils' 'iso-codes' 'yelp-xsl'
'libpeas' 'gsettings-desktop-schemas' 'dbus-glib'
'python-gobject' 'gst-plugins-base' 'gst-plugins-good'
'xapps'
)
makedepends=(
'gnome-common' 'gtk-doc' 'gobject-introspection' 'vala'
'python-pylint' 'lirc' 'zeitgeist' 'grilo'
'glib2-devel'
)
optdepends=(
'gst-libav: Extra media codec support'
'lirc: Infrared remote control plugin'
'zeitgeist: Zeitgeist interface plugin'
'grilo: Grilo plugins'
'yelp: View help and documentation from the app'
)
provides=($pkgname)
conflicts=('xplayer-git')
url='https://github.com/linuxmint/xplayer'
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/${pkgname}/archive/${pkgver}.tar.gz" '0001-type-cast-compiler-errors.patch')
md5sums=('535e2fac8ba729d218d00ec31a7ef80d' '920687067445959857f14e000bab2b14')
prepare() {
cd ${srcdir}/${pkgname}-${pkgver}
patch --forward --strip=1 --input=../0001-type-cast-compiler-errors.patch
}
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./autogen.sh ax_is_release="yes" \
--prefix="/usr" \
--localstatedir="/var" \
--libexecdir="/usr/lib/${pkgname}"
make
}
package(){
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR="$pkgdir/" install
}
|