# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=rhythmbox
pkgver=3.4.2
pkgrel=0
pkgdesc="GNOME audio player"
url="http://wiki.gnome.org/Apps/Rhythmbox"
arch="all"
license="GPL"
depends="py3-gobject3"
depends_dev="gnome-desktop-dev gstreamer-dev libpeas-dev"
makedepends="$depends_dev tdb-dev libsoup-dev json-glib-dev totem-pl-parser-dev gmime-dev libmtp-dev gst-plugins-base-dev py-gobject3-dev libxslt libxml2-utils docbook-xml docbook-xsl itstool intltool"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/rhythmbox/3.4/rhythmbox-$pkgver.tar.xz"
builddir="$srcdir/rhythmbox-$pkgver"

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

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

sha512sums="275f7c6344c88c7331d433895d479517e7a4b854f6ae660abd79b3c324f5e7a06132fa44387443ec9ce50b20187e1abf1ec9683ec4bedbd4b17da6efece8399b  rhythmbox-3.4.2.tar.xz"
