lilypond: update to 2.21.80

also:
  * switch to python3
  * clean up *depends
This commit is contained in:
newbluemoon 2020-11-02 14:41:02 +01:00 committed by Johannes
parent c0af6d814b
commit 242fe76cb0

View file

@ -1,30 +1,28 @@
# Template file for 'lilypond'
pkgname=lilypond
version=2.21.7
version=2.21.80
revision=1
build_wrksrc="build"
build_style="gnu-configure"
configure_script="../configure"
configure_args="--disable-documentation ac_cv_func_isinf=yes
--with-texgyre-dir=/usr/share/texmf-dist/fonts/opentype/public/tex-gyre"
hostmakedepends="autogen automake flex fontforge gettext gnupg guile1.8 pkg-config
t1utils tar texinfo texlive"
makedepends="gc-devel guile1.8-devel libltdl-devel pango-devel python-devel"
depends="python ghostscript"
hostmakedepends="autogen automake bison flex fontforge gettext guile1.8 perl
pkg-config python3 t1utils tar texinfo texlive"
makedepends="gc-devel guile1.8-devel libltdl-devel pango-devel"
depends="ghostscript python3"
short_desc="Music engraving program"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-3.0-or-later, GFDL-1.3-or-later"
homepage="https://lilypond.org/"
distfiles="https://lilypond.org/downloads/sources/v2.21/lilypond-${version}.tar.gz"
checksum=058a18558944305aa7b8bca1a1098dce33a177cf108ed7eafeecdc0e7dd754ff
python_version=2
checksum=64296eff097e5c5bd0b27a45ea2261b151099534d886119a414eb8947e34aec4
python_version=3
if [ -n "${CROSS_BUILD}" ]; then
# needs guile-config-1.8 and python-config
hostmakedepends+=" guile1.8-devel python-devel"
# needs guile-config-1.8
hostmakedepends+=" guile1.8-devel"
makedepends+=" libfl-devel"
configure_args+=" --with-python-lib=python2.7
--with-python-include=${XBPS_CROSS_BASE}/usr/include/python2.7"
fi
post_extract() {