qjackctl: update to 0.5.5.

This commit is contained in:
maxice8 2018-11-26 02:17:17 -02:00 committed by maxice8
parent e9f0d7d29f
commit 238ca100a2
2 changed files with 3 additions and 22 deletions

View File

@ -1,19 +0,0 @@
--- 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,7 +1,7 @@
# Template file for 'qjackctl'
pkgname=qjackctl
version=0.5.3
revision=2
version=0.5.5
revision=1
build_style=gnu-configure
configure_args="--enable-jack-version"
hostmakedepends="pkg-config"
@ -12,7 +12,7 @@ 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"
checksum=813be3b92442ee89a1894407980cb3c95b549e6e94b6b155f218d15291530874
checksum=e5eb7b9249ba22f5301645f792eb34e7306b9002594eb945c9941a9586c2ffe7
if [ "${CROSS_BUILD}" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel qt5-x11extras-devel"