void-packages/srcpkgs/abGate/template

24 lines
642 B
Bash

# Template file for 'abGate'
pkgname=abGate
version=1.1.9
revision=1
build_style=gnu-makefile
build_helper=qmake
hostmakedepends="pkg-config qt5-qmake qt5-host-tools"
makedepends="qt5-devel gtkmm2-devel lv2"
depends="lv2"
short_desc="LV2 Noise Gate plugin"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-3.0-or-later"
homepage="http://abgate.sourceforge.net/"
distfiles="https://github.com/antanasbruzas/abGate/archive/v${version}.tar.gz"
checksum=898b50cce44dffedd82ec0e6d6d043a9d26534fbf07898d099575ea4c1057721
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel"
fi
pre_build() {
vsed -i -e 's/g++/$(CXX)/' Makefile
}