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