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.17.1.ebuild
Date: Sat, 01 Sep 2012 07:48:34
Message-Id: 20120901074825.5929020E72@flycatcher.gentoo.org
1 radhermit 12/09/01 07:48:25
2
3 Modified: ChangeLog
4 Added: lilypond-2.17.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha123/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.124 media-sound/lilypond/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.124&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.124&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/ChangeLog?r1=1.123&r2=1.124
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v
20 retrieving revision 1.123
21 retrieving revision 1.124
22 diff -u -r1.123 -r1.124
23 --- ChangeLog 26 Aug 2012 19:42:29 -0000 1.123
24 +++ ChangeLog 1 Sep 2012 07:48:25 -0000 1.124
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.123 2012/08/26 19:42:29 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.124 2012/09/01 07:48:25 radhermit Exp $
30 +
31 +*lilypond-2.17.1 (01 Sep 2012)
32 +
33 + 01 Sep 2012; Tim Harder <radhermit@g.o> +lilypond-2.17.1.ebuild:
34 + Version bump.
35
36 26 Aug 2012; Tim Harder <radhermit@g.o> -lilypond-2.15.42.ebuild,
37 -lilypond-2.15.95.ebuild:
38
39
40
41 1.1 media-sound/lilypond/lilypond-2.17.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/lilypond-2.17.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/lilypond-2.17.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: lilypond-2.17.1.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.1.ebuild,v 1.1 2012/09/01 07:48:25 radhermit Exp $
51
52 EAPI="4"
53 PYTHON_DEPEND="2"
54
55 inherit elisp-common python autotools
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 if ! use vim-syntax ; then
95 sed -i -e "s/vim//" GNUmakefile.in || die
96 fi
97
98 sed -i -e "s/OPTIMIZE -g/OPTIMIZE/" aclocal.m4 || die
99
100 eautoreconf
101 }
102
103 src_configure() {
104 # documentation generation currently not supported since it requires a newer
105 # version of texi2html than is currently in the tree
106
107 econf \
108 --with-ncsb-dir=/usr/share/fonts/urw-fonts \
109 --disable-documentation \
110 --disable-optimising \
111 --disable-pipe \
112 $(use_enable debug debugging) \
113 $(use_enable profile profiling)
114 }
115
116 src_compile() {
117 default
118
119 if use emacs ; then
120 elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \
121 || die "elisp-compile failed"
122 fi
123 }
124
125 src_install () {
126 emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install
127
128 # remove elisp files since they are in the wrong directory
129 rm -r "${D}"/usr/share/emacs || die
130
131 if use emacs ; then
132 elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \
133 || die "elisp-install failed"
134 elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
135 fi
136
137 python_convert_shebangs -r 2 "${D}"
138
139 dodoc AUTHORS.txt HACKING NEWS.txt README.txt
140 }
141
142 pkg_postinst() {
143 use emacs && elisp-site-regen
144 }
145
146 pkg_postrm() {
147 use emacs && elisp-site-regen
148 }