void-packages/srcpkgs/deadbeef/template
2020-03-21 22:48:48 +01:00

45 lines
1.5 KiB
Bash

# Template file for 'deadbeef'
pkgname=deadbeef
version=1.8.3
revision=1
build_style=gnu-configure
configure_args="--disable-oss $(vopt_if gtk3 --disable-gtk2 --disable-gtk3)"
hostmakedepends="automake libtool gettext gettext-devel 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="https://github.com/DeaDBeeF-Player/deadbeef/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=f239af734dea096083e9fb907ef262099a54c2c6c93683ed76b132d41f10ccd8
build_options="gtk3"
build_options_default="gtk3"
LDFLAGS+=" -Wl,-z,stack-size=1048576"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vlicense COPYING
}
deadbeef-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
}
}