void-packages/srcpkgs/audacious/template

37 lines
1.2 KiB
Bash

# Template file for 'audacious'
#Keep in sync with audacious-plugins!
pkgname=audacious
version=4.3
revision=1
build_style=meson
configure_args="-Dlibarchive=true $(vopt_bool gtk) $(vopt_bool gtk gtk3)
$(vopt_bool qt) $(vopt_bool qt qt6) -Dbuildstamp=xbps"
hostmakedepends="pkg-config gettext glib-devel $(vopt_if qt 'qt6-base qt6-tools')"
makedepends="libSM-devel dbus-glib-devel libguess-devel libarchive-devel
$(vopt_if gtk gtk+3-devel) $(vopt_if qt qt6-base-devel)"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Lightweight, advanced audio player focused on audio quality"
maintainer="classabbyamp <void@placeviolette.net>"
license="BSD-2-Clause"
homepage="https://audacious-media-player.org/"
distfiles="https://distfiles.audacious-media-player.org/audacious-${version}.tar.bz2"
checksum=27584dc845c7e70db8c9267990945f17322a1ecc80ff8b452e9ca916a0ce9091
build_options="gtk qt"
build_options_default="qt"
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"
}
}