29 lines
903 B
Bash
29 lines
903 B
Bash
# Template file for 'qjackctl'
|
|
pkgname=qjackctl
|
|
version=0.4.5
|
|
revision=2
|
|
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=c50da569ec8466ac6cc72c65e2d8212eb9c40149daed0a10fb7795ff9ddc4ab7
|
|
|
|
if [ -n "${CROSS_BUILD}" ]; then
|
|
hostmakedepends+=" qt-host-tools qt-devel"
|
|
fi
|
|
|
|
post_extract() {
|
|
sed -i '21i#include <unistd.h> // gethostname()' src/qjackctl.cpp
|
|
}
|
|
|
|
# when cross compiling the correct flags are used, but not the cross-compiler
|
|
do_build() {
|
|
make CC="$CC" CXX="$CXX" LINK="$CXX" ${makejobs}
|
|
}
|