# Template file for 'sound-juicer'
pkgname=sound-juicer
version=3.5.0
revision=2
build_style=gnu-configure
configure_args="--disable-schemas-install --disable-scrollkeeper
--with-gconf-schema-file-dir=/usr/share/gconf/schemas" 
makedepends="which pkg-config intltool gnome-doc-utils glib-devel
 GConf-devel brasero-devel>=3.6.0 libdiscid-devel libmusicbrainz5-devel
 libcanberra-devel gst-plugins-base1-devel gst-plugins-good1"
short_desc="CD ripping tool using GTK+ and GStreamer"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://burtonini.com/blog/computers/sound-juicer"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/3.5/$pkgname-$version.tar.xz"
checksum=ea76703e08e67590af7b8ce5206c343eb01d77cd5023c0bc958a0c2f5a98d2e9
long_desc="
 This is Sound Juicer, a CD ripping tool using GTK+ and GStreamer for the
 GNOME desktop."

post_install() {
	mv ${DESTDIR}/usr/share/gconf/schemas/*.schemas ${wrksrc}
	gconf-merge-schema ${DESTDIR}/usr/share/gconf/schemas/${pkgname}.schemas \
		--domain ${pkgname} ${wrksrc}/*.schemas
}

sound-juicer_package() {
	depends="hicolor-icon-theme desktop-file-utils gst-plugins-good1"
	pkg_install() {
		vmove usr
	}
}
