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.9.ebuild
Date: Fri, 04 Jul 2014 07:01:41
Message-Id: 20140704070135.D1D6B2004E@flycatcher.gentoo.org
1 radhermit 14/07/04 07:01:35
2
3 Modified: ChangeLog
4 Added: lilypond-2.19.9.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.184 media-sound/lilypond/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.184&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.184&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/ChangeLog?r1=1.183&r2=1.184
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v
20 retrieving revision 1.183
21 retrieving revision 1.184
22 diff -u -r1.183 -r1.184
23 --- ChangeLog 22 Jun 2014 04:21:15 -0000 1.183
24 +++ ChangeLog 4 Jul 2014 07:01:35 -0000 1.184
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.183 2014/06/22 04:21:15 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.184 2014/07/04 07:01:35 radhermit Exp $
30 +
31 +*lilypond-2.19.9 (04 Jul 2014)
32 +
33 + 04 Jul 2014; Tim Harder <radhermit@g.o> +lilypond-2.19.9.ebuild:
34 + Version bump.
35
36 22 Jun 2014; Tim Harder <radhermit@g.o> -lilypond-2.18.0-r1.ebuild,
37 -lilypond-2.18.1.ebuild, -lilypond-2.19.2.ebuild, -lilypond-2.19.3.ebuild,
38
39
40
41 1.1 media-sound/lilypond/lilypond-2.19.9.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/lilypond-2.19.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/lilypond-2.19.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: lilypond-2.19.9.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.9.ebuild,v 1.1 2014/07/04 07:01:35 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 eautoreconf
124 }
125
126 src_configure() {
127 # documentation generation currently not supported since it requires a newer
128 # version of texi2html than is currently in the tree
129
130 econf \
131 --with-ncsb-dir=/usr/share/fonts/urw-fonts \
132 --disable-documentation \
133 --disable-optimising \
134 --disable-pipe \
135 $(use_enable debug debugging) \
136 $(use_enable profile profiling)
137 }
138
139 src_compile() {
140 default
141
142 if use emacs ; then
143 elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \
144 || die "elisp-compile failed"
145 fi
146 }
147
148 src_install () {
149 emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install
150
151 # remove elisp files since they are in the wrong directory
152 rm -r "${ED}"/usr/share/emacs || die
153
154 if use emacs ; then
155 elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \
156 || die "elisp-install failed"
157 elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
158 fi
159
160 dodoc AUTHORS.txt HACKING NEWS.txt README.txt
161 }
162
163 pkg_postinst() {
164 use emacs && elisp-site-regen
165 }
166
167 pkg_postrm() {
168 use emacs && elisp-site-regen
169 }