qjackctl: update to 0.5.2, add patch for arm. (#822)
This commit is contained in:
parent
c7267ee384
commit
cc01e39eaa
2 changed files with 25 additions and 6 deletions
19
srcpkgs/qjackctl/patches/arm.patch
Normal file
19
srcpkgs/qjackctl/patches/arm.patch
Normal 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:
|
||||
|
|
@ -1,21 +1,21 @@
|
|||
# Template file for 'qjackctl'
|
||||
pkgname=qjackctl
|
||||
version=0.5.0
|
||||
version=0.5.2
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-jack-version --enable-qt4 --disable-qt5"
|
||||
hostmakedepends="pkg-config qt-qmake"
|
||||
configure_args="--enable-jack-version --enable-qt4"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="qt-devel jack-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"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="http://qjackctl.sourceforge.net"
|
||||
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
||||
checksum=9a74f33f6643bea8bf742ea54f9b40f08ed339887f076ff3068159c55d0ba853
|
||||
checksum=5ffd2fc629bdd30b06a5fa12e9652ca412c435ceb571e42289c3672a902b195b
|
||||
|
||||
if [ -n "${CROSS_BUILD}" ]; then
|
||||
hostmakedepends+=" qt-host-tools qt-devel"
|
||||
hostmakedepends+=" qt-devel"
|
||||
fi
|
||||
|
||||
post_extract() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue