blob: 536ff4e2d1307d64f4977bf305f14bf0713a1873 (
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
|
# Maintainer: Nate Simon <aurpkg (at natesimon.net)>
pkgname=xplayer-git
_pkgbasename=xplayer
pkgver=2.0.0.r0.gf73aa65
pkgrel=1
pkgdesc="Simple media player. X-Apps Project (git version)."
arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
depends=('clutter-gtk' 'clutter-gst' 'xplayer-plparser-git'
'desktop-file-utils' 'iso-codes' 'yelp-xsl'
'libpeas' 'gsettings-desktop-schemas' 'dbus-glib'
'python2-gobject' 'gst-plugins-base' 'gst-plugins-good'
'xapps')
makedepends=('git' 'gnome-common' 'gtk-doc' 'gobject-introspection' 'vala')
optdepends=('gst-libav: Extra media codec support')
provides=($pkgname $_pkgbasename)
conflicts=(${_pkgbasename})
url='https://github.com/linuxmint/xplayer'
source=("${pkgname}::git+https://github.com/linuxmint/${_pkgbasename}.git")
md5sums=('SKIP')
pkgver() {
cd ${srcdir}/${pkgname}
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd ${srcdir}/${pkgname}
./autogen.sh ax_is_release="yes" \
--prefix="/usr" \
--localstatedir="/var" \
--libexecdir="/usr/lib/${_pkgbasename}"
make
}
package(){
cd ${srcdir}/${pkgname}
make DESTDIR="$pkgdir/" install
}
|