aboutsummaryrefslogtreecommitdiff
path: root/graphics/lilypond/lilypond.SlackBuild
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2023-03-08 20:56:10 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-03-12 08:48:29 +0700
commit7e103baa14052b5a915afaf7fb7a9912346308ee (patch)
treeab005c2aaccb61b21016aa123abdd07b4cecdb90 /graphics/lilypond/lilypond.SlackBuild
parenta95f25985a38e1487a0a889599517595b6ae2754 (diff)
graphics/lilypond: Updated for version 2.24.1
Signed-off-by: Kyle Guinn <elyk03@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 {} +