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

Ray Rashif schiv at archlinux.org
Fri Jul 23 05:36:42 EDT 2010


    Date: Friday, July 23, 2010 @ 05:36:41
  Author: schiv
Revision: 85973

upgpkg: rosegarden 10.04-1
rosegarden: updated to latest upstream release with dependency ammendments

Modified:
  rosegarden/trunk/PKGBUILD
  rosegarden/trunk/rosegarden.install

--------------------+
 PKGBUILD           |   39 +++++++++++++++++++++++++++------------
 rosegarden.install |    8 ++++----
 2 files changed, 31 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-23 07:24:12 UTC (rev 85972)
+++ PKGBUILD	2010-07-23 09:36:41 UTC (rev 85973)
@@ -1,27 +1,42 @@
 # $Id$
-# Maintainer: 
+# Maintainer: Ray Rashif <schivmeister at gmail.com>
 # Contributor: Giovanni Scafora <giovanni at archlinux.org>
 # Contributor: damir <damir at archlinux.org>
 # Contributor: Robert Emil Berge <robert at rebi.no>
 
 pkgname=rosegarden
-pkgver=10.02
+pkgver=10.04
 pkgrel=1
-pkgdesc="MIDI and audio sequencer and notation editor"
+pkgdesc="MIDI/audio sequencer and notation editor"
 arch=('i686' 'x86_64')
 url="http://www.rosegardenmusic.com/"
 license=('GPL')
-depends=('fftw' 'qt' 'liblrdf' 'dssi' 'ladspa' 'liblo' 'lirc-utils' 'shared-mime-info')
+depends=('liblrdf' 'dssi' 'fftw' 'lirc-utils'
+         'perl' 'qt' 'shared-mime-info')
 makedepends=('pkgconfig' 'imake')
-install=rosegarden.install
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('64c09426f0085af7984cc4c26f352c97')
+optdepends=('lilypond: notation display'
+            'cups: printing support'
+            'okular: print preview, or any other PDF viewer'
+            'timidity++: MIDI playback, or any other softsynth'
+            'flac'
+            'wavpack')
+[ "$CARCH" = "i686" ] && optdepends=("${optdepends[@]}"
+                                     'dssi-vst: win32 VST support')
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('b25f2f629f31ecf24b84db3ccbe555c9')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "$srcdir/$pkgname-$pkgver"
 
-  ./configure --prefix=/usr \
-              --with-qtdir=/usr || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+  ./configure --prefix=/usr
+  make
 }
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:

Modified: rosegarden.install
===================================================================
--- rosegarden.install	2010-07-23 07:24:12 UTC (rev 85972)
+++ rosegarden.install	2010-07-23 09:36:41 UTC (rev 85973)
@@ -4,11 +4,11 @@
 }
 
 post_upgrade() {
-  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-  update-mime-database usr/share/mime &> /dev/null
+  post_install
 }
 
 post_remove() {
-  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-  update-mime-database usr/share/mime &> /dev/null
+  post_install
 }
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list