blob: d9a3cb7be49abfb83da6a9e0e91ded128f7b5057 (
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
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=parole
pkgver=0.9.1
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
}
sha512sums="ac47e81cea6cf1172805c46ae318b72752b5fa5ee14b33c1745e9c2b1ea0221962ba570b0c2bebd6bdb07834861d9b4eda7bcd733d2e48e3eae5db12933ddba7 parole-0.9.1.tar.bz2"
|