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

Ray Rashif schiv at archlinux.org
Thu Aug 11 18:35:35 UTC 2011


    Date: Thursday, August 11, 2011 @ 14:35:34
  Author: schiv
Revision: 135263

buildtime fix: liblrdf raptor2 compatibility

Modified:
  rosegarden/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-08-11 17:04:02 UTC (rev 135262)
+++ PKGBUILD	2011-08-11 18:35:34 UTC (rev 135263)
@@ -13,22 +13,23 @@
 license=('GPL')
 depends=('liblrdf' 'dssi' 'fftw' 'lirc-utils'
          'perl' 'qt' 'shared-mime-info')
-makedepends=('pkgconfig' 'imake')
+makedepends=('imake')
 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')
+[ "$CARCH" = "i686" ] && optdepends+=('dssi-vst: win32 VST support')
 install=$pkgname.install
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
 md5sums=('77ab43d06de53ace338843ff82e26288')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
 
+  # lrdf + raptor2 compatibility
+  export lrdf_CFLAGS="$(pkg-config --cflags raptor2)"
   ./configure --prefix=/usr
   make
 }
@@ -36,7 +37,7 @@
 package() {
   cd "$srcdir/$pkgname-$pkgver"
 
-  make DESTDIR="$pkgdir/" install
+  make DESTDIR="$pkgdir" install
 }
 
 # vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list