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

2020-07-08 Thread David Runge via arch-commits
Date: Wednesday, July 8, 2020 @ 20:02:32
  Author: dvzrv
Revision: 661776

upgpkg: csoundqt 1:0.9.8.1-1: Downgrading to 0.9.8.1.

Upstream removed the v0.10.0 tag and (a few commits later) tagged v0.9.8.1.
https://github.com/CsoundQt/CsoundQt/issues/331

Modified:
  csoundqt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-07-08 19:53:57 UTC (rev 661775)
+++ PKGBUILD2020-07-08 20:02:32 UTC (rev 661776)
@@ -4,8 +4,9 @@
 
 _name=CsoundQt
 pkgname=csoundqt
-pkgver=0.10.0
+pkgver=0.9.8.1
 pkgrel=1
+epoch=1
 pkgdesc="A frontend for Csound"
 arch=('x86_64')
 url="https://csoundqt.github.io/";
@@ -15,7 +16,7 @@
 'qt5-declarative' 'qt5-webengine')
 makedepends=('csound' 'rtmidi')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz";)
-sha512sums=('ecf23f1997fa5e006abb61374b9cfedb7afaa297cc4075657ad590f266b05427d2779de9c272a0289eea7c62561693d9f0600cbbe275d5750be6e35598196357')
+sha512sums=('e27590f7cc5802dce55f6b3f0f1b477a68a164c65636967d5a87c71d73b389c31db755c4029496c9ab61f40b1c0afd34c56fa2026a4cae9a3de001d26023')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"


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

2020-07-01 Thread David Runge via arch-commits
Date: Wednesday, July 1, 2020 @ 15:29:06
  Author: dvzrv
Revision: 657312

upgpkg: csoundqt 0.10.0-1: Upgrading to 0.10.0.

Modified:
  csoundqt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-07-01 15:24:39 UTC (rev 657311)
+++ PKGBUILD2020-07-01 15:29:06 UTC (rev 657312)
@@ -4,7 +4,7 @@
 
 _name=CsoundQt
 pkgname=csoundqt
-pkgver=0.9.8
+pkgver=0.10.0
 pkgrel=1
 pkgdesc="A frontend for Csound"
 arch=('x86_64')
@@ -15,7 +15,7 @@
 'qt5-declarative' 'qt5-webengine')
 makedepends=('csound' 'rtmidi')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz";)
-sha512sums=('253ed416d8bd6d6fe0b7b70c5b6e1cc3d80e9963e018e949c0085e6a85cc120c53472190b7aaaec4509132586c0254b512314277f27ef09fb7296599dd33b87c')
+sha512sums=('ecf23f1997fa5e006abb61374b9cfedb7afaa297cc4075657ad590f266b05427d2779de9c272a0289eea7c62561693d9f0600cbbe275d5750be6e35598196357')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"


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

2020-07-01 Thread David Runge via arch-commits
Date: Wednesday, July 1, 2020 @ 07:59:47
  Author: dvzrv
Revision: 657285

upgpkg: csoundqt 0.9.8-1: Upgrading to 0.9.8.

Modified:
  csoundqt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-07-01 07:51:01 UTC (rev 657284)
+++ PKGBUILD2020-07-01 07:59:47 UTC (rev 657285)
@@ -4,8 +4,8 @@
 
 _name=CsoundQt
 pkgname=csoundqt
-pkgver=0.9.7
-pkgrel=2
+pkgver=0.9.8
+pkgrel=1
 pkgdesc="A frontend for Csound"
 arch=('x86_64')
 url="https://csoundqt.github.io/";
@@ -14,8 +14,8 @@
 depends=('csound-doc' 'gcc-libs' 'glibc' 'hicolor-icon-theme'  'qt5-base'
 'qt5-declarative' 'qt5-webengine')
 makedepends=('csound' 'rtmidi')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz";)
-sha512sums=('ebfb1a7b18c35794b5b4ae9fb73d53f2e87127b4c9f55824a37e5fe7133c7e68cc4b1446fb5a21bd9d213d503df06930320f345a31dd9ad175cf32215c6fd757')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz";)
+sha512sums=('253ed416d8bd6d6fe0b7b70c5b6e1cc3d80e9963e018e949c0085e6a85cc120c53472190b7aaaec4509132586c0254b512314277f27ef09fb7296599dd33b87c')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"


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

