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