aboutsummaryrefslogtreecommitdiffstats
path: root/community/parole/APKBUILD
blob: a986505fcee6d72c0a1b4f6812714c60b2f9bcf3 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=parole
pkgver=1.0.4
pkgrel=0
case $pkgver in
	*.*.*.*) _branch=${pkgver%.*.*};;
	*.*.*) _branch=${pkgver%.*};;
esac
pkgdesc="Media player for the Xfce desktop"
url="https://docs.xfce.org/apps/parole/start"
arch="all !x86 !armv7 !armhf" # webkit2gtk missing
license="GPL-2.0-or-later"
depends="gst-plugins-good"
depends_dev="libxfce4ui-dev libxfce4util-dev intltool gstreamer-dev bash
	gst-plugins-base-dev libsm-dev taglib-dev libnotify-dev dbus-glib-dev"
makedepends="$depends_dev linux-headers"
subpackages="$pkgname-dev $pkgname-lang"
source="https://archive.xfce.org/src/apps/parole/$_branch/parole-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-gstreamer=1.0
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="5f67830e36b6ac41c85dbbb7d6b4e2dfbd037c9e8fe4f5ab5ef8c52ebe4c69b5a9bfdee298b174a85334a4ae9414ed3492994853896f745c489116359cc14969  parole-1.0.4.tar.bz2"