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>
This commit is contained in:
Kyle Guinn 2023-03-08 20:56:10 -06:00 committed by Willy Sudiarto Raharjo
parent a95f25985a
commit 7e103baa14
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 9 additions and 17 deletions

View File

@ -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 {} +

View File

@ -1,10 +1,10 @@
PRGNAM="lilypond"
VERSION="2.22.2"
VERSION="2.24.1"
HOMEPAGE="https://lilypond.org/"
DOWNLOAD="https://lilypond.org/download/sources/v2.22/lilypond-2.22.2.tar.gz"
MD5SUM="677e68e728b24f66be5d20072294f41c"
DOWNLOAD="https://lilypond.org/download/sources/v2.24/lilypond-2.24.1.tar.gz"
MD5SUM="9ba4b1a5240480a76d5e1ce67c5cdaf3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fontforge texi2html guile1.8"
REQUIRES="fontforge texi2html guile2.2"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"