[arch-commits] Commit in polyphone/trunk (PKGBUILD)

2020-07-09 Thread David Runge via arch-commits
Date: Thursday, July 9, 2020 @ 15:33:09
  Author: dvzrv
Revision: 661837

upgpkg: polyphone 2.2.0-2: Rebuilding with fix for qt >= 5.15.0.

Adding all available sodeps in package() and moving the respective packages to 
makedepends.
Adding patch for building against qt >= 5.15.0.

Modified:
  polyphone/trunk/PKGBUILD

--+
 PKGBUILD |   29 +
 1 file changed, 21 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-09 14:43:28 UTC (rev 661836)
+++ PKGBUILD2020-07-09 15:33:09 UTC (rev 661837)
@@ -1,20 +1,30 @@
 # Maintainer: David Runge 
+
 pkgname=polyphone
 pkgver=2.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A soundfont editor for quickly designing musical instruments"
 arch=('x86_64')
 url="https://polyphone-soundfonts.com/en/;
 license=('GPL3')
 groups=('pro-audio')
-depends=('desktop-file-utils' 'libFLAC.so' 'gcc-libs' 'glibc'
-'hicolor-icon-theme' 'libjack.so' 'libogg' 'libportaudio.so'
-'libqcustomplot.so' 'libstk.so' 'libvorbis.so' 'libvorbisenc.so'
-'libvorbisfile.so' 'openssl' 'qt5-base' 'qt5-svg' 'rtmidi' 'zlib')
-makedepends=('qt5-tools')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/davy7125/${pkgname}/archive/${pkgver}.tar.gz;)
-sha512sums=('88b4f0d951f75ed517e0942e75d543eca28c92fe8f2f99aee1d4be69f7d4fd74ee2219d7779b68b918befc8554cac5dc3f93ac9055bd8a94327e777a0725e5e3')
+depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'openssl' 'qt5-base' 'qt5-svg'
+'rtmidi' 'zlib')
+makedepends=('flac' 'jack' 'libogg' 'libvorbis' 'portaudio' 'qcustomplot'
+'qt5-tools' 'stk')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/davy7125/${pkgname}/archive/${pkgver}.tar.gz;
+
"${pkgname}-2.2.0-qt5.15.patch::https://github.com/davy7125/polyphone/commit/7cfa7fe96533e402dd37e533b63c3105af36cd34.patch;)
+sha512sums=('88b4f0d951f75ed517e0942e75d543eca28c92fe8f2f99aee1d4be69f7d4fd74ee2219d7779b68b918befc8554cac5dc3f93ac9055bd8a94327e777a0725e5e3'
+
'a412b16b304ea53665ae3d8a8769898e16297c9b5a57d16cc68a71e8fbd35ee938a364de5226d9cccbff4fd0b87c9d4d10f809a8fd75325a39701d895958f220')
+b2sums=('973bcc812e1e6d774ab81cc092d7018738386235b550f8493550e33b2a7e02dbbdc4ad4f6267442e1019be85393561bfbb2eaaeb9feba84b8e70020b68f5a7a0'
+
'd1d72bebdbdae372154b64efa55133b9314088be28ad1a5fc7641d9f66c91b58e51decf70e0f1ac5c62be4c5322161aca984f5d7412f8cf8f0dc5cedd118051d')
 
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # fix missing include required to build against qt >= 5.15.0
+  patch -Np1 -i "../${pkgname}-2.2.0-qt5.15.patch"
+}
+
 build() {
   cd "${pkgname}-${pkgver}/sources"
   qmake-qt5 "${pkgname}.pro" PREFIX=/usr
@@ -22,6 +32,9 @@
 }
 
 package() {
+  depends+=('libFLAC.so' 'libjack.so' 'libogg.so' 'libportaudio.so'
+  'libqcustomplot.so' 'libstk-4.6.1.so' 'libvorbis.so' 'libvorbisenc.so'
+  'libvorbisfile.so')
   cd "${pkgname}-${pkgver}/sources"
   # doesn't have an install target: 
https://github.com/davy7125/polyphone/issues/62
   install -vDm 755 "bin/${pkgname}" -t "${pkgdir}/usr/bin/"


[arch-commits] Commit in polyphone/trunk (PKGBUILD)

2019-11-13 Thread David Runge via arch-commits
Date: Wednesday, November 13, 2019 @ 22:49:17
  Author: dvzrv
Revision: 527200

upgpkg: polyphone 2.2.0-1

Upgrading to 2.2.0. Adding all direct library dependencies. Making sure PREFIX 
is picked up by qmake.

Modified:
  polyphone/trunk/PKGBUILD

--+
 PKGBUILD |   13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-13 22:49:10 UTC (rev 527199)
+++ PKGBUILD2019-11-13 22:49:17 UTC (rev 527200)
@@ -1,6 +1,6 @@
 # Maintainer: David Runge 
 pkgname=polyphone
-pkgver=2.1.3
+pkgver=2.2.0
 pkgrel=1
 pkgdesc="A soundfont editor for quickly designing musical instruments"
 arch=('x86_64')
@@ -7,16 +7,17 @@
 url="https://polyphone-soundfonts.com/en/;
 license=('GPL3')
 groups=('pro-audio')
-depends=('desktop-file-utils' 'flac' 'gcc-libs' 'glibc' 'hicolor-icon-theme'
-'libjack.so' 'libogg' 'libqcustomplot.so' 'libvorbis.so' 'libvorbisenc.so'
-'libvorbisfile.so' 'openssl' 'qt5-base' 'qt5-svg' 'portaudio' 'rtmidi' 'stk')
+depends=('desktop-file-utils' 'libFLAC.so' 'gcc-libs' 'glibc'
+'hicolor-icon-theme' 'libjack.so' 'libogg' 'libportaudio.so'
+'libqcustomplot.so' 'libstk.so' 'libvorbis.so' 'libvorbisenc.so'
+'libvorbisfile.so' 'openssl' 'qt5-base' 'qt5-svg' 'rtmidi' 'zlib')
 makedepends=('qt5-tools')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/davy7125/${pkgname}/archive/${pkgver}.tar.gz;)
