diff --git a/srcpkgs/spek-alternative/template b/srcpkgs/spek-alternative/template new file mode 100644 index 00000000000000..7ee8ef78de6206 --- /dev/null +++ b/srcpkgs/spek-alternative/template @@ -0,0 +1,21 @@ +# Template file for 'spek-alternative' +pkgname=spek-alternative +version=0.8.2.3 +revision=1 +build_style=gnu-configure +hostmakedepends="automake gettext-devel intltool libtool pkg-config wxWidgets-common" +makedepends="ffmpeg-devel wxWidgets-gtk3-devel" +depends="ffmpeg" +short_desc="Acoustic spectrum analyser" +maintainer="Kartik Singh " +license="GPL-3.0-or-later" +homepage="https://github.com/withmorten/spek-alternative" +distfiles="https://github.com/withmorten/spek-alternative/archive/${version}.tar.gz" +checksum="007ba4b84a310b078e378aa84c8e80783db5821437a757a488c3ecec377e6b2a" + +# Tell autogen.sh to use `wx-config-gtk3` instead of `wx-config` +export WX_CONFIG_NAME="wx-config-gtk3" + +pre_configure() { + NOCONFIGURE=1 ./autogen.sh +}