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: lilypond-2.17.3.ebuild ChangeLog
Date: Sun, 30 Sep 2012 02:19:50
Message-Id: 20120930021936.06DDF21601@flycatcher.gentoo.org
1 radhermit 12/09/30 02:19:35
2
3 Modified: ChangeLog
4 Added: lilypond-2.17.3.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha133/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.127 media-sound/lilypond/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.127&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.127&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/ChangeLog?r1=1.126&r2=1.127
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v
20 retrieving revision 1.126
21 retrieving revision 1.127
22 diff -u -r1.126 -r1.127
23 --- ChangeLog 15 Sep 2012 09:54:31 -0000 1.126
24 +++ ChangeLog 30 Sep 2012 02:19:35 -0000 1.127
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-sound/lilypond
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.126 2012/09/15 09:54:31 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.127 2012/09/30 02:19:35 radhermit Exp $
30 +
31 +*lilypond-2.17.3 (30 Sep 2012)
32 +
33 + 30 Sep 2012; Tim Harder <radhermit@g.o> +lilypond-2.17.3.ebuild:
34 + Version bump.
35
36 *lilypond-2.17.2 (15 Sep 2012)
37
38
39
40
41 1.1 media-sound/lilypond/lilypond-2.17.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/lilypond-2.17.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/lilypond-2.17.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: lilypond-2.17.3.ebuild
47 ===================================================================
48 # Copyright 1999-2012 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.17.3.ebuild,v 1.1 2012/09/30 02:19:35 radhermit Exp $
51
52 EAPI="4"
53 PYTHON_DEPEND="2"
54
55 inherit elisp-common python autotools eutils
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 SLOT="0"
62 LICENSE="GPL-3 FDL-1.3"
63 KEYWORDS="~amd64 ~hppa ~x86"
64 IUSE="debug emacs profile vim-syntax"
65
66 RDEPEND=">=app-text/ghostscript-gpl-8.15
67 >=dev-scheme/guile-1.8.2[deprecated,regex]
68 media-fonts/urw-fonts
69 media-libs/fontconfig
70 media-libs/freetype:2
71 >=x11-libs/pango-1.12.3
72 emacs? ( virtual/emacs )"
73 DEPEND="${RDEPEND}
74 app-text/t1utils
75 dev-lang/perl
76 dev-texlive/texlive-metapost
77 virtual/pkgconfig
78 media-gfx/fontforge
79 >=sys-apps/texinfo-4.11
80 >=sys-devel/bison-2.0
81 sys-devel/flex
82 sys-devel/gettext
83 sys-devel/make"
84
85 # Correct output data for tests isn't bundled with releases
86 RESTRICT="test"
87
88 pkg_setup() {
89 python_set_active_version 2
90 python_pkg_setup
91 }
92
93 src_prepare() {
94 epatch "${FILESDIR}"/${PN}-2.17.2-tex-docs.patch
95
96 if ! use vim-syntax ; then
97 sed -i -e "s/vim//" GNUmakefile.in || die
98 fi
99
100 sed -i -e "s/OPTIMIZE -g/OPTIMIZE/" aclocal.m4 || die
101
102 eautoreconf
103 }
104
105 src_configure() {
106 # documentation generation currently not supported since it requires a newer
107 # version of texi2html than is currently in the tree
108
109 econf \
110 --with-ncsb-dir=/usr/share/fonts/urw-fonts \
111 --disable-documentation \
112 --disable-optimising \
113 --disable-pipe \
114 $(use_enable debug debugging) \
115 $(use_enable profile profiling)
116 }
117
118 src_compile() {
119 default
120
121 if use emacs ; then
122 elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \
123 || die "elisp-compile failed"
124 fi
125 }
126
127 src_install () {
128 emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install
129
130 # remove elisp files since they are in the wrong directory
131 rm -r "${D}"/usr/share/emacs || die
132
133 if use emacs ; then
134 elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \
135 || die "elisp-install failed"
136 elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
137 fi
138
139 python_convert_shebangs -r 2 "${D}"
140
141 dodoc AUTHORS.txt HACKING NEWS.txt README.txt
142 }
143
144 pkg_postinst() {
145 use emacs && elisp-site-regen
146 }
147
148 pkg_postrm() {
149 use emacs && elisp-site-regen
150 }