Browse Source

ap/lilypond: Updated.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
cae878f460
  1. 2
      ap/lilypond/checksums
  2. 1
      ap/lilypond/lilypond-2.18.2-1.documentation.tar.bz2.sha1
  3. 12
      ap/lilypond/lilypond-2.18.2-fontforge-version-check.diff
  4. 1
      ap/lilypond/lilypond-2.18.2.tar.gz.sha1
  5. 15
      ap/lilypond/lilypond.SlackBuild

2
ap/lilypond/checksums

@ -0,0 +1,2 @@
329d733765b0ba7be1878ae3f457dbbb875cc2840d2b75af4afc48c9454fba07 lilypond-2.18.2.tar.gz
e3d7474200448c9677925ccf4f90982ca87e8f789e143afdc6bf397f0e368b99 lilypond-2.18.2-1.documentation.tar.bz2

1
ap/lilypond/lilypond-2.18.2-1.documentation.tar.bz2.sha1

@ -1 +0,0 @@
82b0b1213eb8e39cc9e6014b450d4cc1159ebd4a lilypond-2.18.2-1.documentation.tar.bz2

12
ap/lilypond/lilypond-2.18.2-fontforge-version-check.diff

@ -1,12 +0,0 @@
diff -Naur lilypond-2.18.2.orig/aclocal.m4 lilypond-2.18.2/aclocal.m4
--- lilypond-2.18.2.orig/aclocal.m4 2014-03-17 16:29:16.000000000 +0100
+++ lilypond-2.18.2/aclocal.m4 2015-07-20 23:48:09.857819701 +0200
@@ -42,7 +42,7 @@
if test -z "$_ver"; then
## If empty, try date [fontforge]
- eval _ver=\"\`("$1" --version || "$1" -V) 2>&1 | grep '[0-9]\{6,8\}' \
+ eval _ver=\"\`("$1" --version || "$1" -V) 2>&1 | grep 'libfontforge [0-9]\{6,8\}' \
| head -n 1 \
| sed -e 's/^[^.0-9]*//' -e 's/[^.0-9]*$//'\`\"
fi

1
ap/lilypond/lilypond-2.18.2.tar.gz.sha1

@ -1 +0,0 @@
09d3a1e0e9fadeb8ef6e279227a2b30812c7ee9b lilypond-2.18.2.tar.gz

15
ap/lilypond/lilypond.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009,2010,2011,2012,2015 Damien Goutte-Gattat
# Copyright (C) 2009-2012,2015,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# ispermitted provided that the following conditions are met:
@ -24,7 +24,7 @@
#
# Latest LilyPond sourcecode is available at: <http://lilypond.org/>.
#
# Depends: xap/fontforge, ap/t1utils, d/guile1
# Depends: d/guile1, xap/fontforge
# Source package infos
NAMESRC=${NAMESRC:-lilypond}
@ -83,8 +83,7 @@ if [ ! -r $ARCHDOC ]; then
wget -c -O $ARCHDOC.part "$WGETDOC"
mv $ARCHDOC.part $ARCHDOC
fi
sha1sum -c $ARCHIVE.sha1
sha1sum -c $ARCHDOC.sha1
sha256sum -c checksums
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Extract
@ -92,8 +91,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
patch -p 1 < $CWD/lilypond-2.18.2-fontforge-version-check.diff
./autogen.sh --noconf
mkdir build && cd build
GUILE=/usr/bin/guile1 \
GUILE_CONFIG=/usr/bin/guile1-config \
@ -143,6 +140,12 @@ find $PKG/usr/info -type f -exec gzip -9 '{}' \;
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
fontforge
guile1
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save