25 lines
881 B
Bash
25 lines
881 B
Bash
# Template file for 'qjackctl'
|
|
pkgname=qjackctl
|
|
version=0.5.8
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-jack-version --disable-xunique"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="qt5-devel jack-devel qt5-x11extras-devel"
|
|
depends="desktop-file-utils hicolor-icon-theme jack"
|
|
short_desc="JACK Audio Connection Kit - Qt GUI Interface"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://qjackctl.sourceforge.net"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=5600033bb32ac3e52f03a191cc2e31a27be3be98fdd49ce5481688cce070b0e4
|
|
|
|
if [ "${CROSS_BUILD}" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-devel qt5-x11extras-devel"
|
|
fi
|
|
|
|
do_patch() {
|
|
vsed -i '21i#include <unistd.h> // gethostname()' src/qjackctl.cpp
|
|
vsed -i "s/@\$(QMAKE).*/& QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_LINK=$CXX/" Makefile.in
|
|
}
|