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.96.ebuild ChangeLog
Date: Mon, 02 Dec 2013 09:26:47
Message-Id: 20131202092644.1C3622004B@flycatcher.gentoo.org
1 radhermit 13/12/02 09:26:44
2
3 Modified: ChangeLog
4 Added: lilypond-2.17.96.ebuild
5 Log:
6 Version bump, fix metapost deps (bug #489804).
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.170 media-sound/lilypond/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.170&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.170&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/ChangeLog?r1=1.169&r2=1.170
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v
20 retrieving revision 1.169
21 retrieving revision 1.170
22 diff -u -r1.169 -r1.170
23 --- ChangeLog 6 Nov 2013 06:40:16 -0000 1.169
24 +++ ChangeLog 2 Dec 2013 09:26:43 -0000 1.170
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.169 2013/11/06 06:40:16 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.170 2013/12/02 09:26:43 radhermit Exp $
30 +
31 +*lilypond-2.17.96 (02 Dec 2013)
32 +
33 + 02 Dec 2013; Tim Harder <radhermit@g.o> +lilypond-2.17.96.ebuild:
34 + Version bump, fix metapost deps (bug #489804).
35
36 *lilypond-2.17.95 (06 Nov 2013)
37
38
39
40
41 1.1 media-sound/lilypond/lilypond-2.17.96.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/lilypond-2.17.96.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lilypond/lilypond-2.17.96.ebuild?rev=1.1&content-type=text/plain
45
46 Index: lilypond-2.17.96.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.96.ebuild,v 1.1 2013/12/02 09:26:43 radhermit Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python{2_6,2_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 || ( <dev-texlive/texlive-metapost-2013 >=dev-tex/metapost-1.803 )
80 virtual/pkgconfig
81 media-gfx/fontforge
82 >=sys-apps/texinfo-4.11
83 >=sys-devel/bison-2.0
84 sys-devel/flex
85 sys-devel/gettext
86 sys-devel/make"
87
88 # Correct output data for tests isn't bundled with releases
89 RESTRICT="test"
90
91 src_prepare() {
92 epatch "${FILESDIR}"/${PN}-2.17.2-tex-docs.patch
93
94 if ! use vim-syntax ; then
95 sed -i 's/vim//' GNUmakefile.in || die
96 fi
97
98 # respect CFLAGS
99 sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
100
101 for lang in ${LANGS}; do
102 use linguas_${lang} || rm po/${lang}.po || die
103 done
104
105 # respect AR
106 sed -i "s/^AR=ar/AR=$(tc-getAR)/" stepmake/stepmake/library-vars.make || die
107
108 eautoreconf
109 }
110
111 src_configure() {
112 # documentation generation currently not supported since it requires a newer
113 # version of texi2html than is currently in the tree
114
115 econf \
116 --with-ncsb-dir=/usr/share/fonts/urw-fonts \
117 --disable-documentation \
118 --disable-optimising \
119 --disable-pipe \
120 $(use_enable debug debugging) \
121 $(use_enable profile profiling)
122 }
123
124 src_compile() {
125 default
126
127 if use emacs ; then
128 elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \
129 || die "elisp-compile failed"
130 fi
131 }
132
133 src_install () {
134 emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install
135
136 # remove elisp files since they are in the wrong directory
137 rm -r "${ED}"/usr/share/emacs || die
138
139 if use emacs ; then
140 elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \
141 || die "elisp-install failed"
142 elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
143 fi
144
145 python_fix_shebang "${ED}"
146
147 dodoc AUTHORS.txt HACKING NEWS.txt README.txt
148 }
149
150 pkg_postinst() {
151 use emacs && elisp-site-regen
152 }
153
154 pkg_postrm() {
155 use emacs && elisp-site-regen
156 }