Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/lilypond/
Date: Mon, 02 Dec 2019 11:22:02
Message-Id: 1575285713.22afad786a78d6a1a52c8dc2eef1a91eac5de563.fordfrog@gentoo
1 commit: 22afad786a78d6a1a52c8dc2eef1a91eac5de563
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 2 11:21:29 2019 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 2 11:21:53 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22afad78
7
8 media-sound/lilypond-2.19.80-r1: removed old
9
10 Package-Manager: Portage-2.3.80, Repoman-2.3.19
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-sound/lilypond/Manifest | 1 -
14 media-sound/lilypond/lilypond-2.19.80-r1.ebuild | 147 ------------------------
15 2 files changed, 148 deletions(-)
16
17 diff --git a/media-sound/lilypond/Manifest b/media-sound/lilypond/Manifest
18 index 1133e497bbc..dfbd5444746 100644
19 --- a/media-sound/lilypond/Manifest
20 +++ b/media-sound/lilypond/Manifest
21 @@ -1,3 +1,2 @@
22 DIST lilypond-2.18.2.tar.gz 16027977 BLAKE2B b19b608891e22403efe8e18dd9e86c8d0c85ba516f34242f2a8bcb53c8849a3aa0fe83726036d168f26ee1a7d868a24cc54bd86016b016d634218956e8faf0d4 SHA512 0692f6eb41733076ba7f610cd1e65762f4dfd67307e2ab9e222b140d58ae3a1bb1c6b3be3bcff778d57f161868cf6d57e99bf43bf20f2663d042a07493942ec6
23 -DIST lilypond-2.19.80.tar.gz 17244725 BLAKE2B f0883d59b1a14634d5d32e6a6f02c0a224643d6d28a3da623d5163396b74ebd15c3307c33c4d96778254fb6486a74c3324d26e3015d51fa163e3765f2c3767aa SHA512 13a7f258bac8ff77ad6d3879f128e86dd5bf45c7780c9738e6976915574d2dfc5404e6f49ca61dcaf8bb15eb266e65fedec4131a50ded7ab305d1856bbd7a3d6
24 DIST lilypond-2.19.83.tar.gz 17996428 BLAKE2B d6048bfa0dbfbb08c25c5c11287f971936e82d30d88d80deb7fca8fe8d7c8d3d517c37a24b1d52e592c15e166e04eb79d99b4c64ddd4b7f392ec69bff0259d89 SHA512 c8a6acbff055196aba015ecd4786bed25934f04f3718ae9dd9a0dc49d2954f348806874cfe350903cd8bb2b25a0d05700ef5947cac180b20a8a355033ff98604
25
26 diff --git a/media-sound/lilypond/lilypond-2.19.80-r1.ebuild b/media-sound/lilypond/lilypond-2.19.80-r1.ebuild
27 deleted file mode 100644
28 index 3e23b2dfe64..00000000000
29 --- a/media-sound/lilypond/lilypond-2.19.80-r1.ebuild
30 +++ /dev/null
31 @@ -1,147 +0,0 @@
32 -# Copyright 1999-2019 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -PYTHON_COMPAT=( python2_7 )
37 -
38 -[[ "${PV}" = "9999" ]] && inherit git-r3
39 -inherit elisp-common autotools python-single-r1 xdg-utils
40 -
41 -if [[ "${PV}" = "9999" ]]; then
42 - EGIT_REPO_URI="git://git.sv.gnu.org/lilypond.git"
43 -else
44 - SRC_URI="http://download.linuxaudio.org/lilypond/sources/v${PV:0:4}/${P}.tar.gz"
45 - KEYWORDS="amd64 ~arm arm64 ~hppa x86"
46 -fi
47 -
48 -DESCRIPTION="GNU Music Typesetter"
49 -HOMEPAGE="http://lilypond.org/"
50 -
51 -LICENSE="GPL-3 FDL-1.3"
52 -SLOT="0"
53 -IUSE="debug emacs guile2 profile vim-syntax"
54 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
55 -
56 -RDEPEND=">=app-text/ghostscript-gpl-8.15
57 - >=dev-scheme/guile-1.8.2:12=[deprecated,regex]
58 - media-fonts/tex-gyre
59 - media-libs/fontconfig
60 - media-libs/freetype:2
61 - >=x11-libs/pango-1.12.3
62 - emacs? ( virtual/emacs )
63 - guile2? ( >=dev-scheme/guile-2:12 )
64 - !guile2? (
65 - >=dev-scheme/guile-1.8.2:12=[deprecated,regex]
66 - <dev-scheme/guile-2.0:12
67 - )
68 - ${PYTHON_DEPS}"
69 -DEPEND="${RDEPEND}
70 - app-text/t1utils
71 - dev-lang/perl
72 - dev-libs/kpathsea
73 - >=dev-texlive/texlive-metapost-2013
74 - || (
75 - >=app-text/texlive-core-2013
76 - >=dev-tex/metapost-1.803
77 - )
78 - virtual/pkgconfig
79 - media-gfx/fontforge[png]
80 - >=sys-apps/texinfo-4.11
81 - >=sys-devel/bison-2.0
82 - sys-devel/flex
83 - sys-devel/gettext
84 - sys-devel/make"
85 -
86 -# Correct output data for tests isn't bundled with releases
87 -RESTRICT="test"
88 -
89 -PATCHES=(
90 - "${FILESDIR}"/${P}-remove-ly-protect.patch
91 - "${FILESDIR}"/${P}-fontforge-version.patch
92 -)
93 -
94 -DOCS=( DEDICATION HACKING README.txt ROADMAP )
95 -
96 -pkg_setup() {
97 - # make sure >=metapost-1.803 is selected if it's installed, bug 498704
98 - if [[ ${MERGE_TYPE} != binary ]] && has_version ">=dev-tex/metapost-1.803" ; then
99 - if [[ $(readlink "${EROOT}"/usr/bin/mpost) =~ mpost-texlive-* ]] ; then
100 - einfo "Updating metapost symlink"
101 - eselect mpost update || die
102 - fi
103 - fi
104 -
105 - python-single-r1_pkg_setup
106 -}
107 -
108 -src_prepare() {
109 - default
110 -
111 - if ! use vim-syntax ; then
112 - sed -i 's/vim//' GNUmakefile.in || die
113 - fi
114 -
115 - # respect CFLAGS
116 - sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
117 -
118 - # respect AR
119 - sed -i "s:^AR=ar:AR=$(tc-getAR):" stepmake/stepmake/library-vars.make || die
120 -
121 - # remove bundled texinfo file (fixes bug #448560)
122 - rm tex/texinfo.tex || die
123 -
124 - eautoreconf
125 -
126 - xdg_environment_reset #586592
127 -}
128 -
129 -src_configure() {
130 - # documentation generation currently not supported since it requires a newer
131 - # version of texi2html than is currently in the tree
132 -
133 - local myeconfargs=(
134 - --with-texgyre-dir=/usr/share/fonts/tex-gyre
135 - --disable-documentation
136 - --disable-optimising
137 - --disable-pipe
138 - $(use_enable debug debugging)
139 - $(use_enable guile2)
140 - $(use_enable profile profiling)
141 - )
142 -
143 - econf "${myeconfargs[@]}"
144 -}
145 -
146 -src_compile() {
147 - default
148 -
149 - if use emacs ; then
150 - elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \
151 - || die "elisp-compile failed"
152 - fi
153 -}
154 -
155 -src_install () {
156 - emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install
157 -
158 - # remove elisp files since they are in the wrong directory
159 - rm -r "${ED}"/usr/share/emacs || die
160 -
161 - if use emacs ; then
162 - elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \
163 - || die "elisp-install failed"
164 - elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
165 - fi
166 -
167 - python_fix_shebang "${ED}"
168 -
169 - einstalldocs
170 -}
171 -
172 -pkg_postinst() {
173 - use emacs && elisp-site-regen
174 -}
175 -
176 -pkg_postrm() {
177 - use emacs && elisp-site-regen
178 -}