testing/qjackctl: new aport

https://qjackctl.sourceforge.io
GUI interface for JACK
This commit is contained in:
David Demelier 2020-06-05 15:08:32 +02:00 committed by Leo
parent 5b55cc757a
commit 53f0b4a046
2 changed files with 56 additions and 0 deletions

42
testing/qjackctl/APKBUILD Normal file
View File

@ -0,0 +1,42 @@
# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=qjackctl
pkgver=0.6.2
pkgrel=0
pkgdesc="GUI interface for JACK"
url="https://qjackctl.sourceforge.io"
arch="all"
license="GPL-2.0-or-later"
makedepends="
alsa-lib-dev
cmake
dbus-dev
jack-dev
portaudio-dev
qt5-qtbase-dev
qt5-qttools-dev
"
subpackages="$pkgname-doc"
source="https://sourceforge.net/projects/qjackctl/files/qjackctl/0.6.2/qjackctl-$pkgver.tar.gz
set-version.patch"
options="!check" # No tests.
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
$CMAKE_CROSSOPTS .
make -C build
}
package() {
make -C build DESTDIR="$pkgdir" install
}
sha512sums="a05f514d749b4f2344c7f0d57a2a0dd1ac6a97f35d0227827e78d3bd7abfbddc3201e2fc7e23f878cd318e408f169a4006a150dc0e43101086e9ba32004e5520 qjackctl-0.6.2.tar.gz
685ac68260e90075f5600bd392db8f411712890534bffcf4c48b8541a9af613d19309b1911cc286d2da08290ab86f770856c386d72002d53dc2a0e615cabea57 set-version.patch"

View File

@ -0,0 +1,14 @@
Hard code the version because it would require Git instead.
Upstream: not yet, need some discuss to find a proper alternative
--- a/CMakeLists.txt 2020-06-05 14:53:32.438653467 +0200
+++ b/CMakeLists.txt 2020-06-05 14:53:42.862042935 +0200
@@ -27,7 +27,7 @@
endif ()
set (PACKAGE_NAME "QjackCtl")
-set (PACKAGE_VERSION "${VERSION}")
+set (PACKAGE_VERSION "0.6.2")
set (PACKAGE_BUGREPORT "rncbc@rncbc.org")
set (PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
set (PACKAGE_TARNAME "qjackctl")