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.1
revision=1
build_style=meson
configure_args="-Dlibarchive=true $(vopt_bool gtk3 gtk) $(vopt_bool 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 gtk3 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=85e9e26841505b51e342ee72a2d05f19bef894f567a029ebb3f3e0c1adb42042
build_options="gtk3 qt"
build_options_default="qt"
vopt_conflict gtk3 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"
}
}