aboutsummaryrefslogtreecommitdiffstats
path: root/main/parole/APKBUILD
blob: 1124e363583b106d3fb6791ebac0e438e2e76f48 (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.5.4
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=""
makedepends="libxfce4ui-dev libxfce4util-dev intltool gstreamer1-dev bash
	gst-plugins-base1-dev libsm-dev taglib-dev libnotify-dev"
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
	find "$pkgdir" -name '*.la' -delete
}

md5sums="fa25b069c90bb9d59fef46e77c98f9b0  parole-0.5.4.tar.bz2"
sha256sums="c0f4bd7b45a016a0a84ec86336b912d0a12388e29c316beb86193ed7d2c3bfc3  parole-0.5.4.tar.bz2"
sha512sums="a3be6c35ea7b118d11738dbe460a3cf8daab61d552dabbc7504f5120e86c11eba6b885f45f314e5df22ed8958959e75339423d041be3e8d5128be093941cb5ae  parole-0.5.4.tar.bz2"