-sha512sums=('a3c8eb83dcb1652575e6cecf2c8041957ccbaeb31c68345b3a1fd70583d87af21995c4af7a484de74ee3eb34f56897ff1eeefb0f4921d59ba7a3c099cb6cc445')
+sha512sums=('88b4f0d951f75ed517e0942e75d543eca28c92fe8f2f99aee1d4be69f7d4fd74ee2219d7779b68b918befc8554cac5dc3f93ac9055bd8a94327e777a0725e5e3')
 
 build() {
   cd "${pkgname}-${pkgver}/sources"
-  qmake-qt5 "${pkgname}.pro"
+  qmake-qt5 "${pkgname}.pro" PREFIX=/usr
   make
 }
 


[arch-commits] Commit in polyphone/trunk (PKGBUILD)

2019-10-24 Thread David Runge via arch-commits
Date: Thursday, October 24, 2019 @ 21:19:49
  Author: dvzrv
Revision: 518840

upgpkg: polyphone 2.1.3-1

Upgrading to 2.1.3. Updating maintainer info. Switching to correct license 
(GPL3).

Modified:
  polyphone/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-24 21:05:34 UTC (rev 518839)
+++ PKGBUILD2019-10-24 21:19:49 UTC (rev 518840)
@@ -1,11 +1,11 @@
-# Maintainer: David Runge 
+# Maintainer: David Runge 
 pkgname=polyphone
-pkgver=2.1.2
+pkgver=2.1.3
 pkgrel=1
 pkgdesc="A soundfont editor for quickly designing musical instruments"
 arch=('x86_64')
 url="https://polyphone-soundfonts.com/en/;
-license=('GPL')
+license=('GPL3')
 groups=('pro-audio')
 depends=('desktop-file-utils' 'flac' 'gcc-libs' 'glibc' 'hicolor-icon-theme'
 'libjack.so' 'libogg' 'libqcustomplot.so' 'libvorbis.so' 'libvorbisenc.so'
@@ -12,7 +12,7 @@
 'libvorbisfile.so' 'openssl' 'qt5-base' 'qt5-svg' 'portaudio' 'rtmidi' 'stk')
 makedepends=('qt5-tools')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/davy7125/${pkgname}/archive/${pkgver}.tar.gz;)
