qjackctl: update to 0.5.2, add patch for arm. (#822)

This commit is contained in:
cr6git 2018-07-15 10:15:38 +02:00 committed by GitHub
parent c7267ee384
commit cc01e39eaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 6 deletions

View file

@ -0,0 +1,19 @@
--- src/qjackctlGraphForm.cpp.orig 2018-05-27 18:39:33.051174395 +0200
+++ src/qjackctlGraphForm.cpp 2018-07-12 21:46:57.002185428 +0200
@@ -338,11 +338,11 @@
const QRectF& rect
= canvas->mapToScene(canvas->viewport()->rect()).boundingRect();
const QPointF& pos = rect.center();
- const qreal w = 0.3 * qMax(rect.width(), 800.0);
- const qreal h = 0.3 * qMax(rect.height(), 600.0);
+ const double w = 0.3 * qMax(static_cast<double>(rect.width()), 800.0);
+ const double h = 0.3 * qMax(static_cast<double>(rect.height()), 600.0);
- qreal x = pos.x();
- qreal y = pos.y();
+ double x = pos.x();
+ double y = pos.y();
switch (node->nodeMode()) {
case qjackctlGraphItem::Input:

View file

@ -1,21 +1,21 @@
# Template file for 'qjackctl' # Template file for 'qjackctl'
pkgname=qjackctl pkgname=qjackctl
version=0.5.0 version=0.5.2
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-jack-version --enable-qt4 --disable-qt5" configure_args="--enable-jack-version --enable-qt4"
hostmakedepends="pkg-config qt-qmake" hostmakedepends="pkg-config"
makedepends="qt-devel jack-devel" makedepends="qt-devel jack-devel"
depends="desktop-file-utils hicolor-icon-theme jack" depends="desktop-file-utils hicolor-icon-theme jack"
short_desc="JACK Audio Connection Kit - Qt GUI Interface" short_desc="JACK Audio Connection Kit - Qt GUI Interface"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2" license="GPL-2.0-or-later"
homepage="http://qjackctl.sourceforge.net" homepage="http://qjackctl.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=9a74f33f6643bea8bf742ea54f9b40f08ed339887f076ff3068159c55d0ba853 checksum=5ffd2fc629bdd30b06a5fa12e9652ca412c435ceb571e42289c3672a902b195b
if [ -n "${CROSS_BUILD}" ]; then if [ -n "${CROSS_BUILD}" ]; then
hostmakedepends+=" qt-host-tools qt-devel" hostmakedepends+=" qt-devel"
fi fi
post_extract() { post_extract() {