# Template file for 'deadbeef-fb'
pkgname=deadbeef-fb
version=0.92.20180507
revision=1
_commit=355e6142606270e7ae0fd68d8fcdb3f1ada295ca
wrksrc="${pkgname}-${_commit}-${_commit}"
build_style=gnu-configure
configure_args="$(vopt_if gtk3 --disable-gtk2 --disable-gtk3) --disable-static"
hostmakedepends="autogen automake libtool pkg-config"
makedepends="deadbeef-devel $(vopt_if gtk3 gtk+3-devel gtk+-devel)"
depends="deadbeef"
short_desc="Filebrowser plugin for the DeaDBeeF audio player"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://gitlab.com/zykure/deadbeef-fb"
distfiles="https://gitlab.com/zykure/${pkgname}/repository/${_commit}/archive.tar.bz2>${pkgname}-${version}.tar.bz2"
checksum=19a0c2ea3743926e71f9b20f616ff5bdbfd9839a553b33cc192dfed7bed3cb1d
build_options="gtk3"
build_options_default="gtk3"

pre_configure() {
	./autogen.sh
}