2020-03-22 Thread David Runge via arch-commits
Date: Sunday, March 22, 2020 @ 10:57:36
  Author: dvzrv
Revision: 603375

upgpkg: csoundqt 0.9.7-2: Extending qmake configuration.

Adding html_webengine (html5 support) and record_support (recording support) to 
qmake's CONFIG.
Moving sodeps to package() and depending on the respective packages in 
makedepends.
Adding qt5-webengine to depends (for html_webengine).

Modified:
  csoundqt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-03-22 10:53:42 UTC (rev 603374)
+++ PKGBUILD2020-03-22 10:57:36 UTC (rev 603375)
@@ -5,14 +5,15 @@
 _name=CsoundQt
 pkgname=csoundqt
 pkgver=0.9.7
-pkgrel=1
+pkgrel=2
 pkgdesc="A frontend for Csound"
 arch=('x86_64')
 url="https://csoundqt.github.io/";
 license=('CCPL' 'FDL' 'GPL' 'LGPL2.1')
 groups=('pro-audio')
-depends=('csound-doc' 'gcc-libs' 'glibc' 'hicolor-icon-theme' 'libcsnd6.so'
-'libcsound64.so' 'librtmidi.so' 'qt5-base' 'qt5-declarative')
+depends=('csound-doc' 'gcc-libs' 'glibc' 'hicolor-icon-theme'  'qt5-base'
+'qt5-declarative' 'qt5-webengine')
+makedepends=('csound' 'rtmidi')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz";)
 
sha512sums=('ebfb1a7b18c35794b5b4ae9fb73d53f2e87127b4c9f55824a37e5fe7133c7e68cc4b1446fb5a21bd9d213d503df06930320f345a31dd9ad175cf32215c6fd757')
 
@@ -25,11 +26,14 @@
   qmake-qt5 qcs.pro \
 SHARE_DIR="${pkgdir}/usr/share" \
 INSTALL_DIR="${pkgdir}/usr" \
-CONFIG+=rtmidi
+CONFIG+=rtmidi \
+CONFIG+=html_webengine \
+CONFIG+=record_support
   make
 }
 
 package() {
+  depends+=('libcsnd6.so' 'libcsound64.so' 'librtmidi.so')
   cd "${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
   # docs


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

2020-01-17 Thread David Runge via arch-commits
Date: Friday, January 17, 2020 @ 18:09:38
  Author: dvzrv
Revision: 552885

upgpkg: csoundqt 0.9.7-1: Upgrading to 0.9.7. Updating maintainer info. Adding 
all direct library dependencies. Removing shared-mime-info from makedepends.
Shortening pkgdesc and doing minor cleanups.

Modified:
  csoundqt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-01-17 17:58:47 UTC (rev 552884)
+++ PKGBUILD2020-01-17 18:09:38 UTC (rev 552885)
@@ -1,20 +1,20 @@
-# Maintainer: David Runge 
+# Maintainer: David Runge 
 # Contributor: Ainola
 # Contributor: rtfreedman
 
 _name=CsoundQt
 pkgname=csoundqt
-pkgver=0.9.6
+pkgver=0.9.7
 pkgrel=1
-pkgdesc="Csound frontend with highlighting editor, autocomplete, interactive 
widgets and integrated help"
+pkgdesc="A frontend for Csound"
 arch=('x86_64')
 url="https://csoundqt.github.io/";
 license=('CCPL' 'FDL' 'GPL' 'LGPL2.1')
 groups=('pro-audio')
-depends=('csound' 'csound-doc' 'desktop-file-utils' 'hicolor-icon-theme' 
'qt5-declarative' 'rtmidi')
-makedepends=('shared-mime-info')
+depends=('csound-doc' 'gcc-libs' 'glibc' 'hicolor-icon-theme' 'libcsnd6.so'
+'libcsound64.so' 'librtmidi.so' 'qt5-base' 'qt5-declarative')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz";)
-sha512sums=('d5f37753e51a501eb150362fcb17f35c091704fe516f944212c267e852b6563bde738235f3dc1ec82f45586bf4203f8d93a7e52487c56b90acbf398da4fc4138')
+sha512sums=('ebfb1a7b18c35794b5b4ae9fb73d53f2e87127b4c9f55824a37e5fe7133c7e68cc4b1446fb5a21bd9d213d503df06930320f345a31dd9ad175cf32215c6fd757')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
@@ -33,8 +33,6 @@
   cd "${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
   # docs
-  install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
--vDm644 {ChangeLog,README.md}
+  install -vDm 644 {ChangeLog,README.md} \
+-t "${pkgdir}/usr/share/doc/${pkgname}/"
 }
