43 lines
1.3 KiB
Bash
43 lines
1.3 KiB
Bash
# Template file for 'lilypond'
|
|
# should be kept in sync with 'lilypond-doc'
|
|
pkgname=lilypond
|
|
version=2.24.1
|
|
revision=1
|
|
build_wrksrc="build"
|
|
build_style="gnu-configure"
|
|
configure_script="../configure"
|
|
configure_args="--disable-documentation ac_cv_func_isinf=yes"
|
|
make_install_args="vimdir=/usr/share/vim/vimfiles"
|
|
hostmakedepends="autogen automake bison flex fontforge gettext perl
|
|
pkg-config python3 t1utils tar texinfo texlive gsfonts"
|
|
makedepends="gc-devel guile-devel libltdl-devel pango-devel"
|
|
depends="ghostscript guile python3"
|
|
checkdepends="ImageMagick rsync texi2html"
|
|
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/v${version%.*}/lilypond-${version}.tar.gz"
|
|
checksum=d5c59087564a5cd6f08a52ba80e7d6509b91c585e44385dcc0fa39265d181509
|
|
python_version=3
|
|
make_check=ci-skip # ci sometimes fails, but all checks pass locally
|
|
|
|
if [ -n "${CROSS_BUILD}" ]; then
|
|
makedepends+=" libfl-devel"
|
|
fi
|
|
|
|
post_extract() {
|
|
if [ ! -d $wrksrc/$build_wrksrc ]; then
|
|
mkdir $wrksrc/$build_wrksrc
|
|
fi
|
|
}
|
|
|
|
pre_configure() {
|
|
cd .. && ./autogen.sh --noconfigure
|
|
}
|
|
|
|
do_check() {
|
|
make ${makejobs} CPU_COUNT=${makejobs#-j} test-baseline
|
|
make ${makejobs} CPU_COUNT=${makejobs#-j} check
|
|
}
|