25 lines
841 B
Bash
25 lines
841 B
Bash
# Template file for 'qjackctl'
|
|
pkgname=qjackctl
|
|
version=0.6.2
|
|
revision=2
|
|
build_style=gnu-configure
|
|
build_helper=qmake
|
|
hostmakedepends="pkg-config"
|
|
makedepends="alsa-lib-devel 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=1ec77d0e8edac1b4d60a32a08d2f4329f90571801920cb48c6147e0eae6f50e6
|
|
|
|
if [ "${CROSS_BUILD}" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-devel qt5-x11extras-devel"
|
|
configure_args+=" ac_cv_path_ac_cv_qmake=${XBPS_WRAPPERDIR}/qmake"
|
|
fi
|
|
|
|
do_patch() {
|
|
vsed -i '21i#include <unistd.h> // gethostname()' src/qjackctl.cpp
|
|
}
|