Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/lilypond: ChangeLog lilypond-2.19.15.ebuild
Date: Tue, 30 Sep 2014 16:01:52
Message-Id: 20140930160133.6C5E3698B@oystercatcher.gentoo.org
1 radhermit 14/09/30 16:01:33
2
3 Modified: ChangeLog
4 Added: lilypond-2.19.15.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 4F064CA3)
9
10 Revision Changes Path
11 1.190 media-sound/lilypond/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.190&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.190&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/ChangeLog?r1=1.189&r2=1.190
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v
20 retrieving revision 1.189
21 retrieving revision 1.190
22 diff -u -r1.189 -r1.190
23 --- ChangeLog 26 Sep 2014 19:18:21 -0000 1.189
24 +++ ChangeLog 30 Sep 2014 16:01:33 -0000 1.190
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-sound/lilypond
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.189 2014/09/26 19:18:21 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.190 2014/09/30 16:01:33 radhermit Exp $
30 +
31 +*lilypond-2.19.15 (30 Sep 2014)
32 +
33 + 30 Sep 2014; Tim Harder <radhermit@g.o> +lilypond-2.19.15.ebuild:
34 + Version bump.
35
36 *lilypond-2.19.14 (26 Sep 2014)
37
38
39
40
41 1.1 media-sound/lilypond/lilypond-2.19.15.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/lilypond-2.19.15.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/lilypond-2.19.15.ebuild?rev=1.1&content-type=text/plain
45
46 Index: lilypond-2.19.15.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/lilypond-2.19.15.ebuild,v 1.1 2014/09/30 16:01:33 radhermit Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python2_7 )
54
55 inherit elisp-common autotools eutils python-single-r1
56
57 DESCRIPTION="GNU Music Typesetter"
58 SRC_URI="http://download.linuxaudio.org/lilypond/sources/v${PV:0:4}/${P}.tar.gz"
59 HOMEPAGE="http://lilypond.org/"
60
61 LICENSE="GPL-3 FDL-1.3"
62 SLOT="0"
63 KEYWORDS="~amd64 ~hppa ~x86"
64 LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW"
65 IUSE="debug emacs profile vim-syntax ${LANGS// / linguas_}"
66 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
67
68 RDEPEND=">=app-text/ghostscript-gpl-8.15
69 >=dev-scheme/guile-1.8.2[deprecated,regex]
70 media-fonts/urw-fonts
71 media-libs/fontconfig
72 media-libs/freetype:2
73 >=x11-libs/pango-1.12.3
74 emacs? ( virtual/emacs )
75 ${PYTHON_DEPS}"
76 DEPEND="${RDEPEND}
77 app-text/t1utils
78 dev-lang/perl
79 || (
80 ( >=dev-texlive/texlive-metapost-2013 >=dev-tex/metapost-1.803 )
81 <dev-texlive/texlive-metapost-2013
82 )
83 virtual/pkgconfig
84 media-gfx/fontforge
85 >=sys-apps/texinfo-4.11
86 >=sys-devel/bison-2.0
87 sys-devel/flex
88 sys-devel/gettext
89 sys-devel/make"
90
91 # Correct output data for tests isn't bundled with releases
92 RESTRICT="test"
93
94 pkg_setup() {
95 # make sure >=metapost-1.803 is selected if it's installed, bug 498704
96 if [[ ${MERGE_TYPE} != binary ]] && has_version ">=dev-tex/metapost-1.803" ; then
97 if [[ $(readlink "${EROOT}"/usr/bin/mpost) =~ mpost-texlive-* ]] ; then
98 einfo "Updating metapost symlink"
99 eselect mpost update || die
100 fi
101 fi
102
103 python-single-r1_pkg_setup
104 }
105
106 src_prepare() {
107 epatch "${FILESDIR}"/${PN}-2.17.2-tex-docs.patch
108
109 if ! use vim-syntax ; then
110 sed -i 's/vim//' GNUmakefile.in || die
111 fi
112
113 # respect CFLAGS
114 sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
115
116 for lang in ${LANGS}; do
117 use linguas_${lang} || rm po/${lang}.po || die
118 done
119
120 # respect AR
121 sed -i "s/^AR=ar/AR=$(tc-getAR)/" stepmake/stepmake/library-vars.make || die
122
123 # remove bundled texinfo file (fixes bug #448560)
124 rm tex/texinfo.tex || die
125
126 eautoreconf
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 econf \
134 --with-ncsb-dir=/usr/share/fonts/urw-fonts \
135 --disable-documentation \
136 --disable-optimising \
137 --disable-pipe \
138 $(use_enable debug debugging) \
139 $(use_enable profile profiling)
140 }
141
142 src_compile() {
143 default
144
145 if use emacs ; then
146 elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \
147 || die "elisp-compile failed"
148 fi
149 }
150
151 src_install () {
152 emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install
153
154 # remove elisp files since they are in the wrong directory
155 rm -r "${ED}"/usr/share/emacs || die
156
157 if use emacs ; then
158 elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \
159 || die "elisp-install failed"
160 elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
161 fi
162
163 dodoc AUTHORS.txt HACKING NEWS.txt README.txt
164 }
165
166 pkg_postinst() {
167 use emacs && elisp-site-regen
168 }
169
170 pkg_postrm() {
171 use emacs && elisp-site-regen
172 }