void-packages/srcpkgs/qjackctl/template

25 lines
826 B
Bash

# Template file for 'qjackctl'
pkgname=qjackctl
version=0.6.0
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=9dd5ee9a7f0a2d1d530b10652e09972732dc210239b7c082be816f0e7bdfadcd
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
}