summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-02-16 13:18:02 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-02-16 14:41:32 +0100
commitad4b98782b6a8267123c74173350a6d663007308 (patch)
treefca35b3a7516c3672d9906d37bbac20106001a43 /media-sound/lilypond
parentdev-python/python-poppler-qt5: python3_8 (diff)
downloadgentoo-ad4b98782b6a8267123c74173350a6d663007308.tar.gz
gentoo-ad4b98782b6a8267123c74173350a6d663007308.tar.bz2
gentoo-ad4b98782b6a8267123c74173350a6d663007308.zip
media-sound/lilypond: Sort variables, style, drop LANGS, USE guile2
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound/lilypond')
-rw-r--r--media-sound/lilypond/lilypond-9999.ebuild36
1 files changed, 15 insertions, 21 deletions
diff --git a/media-sound/lilypond/lilypond-9999.ebuild b/media-sound/lilypond/lilypond-9999.ebuild
index 8cf9f39887d3..6aa7409e5b77 100644
--- a/media-sound/lilypond/lilypond-9999.ebuild
+++ b/media-sound/lilypond/lilypond-9999.ebuild
@@ -2,15 +2,15 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
-[[ "${PV}" = "9999" ]] && inherit git-r3
+PYTHON_COMPAT=( python3_{6,7,8} )
inherit elisp-common autotools python-single-r1 toolchain-funcs xdg-utils
if [[ "${PV}" = "9999" ]]; then
+ inherit git-r3
EGIT_REPO_URI="https://git.savannah.gnu.org/git/lilypond.git"
else
- SRC_URI="http://download.linuxaudio.org/lilypond/sources/v${PV:0:4}/${P}.tar.gz"
+ SRC_URI="http://lilypond.org/download/sources/v$(ver_cut 1-2)/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
fi
@@ -19,26 +19,19 @@ HOMEPAGE="http://lilypond.org/"
LICENSE="GPL-3 FDL-1.3"
SLOT="0"
-LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW"
-IUSE="debug emacs guile2 profile vim-syntax"
+IUSE="debug emacs profile vim-syntax"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-PATCHES=(
- "${FILESDIR}"/${PN}-2.19.80-fontforge-version.patch
-)
-RDEPEND=">=app-text/ghostscript-gpl-8.15
+RDEPEND="${PYTHON_DEPS}
+ >=app-text/ghostscript-gpl-8.15
+ >=dev-scheme/guile-2:12
>=dev-scheme/guile-1.8.2:12[deprecated,regex]
media-fonts/tex-gyre
media-libs/fontconfig
media-libs/freetype:2
>=x11-libs/pango-1.12.3
emacs? ( >=app-editors/emacs-23.1:* )
- guile2? ( >=dev-scheme/guile-2:12 )
- !guile2? (
- >=dev-scheme/guile-1.8.2:12[deprecated,regex]
- <dev-scheme/guile-2.0:12
- )
- ${PYTHON_DEPS}"
+"
DEPEND="${RDEPEND}
app-text/t1utils
dev-lang/perl
@@ -54,11 +47,16 @@ DEPEND="${RDEPEND}
>=sys-devel/bison-2.0
sys-devel/flex
sys-devel/gettext
- sys-devel/make"
+ sys-devel/make
+"
# Correct output data for tests isn't bundled with releases
RESTRICT="test"
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.19.80-fontforge-version.patch
+)
+
DOCS=( DEDICATION HACKING README.txt ROADMAP )
pkg_setup() {
@@ -83,10 +81,6 @@ src_prepare() {
# respect CFLAGS
sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
- for lang in ${LANGS}; do
- has ${lang} ${LINGUAS-${lang}} || rm po/${lang}.po || die
- done
-
# respect AR
sed -i "s:^AR=ar:AR=$(tc-getAR):" stepmake/stepmake/library-vars.make || die
@@ -104,11 +98,11 @@ src_configure() {
local myeconfargs=(
--with-texgyre-dir=/usr/share/fonts/tex-gyre
+ --enable-guile2
--disable-documentation
--disable-optimising
--disable-pipe
$(use_enable debug debugging)
- $(use_enable guile2)
$(use_enable profile profiling)
)