42 lines
1.4 KiB
Bash
42 lines
1.4 KiB
Bash
# Template file for 'audacious-base'
|
|
# Keep in sync with audacious and audacious-plugins
|
|
pkgname=audacious-base
|
|
version=4.4.2
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="$(vopt_bool gtk) $(vopt_bool qt) -Dlibarchive=true -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 qt6-svg-devel')"
|
|
depends="desktop-file-utils hicolor-icon-theme $(vopt_if qt qt6-svg)"
|
|
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://github.com/audacious-media-player/audacious/archive/refs/tags/audacious-${version}.tar.gz"
|
|
checksum=030acbf2b58e403d9737f0cda90aa4ce475a7beb0961404c69b6e03ce6a7b008
|
|
|
|
build_options="gtk qt"
|
|
build_options_default="qt"
|
|
vopt_conflict gtk qt
|
|
|
|
pre_configure() {
|
|
# Meson uses paths from pkg-config which is /usr/lib32/qt6 when cross compiling 32-bit
|
|
# Work around this for now
|
|
export PATH="/usr/lib/qt6/libexec/:$PATH"
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
audacious-base-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|