parent
ec8e5b7d97
commit
6d92c2b2cf
2 changed files with 49 additions and 0 deletions
1
srcpkgs/lilypond/INSTALL.msg
Normal file
1
srcpkgs/lilypond/INSTALL.msg
Normal file
|
@ -0,0 +1 @@
|
|||
To use lilypond a working texlive installation is also needed.
|
48
srcpkgs/lilypond/template
Normal file
48
srcpkgs/lilypond/template
Normal file
|
@ -0,0 +1,48 @@
|
|||
# Template file for 'lilypond'
|
||||
pkgname="lilypond"
|
||||
version="2.19.65"
|
||||
revision=1
|
||||
_tlversion=2017
|
||||
build_wrksrc="build"
|
||||
build_style="gnu-configure"
|
||||
configure_script="../configure"
|
||||
configure_args="--enable-documentation=off --with-texgyre-dir=/opt/texlive/${_tlversion}/texmf-dist/fonts/opentype/public/tex-gyre"
|
||||
hostmakedepends="automake autogen pkg-config flex bison fontforge gettext
|
||||
perl texinfo texlive-bin gnupg guile1.8"
|
||||
makedepends="guile1.8-devel fontconfig-devel freetype-devel pango-devel
|
||||
python-devel libltdl-devel gc-devel"
|
||||
depends="python ghostscript"
|
||||
short_desc="Music engraving program"
|
||||
maintainer="newbluemoon <blaumolch@mailbox.org>"
|
||||
homepage="http://lilypond.org/"
|
||||
license="GPL-3, FDL-1.3"
|
||||
distfiles="http://download.linuxaudio.org/${pkgname}/source/v2.19/${pkgname}-${version}.tar.gz"
|
||||
checksum=0dde43a5c1d2688457eee6dcc84f88599a260c53088cb05961c24854fef1524c
|
||||
nocross=yes
|
||||
|
||||
if [ -n ${CROSS_BUILD} ]; then
|
||||
hostmakedepends+=" guile1.8-devel python-devel"
|
||||
makedepends+=" libfl-devel"
|
||||
configure_args+=" --with-python-include=${XBPS_CROSS_BASE}/usr/include/python2.7 --with-python-lib=python2.7"
|
||||
fi
|
||||
|
||||
post_extract() {
|
||||
if [ ! -d $wrksrc/$build_wrksrc ]; then
|
||||
mkdir $wrksrc/$build_wrksrc
|
||||
fi
|
||||
}
|
||||
|
||||
pre_configure() {
|
||||
source /etc/profile.d/texlive.sh
|
||||
tlmgr install t1utils lh epsf tex-gyre
|
||||
|
||||
cd ..
|
||||
./autogen.sh --noconfigure
|
||||
cd ${build_wrksrc}
|
||||
}
|
||||
|
||||
do_build() {
|
||||
source /etc/profile.d/texlive.sh
|
||||
make ${makejobs} ${make_build_args} ${make_build_target}
|
||||
}
|
||||
|
Loading…
Reference in a new issue