Date: Saturday, June 22, 2019 @ 23:07:00 Author: dvzrv Revision: 482815
upgpkg: polyphone 2.0.1-5 Adding qcustomplot to depends by applying upstream patches, that allow proper devondering, when using qcustomplot > 2.0.0. Modified: polyphone/trunk/PKGBUILD ----------+ PKGBUILD | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-06-22 21:59:25 UTC (rev 482814) +++ PKGBUILD 2019-06-22 23:07:00 UTC (rev 482815) @@ -1,7 +1,7 @@ # Maintainer: David Runge <d...@sleepmap.de> pkgname=polyphone pkgver=2.0.1 -pkgrel=4 +pkgrel=5 pkgdesc="A soundfont editor for quickly designing musical instruments" arch=('x86_64') url="https://polyphone-soundfonts.com/en/" @@ -8,16 +8,21 @@ license=('GPL') groups=('pro-audio') depends=('desktop-file-utils' 'hicolor-icon-theme' 'qt5-svg' 'portaudio' -'rtmidi' 'stk') +'qcustomplot' 'rtmidi' 'stk') makedepends=('qt5-tools') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/davy7125/${pkgname}/archive/${pkgver}.tar.gz") -sha512sums=('6eb59f5b19c2a944dd2cc2bb06391a32e786444f2e796d223adb2066c1965293f67ceb4f42b968e6ce101fed0a4cc4cb49a2011527701ac7bdede059548a6eac') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/davy7125/${pkgname}/archive/${pkgver}.tar.gz" + "${pkgname}-2.0.1-nullptr.patch::https://github.com/davy7125/polyphone/commit/a8223e1.patch" + "${pkgname}-2.0.1-qcustomplot.patch::https://github.com/davy7125/polyphone/commit/9616c1a1d014c802288ae853b98e3eaab839b909.patch") +sha512sums=('f8f75d4b0fd8c2acb00c766180b03d76c4ea560c5f685916c4cfcdd8614e80a601246a50194330ab388352db16a8d03c472d370a6ad33308170303e2862368d2' + 'f6867703525e3def2d981ae65e48807c25f388142ba1a715b28edee0046762beaf432ec110a0e687bc01bbf4b5b56cabcfa67301b6dd87ca23340c0bb8a9ecd9' + '65747fe274feb4ff01df3e9e52d5635acfb13c397cd752b14427e6533d401ddc1504d25483171fbb358b4cb1772b1db3fe302b3f0b59ec67ea4d9ed885b23b73') prepare() { - cd "${pkgname}-${pkgver}/sources" - # we need to use the vendored qcustomplot, as the current is incompatible + cd "${pkgname}-${pkgver}" + # adding patches to allow system qcustomplot to be used: # https://github.com/davy7125/polyphone/issues/56 - sed -e '/USE_LOCAL_QCUSTOMPLOT/ s/#//' -i "${pkgname}.pro" + patch -Np1 -i ../${pkgname}-2.0.1-nullptr.patch + patch -Np1 -i ../${pkgname}-2.0.1-qcustomplot.patch } build() {