# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=rhythmbox
pkgver=3.4.1
pkgrel=1
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="b00034e9369222f64d5d9c5e246b99f5d738336d3faf2d303c444f84c316688871e0a09992e96012f38e2e90e8efc936ad231bed5057a5aaf31ee66963f59ae6  rhythmbox-3.4.1.tar.xz"
