# Template file for 'deadbeef'.
pkgname=deadbeef
version=0.7.2
revision=3
build_style=gnu-configure
configure_args="--disable-static --disable-gtk2 --disable-oss"
hostmakedepends="pkg-config intltool yasm"
makedepends="
 libSM-devel alsa-lib-devel ffmpeg-devel libvorbis-devel libcurl-devel
 libjpeg-turbo-devel libpng-devel libmad-devel libflac-devel wavpack-devel
 libsndfile-devel libcdio-devel libcddb-devel dbus-devel glu-devel
 pulseaudio-devel faad2-devel libsamplerate-devel imlib2-devel gtk+3-devel
 jansson-devel mpg123-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Ultimate Music Player For GNU/Linux"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2, LGPL-2.1"
homepage="http://deadbeef.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=8a63abdf00c2f37c33e018ae0b39d391873e037434074b84bb47381bf283c884

post_configure() {
	# XXX
	sed -i 's,^OBJCLD =.*,OBJCLD = $(COMPILE),g' plugins/gtkui/Makefile
}


post_install() {
	# Remove devel stuff.
	rm -rf ${DESTDIR}/usr/include
}
