void-packages/srcpkgs/deadbeef/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

29 lines
1.1 KiB
Bash

# Template file for 'deadbeef'.
pkgname=deadbeef
version=0.6.2
revision=3
build_style=gnu-configure
configure_args="--disable-static --enable-gtk3 --disable-gtk2"
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"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Ultimate Music Player For GNU/Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://deadbeef.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=3433b966683286c03ffbcc79b2201cd517f8dbf6b41da8600778dfa93cd64e1a
post_configure() {
# XXX
sed -i 's,^OBJCLD =.*,OBJCLD = $(COMPILE),g' plugins/gtkui/Makefile
}
post_install() {
vinstall ${FILESDIR}/deadbeef-queue.desktop 644 usr/share/applications
# Remove devel stuff.
rm -rf ${DESTDIR}/usr/include
}