# Template file for 'deadbeef'.
pkgname=deadbeef
version=0.6.1
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-gtk3 --disable-gtk2"
hostmakedepends="pkg-config intltool yasm"
makedepends="desktop-file-utils hicolor-icon-theme libSM-devel libICE-devel
 alsa-lib-devel ffmpeg-devel libvorbis-devel libcurl-devel imlib2-devel
 libjpeg-turbo-devel libpng-devel libmad-devel libflac-devel wavpack-devel
 libsndfile-devel libcdio-devel libcddb-devel libX11-devel dbus-devel
 pulseaudio-devel faad2-devel libsamplerate-devel glu-devel gtk+3-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Ultimate Music Player For GNU/Linux"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2,LGPL-2.1"
homepage="http://deadbeef.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=362b7d496eca487a09fa919e1b03ffb3c01034f1e2b05f09ea5a47aaa2f0af45

post_install() {
	vinstall ${FILESDIR}/deadbeef-queue.desktop 644 usr/share/applications
	# Remove devel stuff.
	rm -rf ${DESTDIR}/usr/include
}
