summaryrefslogtreecommitdiff
path: root/community/lilypond/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lilypond/PKGBUILD')
-rw-r--r--community/lilypond/PKGBUILD21
1 files changed, 15 insertions, 6 deletions
diff --git a/community/lilypond/PKGBUILD b/community/lilypond/PKGBUILD
index 8290c3659..13d35b6a8 100644
--- a/community/lilypond/PKGBUILD
+++ b/community/lilypond/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 92554 2013-06-08 11:18:50Z bpiotrowski $
+# $Id: PKGBUILD 103224 2013-12-30 15:18:05Z bgyorgy $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Geoffroy Carrier <geoffroy@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
@@ -6,7 +6,7 @@
pkgname=lilypond
pkgver=2.16.2
-pkgrel=3
+pkgrel=5
pkgdesc="An automated music engraving system"
arch=('i686' 'x86_64' 'mips64el')
url="http://lilypond.org"
@@ -15,9 +15,13 @@ depends=('guile1.8' 'python2' 'texlive-core' 'ghostscript' 'pango' 'fontconfig')
makedepends=('flex' 'bison' 'gettext' 'mftrace' 'texinfo' 'fontforge' 't1utils'
'gsfonts' 'texi2html')
options=('emptydirs')
-install=lilypond.install
-source=(http://download.linuxaudio.org/lilypond/sources/v2.16/$pkgname-$pkgver.tar.gz)
-md5sums=('6db27f17d47e4f66a3b0716c65db3041')
+#install=lilypond.install
+source=(http://download.linuxaudio.org/lilypond/sources/v2.16/$pkgname-$pkgver.tar.gz
+ lilypond.git-1ca9814191d16fd3c571d93035247db039254fc1.patch
+ lilypond.git-7705e46966bfa05015fb9fb20c68da844ab88028.patch)
+md5sums=('6db27f17d47e4f66a3b0716c65db3041'
+ '121ac86f1004338ae20ad55a5690c0ad'
+ 'fa5073506f0e4dd96fb1858e3a75e08e')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
@@ -31,7 +35,11 @@ prepare() {
sed -i 's|GUILE_CFLAGS=.*|GUILE_CFLAGS="`pkg-config --cflags guile-1.8`"|' configure
sed -i 's|GUILE_LDFLAGS=.*|GUILE_LDFLAGS="`pkg-config --libs guile-1.8`"|' configure
- rm -rf python/out/
+ rm -rf lily/out/ python/out/
+
+ # Fix build
+ patch -Np1 -i "$srcdir/lilypond.git-1ca9814191d16fd3c571d93035247db039254fc1.patch"
+ patch -Np1 -i "$srcdir/lilypond.git-7705e46966bfa05015fb9fb20c68da844ab88028.patch"
}
build() {
@@ -39,6 +47,7 @@ build() {
export PYTHON=/usr/bin/python2
export GUILE=/usr/bin/guile1.8
export GUILE_CONFIG=/usr/bin/guile-config1.8
+ export LDFLAGS="$LDFLAGS -lpthread"
./configure --prefix=/usr --disable-documentation
make
}