1 |
commit: 94e3223e2c57d42ceaa5126c1328f5fa9ae1970f |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 1 03:08:28 2016 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 03:08:58 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94e3223e |
7 |
|
8 |
media-sound/lilypond: version bump to 2.19.47 |
9 |
|
10 |
media-sound/lilypond/Manifest | 1 + |
11 |
media-sound/lilypond/lilypond-2.19.47.ebuild | 142 +++++++++++++++++++++++++++ |
12 |
2 files changed, 143 insertions(+) |
13 |
|
14 |
diff --git a/media-sound/lilypond/Manifest b/media-sound/lilypond/Manifest |
15 |
index a80e41e..3806ebb 100644 |
16 |
--- a/media-sound/lilypond/Manifest |
17 |
+++ b/media-sound/lilypond/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST lilypond-2.18.2.tar.gz 16027977 SHA256 329d733765b0ba7be1878ae3f457dbbb875cc2840d2b75af4afc48c9454fba07 SHA512 0692f6eb41733076ba7f610cd1e65762f4dfd67307e2ab9e222b140d58ae3a1bb1c6b3be3bcff778d57f161868cf6d57e99bf43bf20f2663d042a07493942ec6 WHIRLPOOL 95db264992a1e425fd1ee53d980941eef554c1784a1adfc105750d82d11664f61207c2b1897b6e99448790131c0715f08401f45b663c420553925596c6fd4b1c |
20 |
DIST lilypond-2.19.46.tar.gz 16899476 SHA256 f609051e2128c40da17698c0432fe8a96858583d197a8264fc4bceeab0378674 SHA512 594921b784f6604bfb2210569fac03911cb5c4c11e2e9241f62153d7c012b5e10cd2cacd3ac3d69c1719c9b6fddc550d381a9fa9b96f22ada63019b38ef95de1 WHIRLPOOL b77b1bc76ccdf6e17179fd9b1497beac96da2bd1ce83b7944a2a8f4a5d6274581c8e7f4c9e2de44b53912df702731456cd2658d96cccb186347f1a4577146a4d |
21 |
+DIST lilypond-2.19.47.tar.gz 16926783 SHA256 842312813a9144b6b54a33f13fb19addbfc779d7bbfe3b2075be1235287de08c SHA512 8720a11f0410bd462db1bf11508a7181953b099918b01fc3707a52a2269a840473fc22065b82fad59d98fdd84e54d3810c2c6a4302754d36f1bd6d847e7f72bd WHIRLPOOL ccd8eee71067b0811a32a0ad6572031f936e95637266909534a5212783f0c0fe99eac7406aadae21b17e632c3fb1f1c50b945d4d0e9b64b32ec1c976bf8406c1 |
22 |
|
23 |
diff --git a/media-sound/lilypond/lilypond-2.19.47.ebuild b/media-sound/lilypond/lilypond-2.19.47.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000..63535e7 |
26 |
--- /dev/null |
27 |
+++ b/media-sound/lilypond/lilypond-2.19.47.ebuild |
28 |
@@ -0,0 +1,142 @@ |
29 |
+# Copyright 1999-2016 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+# $Id$ |
32 |
+ |
33 |
+EAPI=6 |
34 |
+PYTHON_COMPAT=( python2_7 ) |
35 |
+ |
36 |
+[[ "${PV}" = "9999" ]] && inherit git-r3 |
37 |
+inherit elisp-common autotools python-single-r1 |
38 |
+ |
39 |
+if [[ "${PV}" = "9999" ]]; then |
40 |
+ EGIT_REPO_URI="git://git.sv.gnu.org/lilypond.git" |
41 |
+else |
42 |
+ SRC_URI="http://download.linuxaudio.org/lilypond/sources/v${PV:0:4}/${P}.tar.gz" |
43 |
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~x86" |
44 |
+fi |
45 |
+ |
46 |
+DESCRIPTION="GNU Music Typesetter" |
47 |
+HOMEPAGE="http://lilypond.org/" |
48 |
+ |
49 |
+LICENSE="GPL-3 FDL-1.3" |
50 |
+SLOT="0" |
51 |
+LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW" |
52 |
+IUSE="debug emacs profile vim-syntax ${LANGS// / linguas_}" |
53 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
54 |
+ |
55 |
+RDEPEND=">=app-text/ghostscript-gpl-8.15 |
56 |
+ >=dev-scheme/guile-1.8.2:12[deprecated,regex] |
57 |
+ media-fonts/tex-gyre |
58 |
+ media-libs/fontconfig |
59 |
+ media-libs/freetype:2 |
60 |
+ >=x11-libs/pango-1.12.3 |
61 |
+ emacs? ( virtual/emacs ) |
62 |
+ ${PYTHON_DEPS}" |
63 |
+DEPEND="${RDEPEND} |
64 |
+ app-text/t1utils |
65 |
+ dev-lang/perl |
66 |
+ dev-libs/kpathsea |
67 |
+ >=dev-texlive/texlive-metapost-2013 |
68 |
+ || ( |
69 |
+ >=app-text/texlive-core-2013 |
70 |
+ >=dev-tex/metapost-1.803 |
71 |
+ ) |
72 |
+ virtual/pkgconfig |
73 |
+ media-gfx/fontforge[png] |
74 |
+ >=sys-apps/texinfo-4.11 |
75 |
+ >=sys-devel/bison-2.0 |
76 |
+ sys-devel/flex |
77 |
+ sys-devel/gettext |
78 |
+ sys-devel/make" |
79 |
+ |
80 |
+# Correct output data for tests isn't bundled with releases |
81 |
+RESTRICT="test" |
82 |
+ |
83 |
+DOCS=( DEDICATION HACKING README.txt ROADMAP ) |
84 |
+ |
85 |
+pkg_setup() { |
86 |
+ # make sure >=metapost-1.803 is selected if it's installed, bug 498704 |
87 |
+ if [[ ${MERGE_TYPE} != binary ]] && has_version ">=dev-tex/metapost-1.803" ; then |
88 |
+ if [[ $(readlink "${EROOT}"/usr/bin/mpost) =~ mpost-texlive-* ]] ; then |
89 |
+ einfo "Updating metapost symlink" |
90 |
+ eselect mpost update || die |
91 |
+ fi |
92 |
+ fi |
93 |
+ |
94 |
+ python-single-r1_pkg_setup |
95 |
+} |
96 |
+ |
97 |
+src_prepare() { |
98 |
+ default |
99 |
+ |
100 |
+ if ! use vim-syntax ; then |
101 |
+ sed -i 's/vim//' GNUmakefile.in || die |
102 |
+ fi |
103 |
+ |
104 |
+ # respect CFLAGS |
105 |
+ sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die |
106 |
+ |
107 |
+ for lang in ${LANGS}; do |
108 |
+ use linguas_${lang} || rm po/${lang}.po || die |
109 |
+ done |
110 |
+ |
111 |
+ # respect AR |
112 |
+ sed -i "s/^AR=ar/AR=$(tc-getAR)/" stepmake/stepmake/library-vars.make || die |
113 |
+ |
114 |
+ # remove bundled texinfo file (fixes bug #448560) |
115 |
+ rm tex/texinfo.tex || die |
116 |
+ |
117 |
+ eautoreconf |
118 |
+} |
119 |
+ |
120 |
+src_configure() { |
121 |
+ # documentation generation currently not supported since it requires a newer |
122 |
+ # version of texi2html than is currently in the tree |
123 |
+ |
124 |
+ local myeconfargs+=( |
125 |
+ --with-texgyre-dir=/usr/share/fonts/tex-gyre |
126 |
+ --disable-documentation |
127 |
+ --disable-optimising |
128 |
+ --disable-pipe |
129 |
+ $(use_enable debug debugging) |
130 |
+ $(use_enable profile profiling) |
131 |
+ ) |
132 |
+ |
133 |
+ has_version ">=dev-scheme/guile-2" && myeconfargs+=( --enable-guile2 ) |
134 |
+ |
135 |
+ econf "${myeconfargs[@]}" |
136 |
+} |
137 |
+ |
138 |
+src_compile() { |
139 |
+ default |
140 |
+ |
141 |
+ if use emacs ; then |
142 |
+ elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \ |
143 |
+ || die "elisp-compile failed" |
144 |
+ fi |
145 |
+} |
146 |
+ |
147 |
+src_install () { |
148 |
+ emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install |
149 |
+ |
150 |
+ # remove elisp files since they are in the wrong directory |
151 |
+ rm -r "${ED}"/usr/share/emacs || die |
152 |
+ |
153 |
+ if use emacs ; then |
154 |
+ elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \ |
155 |
+ || die "elisp-install failed" |
156 |
+ elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el |
157 |
+ fi |
158 |
+ |
159 |
+ python_fix_shebang "${ED}" |
160 |
+ |
161 |
+ einstalldocs |
162 |
+} |
163 |
+ |
164 |
+pkg_postinst() { |
165 |
+ use emacs && elisp-site-regen |
166 |
+} |
167 |
+ |
168 |
+pkg_postrm() { |
169 |
+ use emacs && elisp-site-regen |
170 |
+} |