qjackctl: update to 0.5.6.

This commit is contained in:
maxice8 2019-03-17 01:12:06 -03:00 committed by maxice8
parent 95e05fffc2
commit 60bf9a97e1

View file

@ -1,7 +1,7 @@
# Template file for 'qjackctl'
pkgname=qjackctl
version=0.5.5
revision=2
version=0.5.6
revision=1
build_style=gnu-configure
configure_args="--enable-jack-version --disable-xunique"
hostmakedepends="pkg-config"
@ -12,13 +12,13 @@ maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://qjackctl.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=e5eb7b9249ba22f5301645f792eb34e7306b9002594eb945c9941a9586c2ffe7
checksum=b20aac64365aeac90beaf5d414c2125da48242945040c14ee6c3b153d35a9572
if [ "${CROSS_BUILD}" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel qt5-x11extras-devel"
fi
post_extract() {
sed -i '21i#include <unistd.h> // gethostname()' src/qjackctl.cpp
sed -i "s/@\$(QMAKE).*/& QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_LINK=$CXX/" Makefile.in
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
}