void-packages/srcpkgs/qjackctl/template

25 lines
826 B
Bash

# Template file for 'qjackctl'
pkgname=qjackctl
version=0.6.1
revision=1
build_style=gnu-configure
build_helper=qmake
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=dec2b1d98cc06bce6bc714a57521b15bafa2718835a1afffb6f0b1eb07d1c027
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
}