void-packages/srcpkgs/qjackctl/template

25 lines
841 B
Bash

# Template file for 'qjackctl'
pkgname=qjackctl
version=0.6.3
revision=1
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=9db46376cfacb2e2ee051312245f5f7c383c9f5a958c0e3d661b9bd2a9246b7d
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
}