qsynth: update to 0.5.5.

This commit is contained in:
maxice8 2019-03-17 01:15:59 -03:00 committed by maxice8
parent 60bf9a97e1
commit 99a9a9abe3
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'qsynth'
pkgname=qsynth
version=0.5.4
version=0.5.5
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config qt5-tools"
@ -11,7 +11,7 @@ maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://qsynth.sourceforge.io"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=2d6befb4023f8a64f35d802991d0d413e11d0307e87485428c969b94bb2bf84e
checksum=858f52b95642a25f570342d5cf7fafd2a2addb89d567c5b68a3545beb6fda723
if [ "${CROSS_BUILD}" ]; then
hostmakedepends+=" qt5-x11extras-devel"
@ -19,12 +19,12 @@ fi
post_configure() {
# make qmake use the right compiler when cross compiling, flags are recognized
sed -i -e "s/\(export QMAKE = .\+\)/\1 QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_LINK=$CXX/" Makefile
vsed -i -e "s/\(export QMAKE = .\+\)/\1 QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_LINK=$CXX/" Makefile
}
pre_install() {
# revert previous changes else installation aborts with
# “Could not find qmake configuration file default.”
sed -i -e "s/\(export QMAKE = .\+\) QMAKE_CC.\+/\1/" Makefile
vsed -i -e "s/\(export QMAKE = .\+\) QMAKE_CC.\+/\1/" Makefile
}