void-packages/srcpkgs/deadbeef/template

37 lines
1.3 KiB
Bash

# Template file for 'deadbeef'
pkgname=deadbeef
version=1.8.2
revision=1
build_style=gnu-configure
configure_args="--disable-oss $(vopt_if gtk3 --disable-gtk2 --disable-gtk3)"
hostmakedepends="intltool pkg-config yasm $(vopt_if gtk3 glib-devel)"
makedepends="
alsa-lib-devel dbus-devel faad2-devel ffmpeg-devel imlib2-devel jansson-devel
libcddb-devel libcdio-devel libcurl-devel libflac-devel libmad-devel
libpng-devel libsamplerate-devel libsndfile-devel libvorbis-devel libzip-devel
mpg123-devel opusfile-devel pulseaudio-devel wavpack-devel
$(vopt_if gtk3 gtk+3-devel gtk+-devel)"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Ultimate Music Player for GNU/Linux"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Zlib, GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://deadbeef.sourceforge.net"
changelog="http://deadbeef.sourceforge.net/news0.html"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=61cefb0c764731d271bfbd831cbc0c82d540921dead4a7dcf19c6537d7065dec
build_options="gtk3"
build_options_default="gtk3"
LDFLAGS+=" -Wl,-z,stack-size=1048576"
post_install() {
vlicense COPYING
}
deadbeef-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
}
}