From 94d8ad7443a76811cb0b554e1dcbacb8441a7bc5 Mon Sep 17 00:00:00 2001 From: newbluemoon Date: Sun, 3 Nov 2019 07:48:42 +0100 Subject: [PATCH] qsynth: update to 0.6.0 and use qmake build-helper --- srcpkgs/qsynth/template | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/srcpkgs/qsynth/template b/srcpkgs/qsynth/template index b607e283983..cf870fa6696 100644 --- a/srcpkgs/qsynth/template +++ b/srcpkgs/qsynth/template @@ -1,8 +1,9 @@ # Template file for 'qsynth' pkgname=qsynth -version=0.5.6 +version=0.6.0 revision=1 build_style=gnu-configure +build_helper=qmake hostmakedepends="pkg-config qt5-tools" makedepends="qt5-x11extras-devel jack-devel fluidsynth-devel" depends="fluidsynth jack desktop-file-utils hicolor-icon-theme" @@ -11,20 +12,9 @@ maintainer="Orphaned " license="GPL-2.0-or-later" homepage="http://qsynth.sourceforge.io" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=a6eb404778fad87bb37fa1fb4caf1d80f24a324f9c3a22b669df2f8c94849040 +checksum=322a0097b6a74e8ebaf590f76b6acda4489d9ee7c612b97bffbac4e5b1047b9c if [ "${CROSS_BUILD}" ]; then hostmakedepends+=" qt5-x11extras-devel" + configure_args+=" ac_cv_path_ac_cv_qmake=${XBPS_WRAPPERDIR}/qmake" fi - -post_configure() { - # make qmake use the right compiler when cross compiling, flags are recognized - 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.” - vsed -i -e "s/\(export QMAKE = .\+\) QMAKE_CC.\+/\1/" Makefile -} -