# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=parole
pkgver=1.0.2
pkgrel=1
pkgdesc="GStreamer-based media player for the XFCE desktop environment"
url="https://xfce.org"
arch="all"
license="GPL-2.0+ AND LGPL-2.1+"
makedepends="intltool gtk+3.0-dev dbus-glib-dev libxfce4ui-dev gstreamer-dev
	gst-plugins-base-dev libnotify-dev libice-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://archive.xfce.org/src/apps/parole/1.0/parole-$pkgver.tar.bz2"

build() {
	LIBS="-lintl -lX11" ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="d7e989af7f9dab14080e62bd656a2858d8536a056ba82b5d5ac7d26a7d898f478b74c1ba4371779624691b7f42b695580ad53cfb15da0a4dc209d7570c12a66d  parole-1.0.2.tar.bz2"