# Template file for 'audacious-plugins'
#Keep in sync with audacious!
pkgname=audacious-plugins
version=4.1
revision=4
build_style=gnu-configure
configure_args="$(vopt_enable gtk) $(vopt_enable qt)"
hostmakedepends="gettext pkg-config glib-devel"
makedepends="audacious-devel alsa-lib-devel pulseaudio-devel jack-devel
 lame-devel libvorbis-devel libflac-devel mpg123-devel faad2-devel ffmpeg-devel
 libmodplug-devel fluidsynth-devel libcdio-paranoia-devel wavpack-devel libnotify-devel
 libcurl-devel libmtp-devel neon-devel libmms-devel libxml2-devel
 libbs2b-devel libsoxr-devel libsidplayfp-devel libcue-devel libopenmpt-devel
 $(vopt_if gtk gtk+-devel) $(vopt_if qt 'qt5-devel qt5-multimedia-devel')"
short_desc="Plugins for the Audacious media player"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://audacious-media-player.org/"
distfiles="https://distfiles.audacious-media-player.org/${pkgname}-${version}.tar.bz2"
checksum=dad6fc625055349d589e36e8e5c8ae7dfafcddfe96894806509696d82bb61d4c

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

post_install() {
	vlicense COPYING
}
