# Template file for 'qjackctl'
pkgname=qjackctl
version=0.4.1
revision=1
build_style=gnu-configure
configure_args="--enable-jack-version --enable-qt4 --disable-qt5"
hostmakedepends="pkg-config qt-qmake"
makedepends="qt-devel jack-devel"
depends="desktop-file-utils hicolor-icon-theme jack"
short_desc="JACK Audio Connection Kit - Qt GUI Interface"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://qjackctl.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=98024e1ea9f55ac16c290feda051d6494b2261e83f6a918f0fa583b509e2bfd1

post_extract() {
	sed -i '21i#include <unistd.h> // gethostname()' src/qjackctl.cpp
}
