# Template file for 'audacious-plugins'
# Keep in sync with audacious and audacious-base
pkgname=audacious-plugins
version=4.6.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
 libsamplerate-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=c5229b201741a47fc97feac094c597e966042b044d5bb64759f644873cce4d8d

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

post_install() {
	vlicense COPYING
}
