[arch-commits] Commit in qsynth/trunk (PKGBUILD qsynth.install)

Ray Rashif schiv at archlinux.org
Sun Sep 13 20:41:32 UTC 2015


    Date: Sunday, September 13, 2015 @ 22:41:32
  Author: schiv
Revision: 246011

upgpkg: qsynth 0.4.0-1

upstream release; move to qt5

Added:
  qsynth/trunk/qsynth.install
Modified:
  qsynth/trunk/PKGBUILD

----------------+
 PKGBUILD       |   15 ++++++++++++---
 qsynth.install |   13 +++++++++++++
 2 files changed, 25 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-13 20:02:07 UTC (rev 246010)
+++ PKGBUILD	2015-09-13 20:41:32 UTC (rev 246011)
@@ -3,19 +3,28 @@
 # Contributor: damir <damir at archlinux.org>
 
 pkgname=qsynth
-pkgver=0.3.9
+pkgver=0.4.0
 pkgrel=1
 pkgdesc="Qt GUI for FluidSynth"
 arch=('i686' 'x86_64')
 url="http://qsynth.sourceforge.net/"
 license=('GPL')
-depends=('fluidsynth' 'qt4')
+depends=('fluidsynth' 'qt5-x11extras' 'hicolor-icon-theme')
+makedepends=('qt5-tools')
+install=$pkgname.install
 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('3daf937379107d587679aeb1130271c1')
+md5sums=('47f9a2784082372689db9bf220afd63f')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
 
+  export ac_qmake=/usr/bin/qmake-qt5 \
+         ac_moc=/usr/bin/moc-qt5 \
+         ac_uic=/usr/bin/uic-qt5 \
+         ac_lupdate=/usr/bin/lupdate-qt5 \
+         ac_lrelease=/usr/bin/lrelease-qt5 \
+         QMAKE=qmake-qt5
+
   ./configure --prefix=/usr
   make
 }

Added: qsynth.install
===================================================================
--- qsynth.install	                        (rev 0)
+++ qsynth.install	2015-09-13 20:41:32 UTC (rev 246011)
@@ -0,0 +1,13 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list