-
-# vim:set ts=2 sw=2 et:


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

2019-07-11 Thread David Runge via arch-commits
Date: Thursday, July 11, 2019 @ 12:15:15
  Author: dvzrv
Revision: 488745

upgpkg: csoundqt 0.9.6-1

Upgrading to 0.9.6. Removing fixes added in 0.9.6rc1, as they have been 
upstreamed.

Modified:
  csoundqt/trunk/PKGBUILD

--+
 PKGBUILD |   19 +--
 1 file changed, 5 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-07-11 12:13:59 UTC (rev 488744)
+++ PKGBUILD2019-07-11 12:15:15 UTC (rev 488745)
@@ -2,11 +2,10 @@
 # Contributor: Ainola
 # Contributor: rtfreedman
 
-_pkgver=0.9.6-rc1
 _name=CsoundQt
 pkgname=csoundqt
-pkgver=${_pkgver//-}
-pkgrel=2
+pkgver=0.9.6
+pkgrel=1
 pkgdesc="Csound frontend with highlighting editor, autocomplete, interactive 
widgets and integrated help"
 arch=('x86_64')
 url="https://csoundqt.github.io/";
@@ -14,16 +13,11 @@
 groups=('pro-audio')
 depends=('csound' 'csound-doc' 'desktop-file-utils' 'hicolor-icon-theme' 
'qt5-declarative' 'rtmidi')
 makedepends=('shared-mime-info')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${_pkgver}.tar.gz";)
-sha512sums=('6ed98d28248936a860b6f92432e031c54f9584ec0b826dc6d1e69adade781d4104f613fc969196b188a413990cc1196821a9ecffc3aea5d653ec2da65be5c2f2')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz";)
+sha512sums=('d5f37753e51a501eb150362fcb17f35c091704fe516f944212c267e852b6563bde738235f3dc1ec82f45586bf4203f8d93a7e52487c56b90acbf398da4fc4138')
 
 prepare() {
-  mv -v "${_name}-${_pkgver}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  # fix inclusion of wrong path:
-  # https://github.com/CsoundQt/CsoundQt/issues/258#issuecomment-50898
-  sed -e 's|/usr/local/rtmidi|/usr/include/rtmidi|g' \
-  -i config.pri
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
 }
 
 build() {
@@ -38,9 +32,6 @@
 package() {
   cd "${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
-  # overwrite broken symlink:
-  # https://github.com/CsoundQt/CsoundQt/issues/258#issuecomment-508982990
-  ln -svf "${_name}-d-cs6" "${pkgdir}/usr/bin/${pkgname}"
   # docs
   install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
 -vDm644 {ChangeLog,README.md}


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

2019-07-07 Thread David Runge via arch-commits
Date: Sunday, July 7, 2019 @ 11:59:30
  Author: dvzrv
Revision: 487625

upgpkg: csoundqt 0.9.6rc1-2

Actually *building with* rtmidi...

Modified:
  csoundqt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-07-07 10:35:17 UTC (rev 487624)
+++ PKGBUILD2019-07-07 11:59:30 UTC (rev 487625)
@@ -6,7 +6,7 @@
 _name=CsoundQt
 pkgname=csoundqt
 pkgver=${_pkgver//-}
-pkgrel=1
+pkgrel=2
 pkgdesc="Csound frontend with highlighting editor, autocomplete, interactive 
widgets and integrated help"
 arch=('x86_64')
 url="https://csoundqt.github.io/";
@@ -30,7 +30,8 @@
   cd "${pkgname}-${pkgver}"
   qmake-qt5 qcs.pro \
 SHARE_DIR="${pkgdir}/usr/share" \
-INSTALL_DIR="${pkgdir}/usr"
+INSTALL_DIR="${pkgdir}/usr" \
+CONFIG+=rtmidi
   make
 }
 


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

2019-07-07 Thread David Runge via arch-commits
Date: Sunday, July 7, 2019 @ 09:27:12
  Author: dvzrv
Revision: 487596

upgpkg: csoundqt 0.9.6rc1-1

Upgrading to 0.9.6rc1 to remove most of the manual fixes. Adding fix for rtmidi 
include path and fix for overwriting a broken symlink. Dropping custom rtmidi 
download/include.

Modified:
  csoundqt/trunk/PKGBUILD

--+
 PKGBUILD |   58 ++
 1 file changed, 18 insertions(+), 40 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-07-07 08:57:30 UTC (rev 487595)
+++ PKGBUILD2019-07-07 09:27:12 UTC (rev 487596)
@@ -2,66 +2,44 @@
 # Contributor: Ainola
 # Contributor: rtfreedman
 
+_pkgver=0.9.6-rc1
 _name=CsoundQt
-_rtmidiver=3.0.0
 pkgname=csoundqt
-pkgver=0.9.5
-pkgrel=7
+pkgver=${_pkgver//-}
+pkgrel=1
 pkgdesc="Csound frontend with highlighting editor, autocomplete, interactive 
widgets and integrated help"
 arch=('x86_64')
 url="https://csoundqt.github.io/";
 license=('CCPL' 'FDL' 'GPL' 'LGPL2.1')
 groups=('pro-audio')
-# TODO: somehow include pythonqt
-depends=('csound' 'csound-doc' 'qt5-declarative')
+depends=('csound' 'csound-doc' 'desktop-file-utils' 'hicolor-icon-theme' 
'qt5-declarative' 'rtmidi')
 makedepends=('shared-mime-info')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz";
-
"rtmidi-${_rtmidiver}.tar.gz::https://github.com/thestk/rtmidi/archive/v${_rtmidiver}.tar.gz";)
-sha512sums=('136fb395b955e21c153ccde3642362d4451bd458af78e235808a8b911a87e24fc5614c72b0e09f3dcd6ab1f49d563eb547dc1371b8ebd75cb8e051a2d629fb74'
-
'8975a63e7be9102af70401cef48c702597b87efe2d8fa30a978fe280e26da1dfa90d6f30cfbd3df587462f0dd085d0f29e1c014e67d7fcd3a36960b6bcfb3e55')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${_pkgver}.tar.gz";)
+sha512sums=('6ed98d28248936a860b6f92432e031c54f9584ec0b826dc6d1e69adade781d4104f613fc969196b188a413990cc1196821a9ecffc3aea5d653ec2da65be5c2f2')
 
 prepare() {
-  cd "${_name}-${pkgver}"
-  # fix exptected location for html, examples and scripts
-  sed -e 's,csdocdir = \"\",csdocdir = \"/usr/share/doc/csound-doc/html\",' \
--i src/csoundoptions.cpp
-  sed -e 's,/usr/share/qutecsound/Examples/,/usr/share/csoundqt/Examples/,g' \
--i src/qutecsound.cpp
-  sed -e 's,../../csoundqt/src/Scripts,/usr/share/csoundqt/Scripts,' \
--i src/types.h
-
-  # fix install location of examples on filesystem
-  sed -e 's@DIR/qutecsound/@DIR/csoundqt/@' -i qcs.pro
-
-  # fix desktop file
-  chmod -c 644 ${_name}.desktop
-  mv -v ${_name}.desktop ${pkgname}.desktop
-  sed -e "s/${_name}.desktop/${pkgname}.desktop/" -i qcs.pro
-
-  # fix application icon
-  sed -e "s/qtcs/${pkgname}/" -i "${pkgname}.desktop"
-  sed -e "s,icons,icons/hicolor/scalable/apps," \
-  -e "s/qtcs.svg/${pkgname}.svg/" \
-  -i qcs.pro
-  mv -v images/qtcs.svg "images/${pkgname}.svg"
-
-  # move rtmidi sources
-  mv ${srcdir}/rtmidi-${_rtmidiver} .
+  mv -v "${_name}-${_pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  # fix inclusion of wrong path:
+  # https://github.com/CsoundQt/CsoundQt/issues/258#issuecomment-50898
+  sed -e 's|/usr/local/rtmidi|/usr/include/rtmidi|g' \
+  -i config.pri
 }
 
 build() {
-  cd "${_name}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
   qmake-qt5 qcs.pro \
 SHARE_DIR="${pkgdir}/usr/share" \
-INSTALL_DIR="${pkgdir}/usr" \
-CONFIG+=rtmidi \
-RTMIDI_DIR="rtmidi-${_rtmidiver}/"
+INSTALL_DIR="${pkgdir}/usr"
   make
 }
 
 package() {
-  cd "${_name}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
+  # overwrite broken symlink:
+  # https://github.com/CsoundQt/CsoundQt/issues/258#issuecomment-508982990
+  ln -svf "${_name}-d-cs6" "${pkgdir}/usr/bin/${pkgname}"
   # docs
   install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
 -vDm644 {ChangeLog,README.md}


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

2018-06-03 Thread David Runge via arch-commits
Date: Sunday, June 3, 2018 @ 12:09:35
  Author: dvzrv
Revision: 339115

upgpkg: csoundqt 0.9.5-7

Adding to pro-audio group. Shortening pkgdesc.

Modified:
  csoundqt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-06-03 12:07:10 UTC (rev 339114)
+++ PKGBUILD2018-06-03 12:09:35 UTC (rev 339115)
@@ -6,12 +6,13 @@
 _rtmidiver=3.0.0
 pkgname=csoundqt
 pkgver=0.9.5
-pkgrel=6
-pkgdesc="A frontend for Csound featuring a highlighting editor with 
autocomplete, interactive widgets and integrated help"
+pkgrel=7
+pkgdesc="Csound frontend with highlighting editor, autocomplete, interactive 
widgets and integrated help"
 arch=('x86_64')
 url="https://csoundqt.github.io/";
 license=('CCPL' 'FDL' 'GPL' 'LGPL2.1')
-# somehow include pythonqt
+groups=('pro-audio')
+# TODO: somehow include pythonqt
 depends=('csound' 'csound-doc' 'qt5-declarative')
 makedepends=('shared-mime-info')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz";


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

2018-02-13 Thread David Runge via arch-commits
Date: Tuesday, February 13, 2018 @ 11:00:10
  Author: dvzrv
Revision: 293773

upgpkg: csoundqt 0.9.5-6

Adding csoundqt with doc directory set to that of csound-doc.

Modified:
  csoundqt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-02-13 10:55:38 UTC (rev 293772)
+++ PKGBUILD2018-02-13 11:00:10 UTC (rev 293773)
@@ -6,7 +6,7 @@
 _rtmidiver=3.0.0
 pkgname=csoundqt
 pkgver=0.9.5
-pkgrel=5
+pkgrel=6
 pkgdesc="A frontend for Csound featuring a highlighting editor with 
autocomplete, interactive widgets and integrated help"
 arch=('x86_64')
 url="https://csoundqt.github.io/";
@@ -22,7 +22,7 @@
 prepare() {
   cd "${_name}-${pkgver}"
   # fix exptected location for html, examples and scripts
-  sed -e 's,csdocdir = \"\",csdocdir = \"/usr/share/doc/csound/html\",' \
+  sed -e 's,csdocdir = \"\",csdocdir = \"/usr/share/doc/csound-doc/html\",' \
 -i src/csoundoptions.cpp
   sed -e 's,/usr/share/qutecsound/Examples/,/usr/share/csoundqt/Examples/,g' \
 -i src/qutecsound.cpp
@@ -61,7 +61,7 @@
 package() {
   cd "${_name}-${pkgver}"
   make DESTDIR="${pkgdir}" install
-
+  # docs
   install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
 -vDm644 {ChangeLog,README.md}
 }


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

2018-01-31 Thread David Runge via arch-commits
Date: Wednesday, January 31, 2018 @ 13:19:20
  Author: dvzrv
Revision: 288397

upgpkg: csoundqt 0.9.5-5

Moving DESTDIR to make install in package().

Modified:
  csoundqt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-01-31 13:05:08 UTC (rev 288396)
+++ PKGBUILD2018-01-31 13:19:20 UTC (rev 288397)
@@ -6,7 +6,7 @@
 _rtmidiver=3.0.0
 pkgname=csoundqt
 pkgver=0.9.5
-pkgrel=4
+pkgrel=5
 pkgdesc="A frontend for Csound featuring a highlighting editor with 
autocomplete, interactive widgets and integrated help"
 arch=('x86_64')
 url="https://csoundqt.github.io/";
@@ -50,7 +50,7 @@
 
 build() {
   cd "${_name}-${pkgver}"
-  qmake-qt5 qcs.pro DESTDIR="${pkgdir}" \
+  qmake-qt5 qcs.pro \
 SHARE_DIR="${pkgdir}/usr/share" \
 INSTALL_DIR="${pkgdir}/usr" \
 CONFIG+=rtmidi \
@@ -60,8 +60,7 @@
 
 package() {
   cd "${_name}-${pkgver}"
-  echo "${pkgdir}/"
-  make install
+  make DESTDIR="${pkgdir}" install
 
   install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
 -vDm644 {ChangeLog,README.md}


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

2018-01-30 Thread David Runge via arch-commits
Date: Tuesday, January 30, 2018 @ 17:55:30
  Author: dvzrv
Revision: 288328

upgpkg: csoundqt 0.9.5-4

Properly using qmake installer. Fixing files, permissions and locations in 
prepare().

Modified:
  csoundqt/trunk/PKGBUILD

--+
 PKGBUILD |   59 +--
 1 file changed, 29 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-01-30 17:51:55 UTC (rev 288327)
+++ PKGBUILD2018-01-30 17:55:30 UTC (rev 288328)
@@ -6,7 +6,7 @@
 _rtmidiver=3.0.0
 pkgname=csoundqt
 pkgver=0.9.5
-pkgrel=3
+pkgrel=4
 pkgdesc="A frontend for Csound featuring a highlighting editor with 
autocomplete, interactive widgets and integrated help"
 arch=('x86_64')
 url="https://csoundqt.github.io/";
@@ -21,15 +21,29 @@
 
 prepare() {
   cd "${_name}-${pkgver}"
-  # fix system-wide locations for html, examples and scripts
+  # fix exptected location for html, examples and scripts
   sed -e 's,csdocdir = \"\",csdocdir = \"/usr/share/doc/csound/html\",' \
 -i src/csoundoptions.cpp
-  sed -e 's@/usr/share/qutecsound/Examples/@/usr/share/csoundqt/Examples/@g' \
+  sed -e 's,/usr/share/qutecsound/Examples/,/usr/share/csoundqt/Examples/,g' \
 -i src/qutecsound.cpp
-  sed 's@../../csoundqt/src/Scripts@/usr/share/csoundqt/Scripts@' \
+  sed -e 's,../../csoundqt/src/Scripts,/usr/share/csoundqt/Scripts,' \
 -i src/types.h
-  # fix icon in desktop file
-  sed -e "s/qtcs/${pkgname}/" -i ${_name}.desktop
+
+  # fix install location of examples on filesystem
+  sed -e 's@DIR/qutecsound/@DIR/csoundqt/@' -i qcs.pro
+
+  # fix desktop file
+  chmod -c 644 ${_name}.desktop
+  mv -v ${_name}.desktop ${pkgname}.desktop
+  sed -e "s/${_name}.desktop/${pkgname}.desktop/" -i qcs.pro
+
+  # fix application icon
+  sed -e "s/qtcs/${pkgname}/" -i "${pkgname}.desktop"
+  sed -e "s,icons,icons/hicolor/scalable/apps," \
+  -e "s/qtcs.svg/${pkgname}.svg/" \
+  -i qcs.pro
+  mv -v images/qtcs.svg "images/${pkgname}.svg"
+
   # move rtmidi sources
   mv ${srcdir}/rtmidi-${_rtmidiver} .
 }
@@ -36,36 +50,21 @@
 
 build() {
   cd "${_name}-${pkgver}"
-  qmake-qt5 qcs.pro CONFIG+=rtmidi "RTMIDI_DIR=rtmidi-${_rtmidiver}/"
+  qmake-qt5 qcs.pro DESTDIR="${pkgdir}" \
+SHARE_DIR="${pkgdir}/usr/share" \
+INSTALL_DIR="${pkgdir}/usr" \
+CONFIG+=rtmidi \
+RTMIDI_DIR="rtmidi-${_rtmidiver}/"
   make
 }
 
 package() {
   cd "${_name}-${pkgver}"
-  # executable
-  install -vDm755 "bin/${_name}-d-cs6" "${pkgdir}/usr/bin/${pkgname}"
-  # docs
-  install -vDm644 doc/*.pdf  -t "${pkgdir}/usr/share/doc/${pkgname}"
-  # mime types and icon
-  install -vDm644 mime-types/*.xml -t "${pkgdir}/usr/share/mime/packages/"
-  install -vDm644 mime-types/csound-light-128.png \
-"${pkgdir}/usr/share/icons/hicolor/128x128/mimetypes/csound.png"
-  # desktop file and icon
-  install -vDm644 "${_name}.desktop" \
-"${pkgdir}/usr/share/applications/${pkgname}.desktop"
-  install -vDm644 images/qtcs.png \
-"${pkgdir}/usr/share/icons/hicolor/128x128/apps/${pkgname}.png"
+  echo "${pkgdir}/"
+  make install
 
-  # examples
-  find examples -type f -print0 | xargs -0 -n1 -i{} install -Dm644 '{}' \
-"$pkgdir/usr/share/doc/${pkgname}/"'{}'
-  cd src
-  find Examples -type f -print0 | xargs -0 -n1 -i{} install -Dm644 '{}' \
-"$pkgdir/usr/share/${pkgname}/"'{}'
-
-#  # pythonqt scripts (disabled until pythonqt is included properly)
-#  find Scripts -type f -print0 | xargs -0 -n1 -i{} install -Dm644 '{}' \
-#"$pkgdir/usr/share/${pkgname}/"'{}'
+  install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
+-vDm644 {ChangeLog,README.md}
 }
 
 # vim:set ts=2 sw=2 et:


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

2018-01-26 Thread David Runge via arch-commits
Date: Friday, January 26, 2018 @ 21:21:26
  Author: dvzrv
Revision: 287285

upgpkg: csoundqt 0.9.5-3

Updating maintainer. Fixing source names.

Modified:
  csoundqt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-01-26 20:23:24 UTC (rev 287284)
+++ PKGBUILD2018-01-26 21:21:26 UTC (rev 287285)
@@ -1,4 +1,5 @@
-# Maintainer:  Ainola
+# Maintainer: David Runge 
+# Contributor: Ainola
 # Contributor: rtfreedman
 
 _name=CsoundQt
@@ -5,7 +6,7 @@
 _rtmidiver=3.0.0
 pkgname=csoundqt
 pkgver=0.9.5
-pkgrel=2
+pkgrel=3
 pkgdesc="A frontend for Csound featuring a highlighting editor with 
autocomplete, interactive widgets and integrated help"
 arch=('x86_64')
 url="https://csoundqt.github.io/";
@@ -13,8 +14,8 @@
 # somehow include pythonqt
 depends=('csound' 'csound-doc' 'qt5-declarative')
 makedepends=('shared-mime-info')
-source=("${pkgname}-${pkgver}::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz";
-
"rtmidi-${_rtmidiver}::https://github.com/thestk/rtmidi/archive/v${_rtmidiver}.tar.gz";)
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz";
+
"rtmidi-${_rtmidiver}.tar.gz::https://github.com/thestk/rtmidi/archive/v${_rtmidiver}.tar.gz";)
 
sha512sums=('136fb395b955e21c153ccde3642362d4451bd458af78e235808a8b911a87e24fc5614c72b0e09f3dcd6ab1f49d563eb547dc1371b8ebd75cb8e051a2d629fb74'
 
'8975a63e7be9102af70401cef48c702597b87efe2d8fa30a978fe280e26da1dfa90d6f30cfbd3df587462f0dd085d0f29e1c014e67d7fcd3a36960b6bcfb3e55')