# Template file for 'xnoise'.
pkgname=xnoise
version=0.2.17
revision=2
build_style=gnu-configure
makedepends="pkg-config intltool gtk+3-devel libtaginfo-devel sqlite-devel
 libnotify-devel libsoup-devel gst-plugins-base1-devel"
short_desc="Media player for GTK+ with a slick GUI"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.xnoise-media-player.com/"
distfiles="https://bitbucket.org/shuerhaaken/xnoise/downloads/xnoise-${version}.tar.gz"
checksum=0d3503ddce618a4716626c4b8b7c5abdeb4730227281fe93d4eba2584b43e180
long_desc="
 Unlike Rhythmbox, Banshee or itunes, Xnoise uses a tracklist centric design.
 The tracklist is a list of video or music tracks that are played one by one
 without being removed (right side of window). This gives you the possibility
 to queue any track in any order, regardless if they are on the same album.
 Tracks or groups of tracks can be reordered at any time via drag and drop."

libxnoise_package() {
	short_desc="${short_desc} - shared library"
	pkg_install() {
		vmove "usr/lib/libxnoise.so*"
	}
}

xnoise-devel_package() {
	depends="libxnoise>=$version"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/vala
	}
}

xnoise_package() {
	pkg_install() {
		vmove usr
	}
}
