aboutsummaryrefslogtreecommitdiffstats
path: root/main/parole/APKBUILD
blob: b97161912b21da1e2172e01527f29c2fc5fa1a1e (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=parole
pkgver=0.8.0
pkgrel=0
case $pkgver in
	*.*.*.*) _branch=${pkgver%.*.*};;
	*.*.*) _branch=${pkgver%.*};;
esac
pkgdesc="Media player for the Xfce desktop"
url="http://goodies.xfce.org/projects/applications/parole/"
arch="all"
license="GPL"
depends="gst-plugins-good1"
depends_dev="libxfce4ui-dev libxfce4util-dev intltool gstreamer1-dev bash
	gst-plugins-base1-dev libsm-dev taglib-dev libnotify-dev"
makedepends="$depends_dev linux-headers"
install=
subpackages="$pkgname-dev $pkgname-lang"
source="http://archive.xfce.org/src/apps/parole/$_branch/parole-$pkgver.tar.bz2"

prepare() {
	cd "$srcdir"/$pkgname-$pkgver
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-gstreamer=1.0 \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install
}

md5sums="fffdc23d2aa22271f01410a9e27c3404  parole-0.8.0.tar.bz2"
sha256sums="2d966aeb426de81d992829e33b3f66185b19fd031a1891968b3a40d6d50239cc  parole-0.8.0.tar.bz2"
sha512sums="d8c3d6ee411e8bb05e3b03408da56d80154313e1f4817cdd1d75fb0ae25f2761362255ba55b513d551383f8a2808603dbd4949c847d815c0a41516edeb673afe  parole-0.8.0.tar.bz2"