qjackctl: switch to qt5
This commit is contained in:
parent
53f8f77c55
commit
f494c200a1
1 changed files with 7 additions and 11 deletions
|
@ -1,28 +1,24 @@
|
|||
# Template file for 'qjackctl'
|
||||
pkgname=qjackctl
|
||||
version=0.5.3
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-jack-version --enable-qt4"
|
||||
configure_args="--enable-jack-version"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="qt-devel jack-devel"
|
||||
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="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="http://qjackctl.sourceforge.net"
|
||||
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=813be3b92442ee89a1894407980cb3c95b549e6e94b6b155f218d15291530874
|
||||
|
||||
if [ -n "${CROSS_BUILD}" ]; then
|
||||
hostmakedepends+=" qt-devel"
|
||||
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
|
||||
}
|
||||
|
||||
# when cross compiling the correct flags are used, but not the cross-compiler
|
||||
do_build() {
|
||||
make CC="$CC" CXX="$CXX" LINK="$CXX" ${makejobs}
|
||||
sed -i "s/@\$(QMAKE).*/& QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_LINK=$CXX/" Makefile.in
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue