aboutsummaryrefslogtreecommitdiffstats
path: root/main/parole/APKBUILD
blob: e66ba06e92f8248bff1a6661db7f5b30385a79fe (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.3
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="eaeb8678bd7a9dd13086f0972c8d7ea8  parole-0.5.3.tar.bz2"
sha256sums="e1b1c9b75be24ff0a7519d54a2bdc860c4cc512b4cf8a6d24df50f26b96c2e29  parole-0.5.3.tar.bz2"
sha512sums="40b3ba24d9775f18cda0726e75948c800f023760d1224cc6b87dcbce59644102fda59a2cdec1a73587042a8bb6c26bbcbe2f6fbadfb346558a50d6496686631b  parole-0.5.3.tar.bz2"