void-packages/srcpkgs/audacious/template
2020-07-24 17:58:08 +02:00

36 lines
1.1 KiB
Bash

# Template file for 'audacious'
#Keep in sync with audacious-plugins!
pkgname=audacious
version=4.0.5
revision=1
build_style=gnu-configure
configure_args="$(vopt_enable gtk) $(vopt_enable qt)"
hostmakedepends="pkg-config gettext glib-devel $(vopt_if qt qt5-host-tools)"
makedepends="libSM-devel dbus-glib-devel libguess-devel $(vopt_if gtk gtk+-devel)
$(vopt_if qt qt5-devel)"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Lightweight, advanced audio player focused on audio quality"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://audacious-media-player.org/"
distfiles="https://distfiles.${pkgname}-media-player.org/${pkgname}-${version}.tar.bz2"
checksum=51aea9e6a3b17f5209d49283a2dee8b9a7cd7ea96028316909da9f0bfe931f09
build_options="gtk qt"
build_options_default="qt"
desc_option_gtk="Enable support for the GTK+2 GUI toolkit"
vopt_conflict gtk qt
post_install() {
vlicense COPYING
}
audacious-devel_package() {
depends="audacious>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}