mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
lilypond: update to 2.21.7
and use system texlive for build
This commit is contained in:
parent
6072eb4ecc
commit
d111ea1bcc
2 changed files with 6 additions and 20 deletions
|
@ -1 +0,0 @@
|
||||||
To use lilypond a working texlive installation is also needed.
|
|
|
@ -1,23 +1,22 @@
|
||||||
# Template file for 'lilypond'
|
# Template file for 'lilypond'
|
||||||
pkgname=lilypond
|
pkgname=lilypond
|
||||||
version=2.21.5
|
version=2.21.7
|
||||||
revision=1
|
revision=1
|
||||||
build_wrksrc="build"
|
build_wrksrc="build"
|
||||||
build_style="gnu-configure"
|
build_style="gnu-configure"
|
||||||
configure_script="../configure"
|
configure_script="../configure"
|
||||||
configure_args="--disable-documentation ac_cv_func_isinf=yes
|
configure_args="--disable-documentation ac_cv_func_isinf=yes
|
||||||
--with-texgyre-dir=/opt/texlive/2020/texmf-dist/fonts/opentype/public/tex-gyre"
|
--with-texgyre-dir=/usr/share/texmf-dist/fonts/opentype/public/tex-gyre"
|
||||||
hostmakedepends="autogen automake flex fontforge gettext gnupg guile1.8 pkg-config
|
hostmakedepends="autogen automake flex fontforge gettext gnupg guile1.8 pkg-config
|
||||||
tar texinfo texlive-bin"
|
t1utils tar texinfo texlive"
|
||||||
makedepends="gc-devel guile1.8-devel libltdl-devel pango-devel python-devel"
|
makedepends="gc-devel guile1.8-devel libltdl-devel pango-devel python-devel"
|
||||||
depends="python ghostscript"
|
depends="python ghostscript"
|
||||||
short_desc="Music engraving program"
|
short_desc="Music engraving program"
|
||||||
maintainer="newbluemoon <blaumolch@mailbox.org>"
|
maintainer="newbluemoon <blaumolch@mailbox.org>"
|
||||||
license="GPL-3.0-or-later, GFDL-1.3-or-later"
|
license="GPL-3.0-or-later, GFDL-1.3-or-later"
|
||||||
homepage="http://lilypond.org/"
|
homepage="https://lilypond.org/"
|
||||||
distfiles="http://lilypond.org/downloads/sources/v2.21/lilypond-${version}.tar.gz"
|
distfiles="https://lilypond.org/downloads/sources/v2.21/lilypond-${version}.tar.gz"
|
||||||
checksum=09d05285fd334113b91b14a9d8d19fc0e086bec5868b69c73a61f9ea218a96cb
|
checksum=058a18558944305aa7b8bca1a1098dce33a177cf108ed7eafeecdc0e7dd754ff
|
||||||
patch_args="-Np1"
|
|
||||||
python_version=2
|
python_version=2
|
||||||
|
|
||||||
if [ -n "${CROSS_BUILD}" ]; then
|
if [ -n "${CROSS_BUILD}" ]; then
|
||||||
|
@ -28,11 +27,6 @@ if [ -n "${CROSS_BUILD}" ]; then
|
||||||
--with-python-include=${XBPS_CROSS_BASE}/usr/include/python2.7"
|
--with-python-include=${XBPS_CROSS_BASE}/usr/include/python2.7"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
x86_64-musl) ;;
|
|
||||||
*-musl) broken="TeX Live not available, yet." ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
if [ ! -d $wrksrc/$build_wrksrc ]; then
|
if [ ! -d $wrksrc/$build_wrksrc ]; then
|
||||||
mkdir $wrksrc/$build_wrksrc
|
mkdir $wrksrc/$build_wrksrc
|
||||||
|
@ -40,16 +34,9 @@ post_extract() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
source /etc/profile.d/texlive.sh
|
|
||||||
tlmgr install t1utils lh epsf tex-gyre
|
|
||||||
cd .. && ./autogen.sh --noconfigure
|
cd .. && ./autogen.sh --noconfigure
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
|
||||||
source /etc/profile.d/texlive.sh
|
|
||||||
make ${makejobs} ${make_build_args} ${make_build_target}
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir usr/share/vim
|
vmkdir usr/share/vim
|
||||||
mv $DESTDIR/usr/share/lilypond/${version}/vim $DESTDIR/usr/share/vim/vim82
|
mv $DESTDIR/usr/share/lilypond/${version}/vim $DESTDIR/usr/share/vim/vim82
|
||||||
|
|
Loading…
Add table
Reference in a new issue