# Template file for 'audacious-plugins'
# Keep in sync with audacious and audacious-base
pkgname=audacious-plugins
version=4.4.1
revision=1
build_style=meson
configure_args="$(vopt_bool gtk) $(vopt_bool qt)"
hostmakedepends="gettext pkg-config glib-devel $(vopt_if qt qt6-tools)"
makedepends="audacious-base-devel alsa-lib-devel pulseaudio-devel jack-devel
 lame-devel libvorbis-devel libflac-devel mpg123-devel faad2-devel ffmpeg6-devel
 libmodplug-devel fluidsynth-devel libcdio-paranoia-devel wavpack-devel libnotify-devel
 libcurl-devel libmtp-devel neon-devel libmms-devel libxml2-devel opus-devel opusfile-devel
 libbs2b-devel libsoxr-devel libsidplayfp-devel libcue-devel libopenmpt-devel pipewire-devel
 $(vopt_if gtk gtk+3-devel) $(vopt_if qt 'qt6-base-devel qt6-multimedia-devel')"
short_desc="Plugins for the Audacious media player"
maintainer="classabbyamp <void@placeviolette.net>"
license="BSD-2-Clause"
homepage="https://audacious-media-player.org/"
distfiles="https://github.com/audacious-media-player/audacious-plugins/archive/refs/tags/audacious-plugins-${version}.tar.gz"
checksum=2d7fb3c7753a9224c66633de5c85bfe35fe292897ececfd67cc6d3cb8917b773

build_options="gtk qt"
build_options_default="qt"
vopt_conflict gtk qt

post_install() {
	vlicense COPYING
}
