aboutsummaryrefslogtreecommitdiff
path: root/graphics/lilypond/lilypond.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/lilypond/lilypond.SlackBuild')
-rw-r--r--graphics/lilypond/lilypond.SlackBuild18
1 files changed, 5 insertions, 13 deletions
diff --git a/graphics/lilypond/lilypond.SlackBuild b/graphics/lilypond/lilypond.SlackBuild
index d4885d8a4d26..d25e85366313 100644
--- a/graphics/lilypond/lilypond.SlackBuild
+++ b/graphics/lilypond/lilypond.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for lilypond
-# Copyright 2012-2022 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2012-2023 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lilypond
-VERSION=${VERSION:-2.22.2}
+VERSION=${VERSION:-2.24.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -47,7 +47,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
-DOCS="AUTHORS* COPYING* DEDICATION HACKING INSTALL* LICENSE* NEWS* README* ROADMAP"
+DOCS="AUTHORS* COPYING* DEDICATION INSTALL* LICENSE* NEWS* README* ROADMAP"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -77,8 +77,6 @@ chmod -R u+w,go-w,a+rX-st .
# Move the vim syntax highlighting files to where vim can find them.
sed -i '/^vimdir/s|=.*|= $(datadir)/vim/vimfiles|' config.make.in
-# --with-texgyre-dir is needed until/unless texlive's fonts are available by default:
-# `cd /etc/fonts/conf.d && ln -s ../conf.avail/09-texlive.conf`
./configure \
--prefix=/usr \
--libdir=\${exec_prefix}/lib${LIBDIRSUFFIX} \
@@ -88,23 +86,17 @@ sed -i '/^vimdir/s|=.*|= $(datadir)/vim/vimfiles|' config.make.in
--infodir=\${prefix}/info \
--docdir=\${prefix}/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
- --with-texgyre-dir=/usr/share/texmf-dist/fonts/opentype/public/tex-gyre \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
- GUILE_FLAVOR=guile-1.8 \
- GUILE=guile1.8 \
-make
-make install DESTDIR=$PKG
+make all bytecode
+make install install-bytecode DESTDIR=$PKG
find $PKG -exec file {} + | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -execdir gzip -9 {} +
-# `make install` prints a reminder to run install-info on lilypond-web.info
-# (only this $MAIN_INFO_DOC, not the others), but forgets to install it.
-# Until that is fixed, omit running install-info from doinst.sh.
rm -f $PKG/usr/info/dir
find $PKG/usr/info -name '*.info*' -type f -execdir gzip -9 {} +