void-packages/srcpkgs/deadbeef/template

38 lines
1.3 KiB
Bash

# Template file for 'deadbeef'
pkgname=deadbeef
version=1.8.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-oss
$(vopt_if gtk3 '--enable-gtk3 --disable-gtk2' '--enable-gtk2 --disable-gtk3')"
hostmakedepends="automake gettext-devel intltool libtool pkg-config sndio yasm
$(vopt_if gtk3 glib-devel)"
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 jansson-devel
mpg123-devel libzip-devel opusfile-devel sndio-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="Juan RP <xtraeme@voidlinux.org>"
license="Zlib, GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://deadbeef.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=8559e53e95bd85172d96bf9a8e7079dc36c16390110470ee1ea7b5d01c431608
build_options="gtk3"
build_options_default="gtk3"
post_install() {
vlicense COPYING
}
deadbeef-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
}
}