-sha512sums=('241e0ca3e76788870239a9897c3a11909fd840fca0ba33c60f9a1da5b85890809403b6aaf97931e68286621eccfef5be622286dc3035e4ac4735c47a59c808fb')
+sha512sums=('a3c8eb83dcb1652575e6cecf2c8041957ccbaeb31c68345b3a1fd70583d87af21995c4af7a484de74ee3eb34f56897ff1eeefb0f4921d59ba7a3c099cb6cc445')
 
 build() {
   cd "${pkgname}-${pkgver}/sources"


[arch-commits] Commit in polyphone/trunk (PKGBUILD)

2019-10-19 Thread David Runge via arch-commits
Date: Saturday, October 19, 2019 @ 15:47:56
  Author: dvzrv
Revision: 517470

upgpkg: polyphone 2.1.2-1

Upgrading to 2.1.2. Removing the extra sources for man pages and xdg 
integration (they have been merged again upstream).

Modified:
  polyphone/trunk/PKGBUILD

--+
 PKGBUILD |   26 --
 1 file changed, 8 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-19 15:32:37 UTC (rev 517469)
+++ PKGBUILD2019-10-19 15:47:56 UTC (rev 517470)
@@ -1,6 +1,6 @@
 # Maintainer: David Runge 
 pkgname=polyphone
-pkgver=2.1.1
+pkgver=2.1.2
 pkgrel=1
 pkgdesc="A soundfont editor for quickly designing musical instruments"
 arch=('x86_64')
@@ -8,21 +8,11 @@
 license=('GPL')
 groups=('pro-audio')
 depends=('desktop-file-utils' 'flac' 'gcc-libs' 'glibc' 'hicolor-icon-theme'
-'libogg' 'libvorbis' 'openssl' 'qt5-svg' 'portaudio' 'qcustomplot' 'rtmidi'
-'stk')
+'libjack.so' 'libogg' 'libqcustomplot.so' 'libvorbis.so' 'libvorbisenc.so'
+'libvorbisfile.so' 'openssl' 'qt5-base' 'qt5-svg' 'portaudio' 'rtmidi' 'stk')
 makedepends=('qt5-tools')
-# xdg desktop integration/ man pages on separate branch:
-# https://github.com/davy7125/polyphone/issues/78
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/davy7125/${pkgname}/archive/${pkgver}.tar.gz;
-
"${pkgname}.1::https://raw.githubusercontent.com/davy7125/polyphone/7e7257b04dc10922c9c7f3d2ec643246cb98b4de/debian/polyphone.1;
-
"${pkgname}.fr.1::https://github.com/davy7125/polyphone/blob/7e7257b04dc10922c9c7f3d2ec643246cb98b4de/debian/polyphone.fr.1;
-
"${pkgname}.desktop::https://raw.githubusercontent.com/davy7125/polyphone/7e7257b04dc10922c9c7f3d2ec643246cb98b4de/debian/polyphone.desktop;
-
"${pkgname}.xml::https://raw.githubusercontent.com/davy7125/polyphone/7e7257b04dc10922c9c7f3d2ec643246cb98b4de/debian/polyphone.sharedmimeinfo;)
-sha512sums=('65f24a1dc77450c145e0fb45eaa4f6b2a01e72a0bc966bbd82303176bcf3c4ed9189af1422f6e270f713821213f0e1f0355b9edfd6c182e35eef16596c71e9dd'
-
'26b437f09977507220119223b817e02408fe6484e9dadd06af19a2c5e80d9f4232b013b5ed8a9631703a0933c7493a79d3e3a0ce012994b395c93a6df45481d2'
-
'658da61c125efcde6207e4deae7ab1439a1ced8df786c3f7e0a631dbb1ece0d7dfd406d2fc70a9144cddf8e1cd01075589b326136f09abbb0043d83ee6a8d900'
-
'510e28cb2444e050cb36e54eae22237717ad5d153c31628f362792c33e6c4bab802b7d372851fca67be0847fd2af29429cf5222f71c37dfdceecce4e0a26103a'
-
'c1ff6c2d50c7a6afab8e9e71811bdd155c9f4f6ece60ba3b3ed6664c2cf0f1cc003b6d0f5688adde6ad698a8d7f0117229b3d5db6aa2173bc54dec52330592dd')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/davy7125/${pkgname}/archive/${pkgver}.tar.gz;)
+sha512sums=('241e0ca3e76788870239a9897c3a11909fd840fca0ba33c60f9a1da5b85890809403b6aaf97931e68286621eccfef5be622286dc3035e4ac4735c47a59c808fb')
 
 build() {
   cd "${pkgname}-${pkgver}/sources"
@@ -38,11 +28,11 @@
 "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"
   install -vDm 644 "resources/${pkgname}.png" \
 -t "${pkgdir}/usr/share/icons/hicolor/512x512/apps"
-  install -vDm 644 "${srcdir}/${pkgname}."*1 \
+  install -vDm 644 "contrib/${pkgname}."*1 \
 -t "${pkgdir}/usr/share/man/man1/"
-  install -vDm 644 "${srcdir}/${pkgname}.desktop" \
+  install -vDm 644 "contrib/${pkgname}.desktop" \
 -t "${pkgdir}/usr/share/applications/"
-  install -vDm 644 "${srcdir}/${pkgname}.xml" \
+  install -vDm 644 "contrib/${pkgname}.xml" \
 -t "${pkgdir}/usr/share/mime/packages/"
   install -vDm 644 {../README.md,changelog} \
 -t "${pkgdir}/usr/share/doc/${pkgname}/"


[arch-commits] Commit in polyphone/trunk (PKGBUILD)

2019-10-02 Thread David Runge via arch-commits
Date: Wednesday, October 2, 2019 @ 23:33:26
  Author: dvzrv
Revision: 512461

upgpkg: polyphone 2.1.1-1

Upgrading to 2.1.1. Removing patches for latest qcustomplot (they are now 
included). Adding separate sources for man pages and xdg desktop integration, 
as they are not included in source tarballs anymore.

Modified:
  polyphone/trunk/PKGBUILD

--+
 PKGBUILD |   49 +
 1 file changed, 25 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-02 20:31:00 UTC (rev 512460)
+++ PKGBUILD2019-10-02 23:33:26 UTC (rev 512461)
@@ -1,30 +1,29 @@
 # Maintainer: David Runge 
 pkgname=polyphone
-pkgver=2.0.1
-pkgrel=5
+pkgver=2.1.1
+pkgrel=1
 pkgdesc="A soundfont editor for quickly designing musical instruments"
 arch=('x86_64')
 url="https://polyphone-soundfonts.com/en/;
 license=('GPL')
 groups=('pro-audio')
-depends=('desktop-file-utils' 'hicolor-icon-theme' 'qt5-svg' 'portaudio'
-'qcustomplot' 'rtmidi' 'stk')
+depends=('desktop-file-utils' 'flac' 'gcc-libs' 'glibc' 'hicolor-icon-theme'
+'libogg' 'libvorbis' 'openssl' 'qt5-svg' 'portaudio' 'qcustomplot' 'rtmidi'
+'stk')
 makedepends=('qt5-tools')
+# xdg desktop integration/ man pages on separate branch:
+# https://github.com/davy7125/polyphone/issues/78
 
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')
+
"${pkgname}.1::https://raw.githubusercontent.com/davy7125/polyphone/7e7257b04dc10922c9c7f3d2ec643246cb98b4de/debian/polyphone.1;
+
"${pkgname}.fr.1::https://github.com/davy7125/polyphone/blob/7e7257b04dc10922c9c7f3d2ec643246cb98b4de/debian/polyphone.fr.1;
+
"${pkgname}.desktop::https://raw.githubusercontent.com/davy7125/polyphone/7e7257b04dc10922c9c7f3d2ec643246cb98b4de/debian/polyphone.desktop;
+
"${pkgname}.xml::https://raw.githubusercontent.com/davy7125/polyphone/7e7257b04dc10922c9c7f3d2ec643246cb98b4de/debian/polyphone.sharedmimeinfo;)
+sha512sums=('65f24a1dc77450c145e0fb45eaa4f6b2a01e72a0bc966bbd82303176bcf3c4ed9189af1422f6e270f713821213f0e1f0355b9edfd6c182e35eef16596c71e9dd'
+
'26b437f09977507220119223b817e02408fe6484e9dadd06af19a2c5e80d9f4232b013b5ed8a9631703a0933c7493a79d3e3a0ce012994b395c93a6df45481d2'
+
'658da61c125efcde6207e4deae7ab1439a1ced8df786c3f7e0a631dbb1ece0d7dfd406d2fc70a9144cddf8e1cd01075589b326136f09abbb0043d83ee6a8d900'
+
'510e28cb2444e050cb36e54eae22237717ad5d153c31628f362792c33e6c4bab802b7d372851fca67be0847fd2af29429cf5222f71c37dfdceecce4e0a26103a'
+
'c1ff6c2d50c7a6afab8e9e71811bdd155c9f4f6ece60ba3b3ed6664c2cf0f1cc003b6d0f5688adde6ad698a8d7f0117229b3d5db6aa2173bc54dec52330592dd')
 
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  # adding patches to allow system qcustomplot to be used:
-  # https://github.com/davy7125/polyphone/issues/56
-  patch -Np1 -i ../${pkgname}-2.0.1-nullptr.patch
-  patch -Np1 -i ../${pkgname}-2.0.1-qcustomplot.patch
-}
-
 build() {
   cd "${pkgname}-${pkgver}/sources"
   qmake-qt5 "${pkgname}.pro"
@@ -33,16 +32,18 @@
 
 package() {
   cd "${pkgname}-${pkgver}/sources"
-  # doesn't have an install target
+  # doesn't have an install target: 
https://github.com/davy7125/polyphone/issues/62
   install -vDm 755 "bin/${pkgname}" -t "${pkgdir}/usr/bin/"
-  install -vDm 644 ../logo.png \
-"${pkgdir}/usr/share/icons/hicolor/128x128/apps/${pkgname}.png"
-  install -vDm 644 "../deployment/debian/${pkgname}."*1 \
+  install -vDm 644 "resources/logo.svg" \
+"${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"
+  install -vDm 644 "resources/${pkgname}.png" \
+-t "${pkgdir}/usr/share/icons/hicolor/512x512/apps"
+  install -vDm 644 "${srcdir}/${pkgname}."*1 \
 -t "${pkgdir}/usr/share/man/man1/"
-  install -vDm 644 "../deployment/debian/${pkgname}.desktop" \
+  install -vDm 644 "${srcdir}/${pkgname}.desktop" \
 -t "${pkgdir}/usr/share/applications/"
-  install -vDm 644 "../deployment/debian/${pkgname}.sharedmimeinfo" \
-"${pkgdir}/usr/share/mime/packages/${pkgname}.xml"
+  install -vDm 644 "${srcdir}/${pkgname}.xml" \
+-t "${pkgdir}/usr/share/mime/packages/"
   install -vDm 644 {../README.md,changelog} \
 -t 

[arch-commits] Commit in polyphone/trunk (PKGBUILD)

2019-06-22 Thread David Runge via arch-commits
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
===
--- PKGBUILD2019-06-22 21:59:25 UTC (rev 482814)
+++ PKGBUILD2019-06-22 23:07:00 UTC (rev 482815)
@@ -1,7 +1,7 @@
 # Maintainer: David Runge 
 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() {


[arch-commits] Commit in polyphone/trunk (PKGBUILD)

2019-04-26 Thread David Runge via arch-commits
Date: Friday, April 26, 2019 @ 21:15:25
  Author: dvzrv
Revision: 454343

upgpkg: polyphone 2.0.1-4

Moving icon to correct location.

Modified:
  polyphone/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-26 20:37:34 UTC (rev 454342)
+++ PKGBUILD2019-04-26 21:15:25 UTC (rev 454343)
@@ -1,13 +1,14 @@
 # Maintainer: David Runge 
 pkgname=polyphone
 pkgver=2.0.1
-pkgrel=3
+pkgrel=4
 pkgdesc="A soundfont editor for quickly designing musical instruments"
 arch=('x86_64')
 url="https://polyphone-soundfonts.com/en/;
 license=('GPL')
 groups=('pro-audio')
-depends=('desktop-file-utils' 'qt5-svg' 'portaudio' 'rtmidi' 'stk')
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'qt5-svg' 'portaudio'
+'rtmidi' 'stk')
 makedepends=('qt5-tools')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/davy7125/${pkgname}/archive/${pkgver}.tar.gz;)
 
sha512sums=('6eb59f5b19c2a944dd2cc2bb06391a32e786444f2e796d223adb2066c1965293f67ceb4f42b968e6ce101fed0a4cc4cb49a2011527701ac7bdede059548a6eac')
@@ -30,7 +31,7 @@
   # doesn't have an install target
   install -vDm 755 "bin/${pkgname}" -t "${pkgdir}/usr/bin/"
   install -vDm 644 ../logo.png \
-"${pkgdir}/usr/share/icons/128x128/apps/${pkgname}.png"
+"${pkgdir}/usr/share/icons/hicolor/128x128/apps/${pkgname}.png"
   install -vDm 644 "../deployment/debian/${pkgname}."*1 \
 -t "${pkgdir}/usr/share/man/man1/"
   install -vDm 644 "../deployment/debian/${pkgname}.desktop" \


[arch-commits] Commit in polyphone/trunk (PKGBUILD)

2019-04-18 Thread David Runge via arch-commits
Date: Thursday, April 18, 2019 @ 20:29:49
  Author: dvzrv
Revision: 451998

upgpkg: polyphone 2.0.1-3

Rebuilding against rtmidi 4.0.0. and stk 4.6.1.

Modified:
  polyphone/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-18 20:02:15 UTC (rev 451997)
+++ PKGBUILD2019-04-18 20:29:49 UTC (rev 451998)
@@ -1,7 +1,7 @@
 # Maintainer: David Runge 
 pkgname=polyphone
 pkgver=2.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A soundfont editor for quickly designing musical instruments"
 arch=('x86_64')
 url="https://polyphone-soundfonts.com/en/;


[arch-commits] Commit in polyphone/trunk (PKGBUILD)

2019-03-05 Thread David Runge via arch-commits
Date: Tuesday, March 5, 2019 @ 22:53:33
  Author: dvzrv
Revision: 437792

upgpkg: polyphone 2.0.1-2

Adding polyphone 2.0.1. Adding docs.

Modified:
  polyphone/trunk/PKGBUILD

--+
 PKGBUILD |2 ++
 1 file changed, 2 insertions(+)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-05 22:25:03 UTC (rev 437791)
+++ PKGBUILD2019-03-05 22:53:33 UTC (rev 437792)
@@ -37,4 +37,6 @@
 -t "${pkgdir}/usr/share/applications/"
   install -vDm 644 "../deployment/debian/${pkgname}.sharedmimeinfo" \
 "${pkgdir}/usr/share/mime/packages/${pkgname}.xml"
+  install -vDm 644 {../README.md,changelog} \
+-t "${pkgdir}/usr/share/doc/${pkgname}/"
 }


[arch-commits] Commit in polyphone/trunk (PKGBUILD)

2019-03-05 Thread David Runge via arch-commits
Date: Tuesday, March 5, 2019 @ 21:47:54
  Author: dvzrv
Revision: 437781

upgpkg: polyphone 2.0.1-2

Adding polyphone 2.0.1.

Modified:
  polyphone/trunk/PKGBUILD

--+
 PKGBUILD |6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-05 21:31:37 UTC (rev 437780)
+++ PKGBUILD2019-03-05 21:47:54 UTC (rev 437781)
@@ -14,13 +14,9 @@
 
 prepare() {
   cd "${pkgname}-${pkgver}/sources"
-#  # use system rtmidi, as the implementation forces the vendored version
-#  #
-#  sed -e 's/"RtMidi.h"//g' -i context/mididevice.cpp
-#  rm -vrf lib/{rtmidi,stk}
   # we need to use the vendored qcustomplot, as the current is incompatible
   # https://github.com/davy7125/polyphone/issues/56
-  sed -e '13iDEFINES += USE_LOCAL_QCUSTOMPLOT' -i "${pkgname}.pro"
+  sed -e '/USE_LOCAL_QCUSTOMPLOT/ s/#//' -i "${pkgname}.pro"
 }
 
 build() {