diff options
author | Marijn Schouten <hkbst@gentoo.org> | 2007-08-14 15:52:41 +0000 |
---|---|---|
committer | Marijn Schouten <hkbst@gentoo.org> | 2007-08-14 15:52:41 +0000 |
commit | 25596c7ef19a2a2ed81ecc566a10214dabc89a3a (patch) | |
tree | 46c0e011bf8f619b2c0f6da1fede5820f178854e /media-sound/lilypond | |
parent | Change for bug #188768 (diff) | |
download | gentoo-2-25596c7ef19a2a2ed81ecc566a10214dabc89a3a.tar.gz gentoo-2-25596c7ef19a2a2ed81ecc566a10214dabc89a3a.tar.bz2 gentoo-2-25596c7ef19a2a2ed81ecc566a10214dabc89a3a.zip |
add 2.*.29
(Portage version: 2.1.3.5)
Diffstat (limited to 'media-sound/lilypond')
-rw-r--r-- | media-sound/lilypond/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/lilypond/files/digest-lilypond-2.10.29 | 3 | ||||
-rw-r--r-- | media-sound/lilypond/files/digest-lilypond-2.11.29 | 3 | ||||
-rw-r--r-- | media-sound/lilypond/lilypond-2.10.29.ebuild | 120 | ||||
-rw-r--r-- | media-sound/lilypond/lilypond-2.11.29.ebuild | 120 |
5 files changed, 254 insertions, 1 deletions
diff --git a/media-sound/lilypond/ChangeLog b/media-sound/lilypond/ChangeLog index 0f7cb2e41415..f5a9b74131e2 100644 --- a/media-sound/lilypond/ChangeLog +++ b/media-sound/lilypond/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/lilypond # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.64 2007/08/11 17:47:23 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.65 2007/08/14 15:52:40 hkbst Exp $ + +*lilypond-2.11.29 (14 Aug 2007) +*lilypond-2.10.29 (14 Aug 2007) + + 14 Aug 2007; Marijn Schouten <hkBst@gentoo.org> +lilypond-2.10.29.ebuild, + +lilypond-2.11.29.ebuild: + add 2.*.29 11 Aug 2007; Raúl Porcel <armin76@gentoo.org> lilypond-2.10.25-r1.ebuild: Add ~alpha wrt #186993, thanks to Brian Evans and Tobias Klausmann for testing diff --git a/media-sound/lilypond/files/digest-lilypond-2.10.29 b/media-sound/lilypond/files/digest-lilypond-2.10.29 new file mode 100644 index 000000000000..f79cfacd2fd9 --- /dev/null +++ b/media-sound/lilypond/files/digest-lilypond-2.10.29 @@ -0,0 +1,3 @@ +MD5 201044efcff6e9eb8a9d8a960c9d8181 lilypond-2.10.29.tar.gz 2660476 +RMD160 086e419c3c457c14fd13c440325491ac435a850a lilypond-2.10.29.tar.gz 2660476 +SHA256 55186d82193b610c6ecc610f728b4960dec5aa6afc489ad4c033da8a7a920694 lilypond-2.10.29.tar.gz 2660476 diff --git a/media-sound/lilypond/files/digest-lilypond-2.11.29 b/media-sound/lilypond/files/digest-lilypond-2.11.29 new file mode 100644 index 000000000000..b8aab4a38ff7 --- /dev/null +++ b/media-sound/lilypond/files/digest-lilypond-2.11.29 @@ -0,0 +1,3 @@ +MD5 504ce1742e467e9612a20a27e6e6a29f lilypond-2.11.29.tar.gz 3342665 +RMD160 5321be50ab8074b6d310274fb80bcca3a3bcd960 lilypond-2.11.29.tar.gz 3342665 +SHA256 b84d92f9c900e3a63a6a06c7db9aabd1fedca5bf45d29f996a62ae72f00528f9 lilypond-2.11.29.tar.gz 3342665 diff --git a/media-sound/lilypond/lilypond-2.10.29.ebuild b/media-sound/lilypond/lilypond-2.10.29.ebuild new file mode 100644 index 000000000000..aa186f7dfa9d --- /dev/null +++ b/media-sound/lilypond/lilypond-2.10.29.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/lilypond-2.10.29.ebuild,v 1.1 2007/08/14 15:52:40 hkbst Exp $ + +inherit eutils versionator toolchain-funcs elisp-common + +DESCRIPTION="GNU Music Typesetter" +SRC_URI="http://download.linuxaudio.org/lilypond/sources/v$(get_version_component_range 1-2)/${P}.tar.gz" +HOMEPAGE="http://lilypond.org/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~sparc ~x86" + +#LANGS="cs da de es fi fr it ja nl ru rw sv tr zh_TW" +IUSE="debug emacs profile" +#IUSE="debug doc emacs gtk profile vim" + +#for X in ${LANGS} ; do +# IUSE="${IUSE} linguas_${X/-/_}" +#done + +# guile with deprecated and regex +RDEPEND=" + >=media-libs/freetype-2 + media-libs/fontconfig + >=x11-libs/pango-1.12.3 + >=dev-scheme/guile-1.8.1 + >=dev-lang/python-2.4 + || ( >=app-text/ghostscript-gnu-8.15 + >=app-text/ghostscript-gpl-8.15 + >=app-text/ghostscript-esp-8.15 ) + emacs? ( virtual/emacs )" +# >=app-text/ghostscript-gnu-8.55" + +# virtual/tetex + +DEPEND="${RDEPEND} + >=media-gfx/fontforge-20070501 + >=app-text/mftrace-1.2.9 + >=sys-apps/texinfo-4.8 + sys-devel/make + sys-devel/gettext + sys-devel/flex + dev-lang/perl + >=sys-devel/bison-2.0" +# doc? ( media-libs/netpbm +# media-gfx/imagemagick )" + +pkg_setup() { + if has_version =dev-scheme/guile-1.8*; then + local flags="deprecated regex" + built_with_use dev-scheme/guile ${flags} || die "guile must be built with \"${flags}\" use flags" + fi +} + +src_compile() { + if [[ $(gcc-major-version) -lt 4 ]]; then + eerror "You need GCC 4.x to build this software." + die "you need to compile with gcc-4 or later" + fi + + econf \ + $(use_enable debug debugging) \ + $(use_enable profile profiling) \ + --disable-gui \ + --disable-documentation +# $(use_enable doc documentation) \ + + # without -j1 it will not fail, but building docs later will + emake -j1 || die "emake failed" + +# if use doc; then +# emake -j1 web || die "emake web failed" +# fi + + if use emacs; then + elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \ + || die "elisp-compile failed" + fi +} + +# lilypond doesn't include the answers to the tests. +# You are supposed to build those yourself with an +# earlier version. Then running tests will compare the +# results of the tests against the results from the +# earlier version. As such, tests seem mostly useless +# for our purposes. +RESTRICT=test + +src_install () { + emake DESTDIR=${D} vimdir=/usr/share/vim/vimfiles install || die "emake install failed" + +# if use doc; then +# # Note: installs .html docs, .pdf docs and examples +# emake out=www web-install DESTDIR=${D} \ +# webdir=/usr/share/doc/${PF}/html || die "emake web-install failed" +# fi + + # remove elisp files since they are in the wrong directory + rm -r "${D}"/usr/share/emacs + + if use emacs; then + elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \ + || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el + fi + + dodoc AUTHORS.txt ChangeLog DEDICATION NEWS.txt README.txt THANKS + +# use vim || rm -r ${D}/usr/share/vim +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/media-sound/lilypond/lilypond-2.11.29.ebuild b/media-sound/lilypond/lilypond-2.11.29.ebuild new file mode 100644 index 000000000000..6983fcbdd0b5 --- /dev/null +++ b/media-sound/lilypond/lilypond-2.11.29.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/lilypond-2.11.29.ebuild,v 1.1 2007/08/14 15:52:41 hkbst Exp $ + +inherit eutils versionator toolchain-funcs elisp-common + +DESCRIPTION="GNU Music Typesetter" +SRC_URI="http://download.linuxaudio.org/lilypond/sources/v$(get_version_component_range 1-2)/${P}.tar.gz" +HOMEPAGE="http://lilypond.org/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~sparc ~x86" + +#LANGS="cs da de es fi fr it ja nl ru rw sv tr zh_TW" +IUSE="debug emacs profile" +#IUSE="debug doc emacs gtk profile vim" + +#for X in ${LANGS} ; do +# IUSE="${IUSE} linguas_${X/-/_}" +#done + +# guile with deprecated and regex +RDEPEND=" + >=media-libs/freetype-2 + media-libs/fontconfig + >=x11-libs/pango-1.12.3 + >=dev-scheme/guile-1.8.1 + >=dev-lang/python-2.4 + || ( >=app-text/ghostscript-gnu-8.15 + >=app-text/ghostscript-gpl-8.15 + >=app-text/ghostscript-esp-8.15 ) + emacs? ( virtual/emacs )" +# >=app-text/ghostscript-gnu-8.55" + +# virtual/tetex + +DEPEND="${RDEPEND} + >=media-gfx/fontforge-20070501 + >=app-text/mftrace-1.2.9 + >=sys-apps/texinfo-4.8 + sys-devel/make + sys-devel/gettext + sys-devel/flex + dev-lang/perl + >=sys-devel/bison-2.0" +# doc? ( media-libs/netpbm +# media-gfx/imagemagick )" + +pkg_setup() { + if has_version =dev-scheme/guile-1.8*; then + local flags="deprecated regex" + built_with_use dev-scheme/guile ${flags} || die "guile must be built with \"${flags}\" use flags" + fi +} + +src_compile() { + if [[ $(gcc-major-version) -lt 4 ]]; then + eerror "You need GCC 4.x to build this software." + die "you need to compile with gcc-4 or later" + fi + + econf \ + $(use_enable debug debugging) \ + $(use_enable profile profiling) \ + --disable-gui \ + --disable-documentation +# $(use_enable doc documentation) \ + + # without -j1 it will not fail, but building docs later will + emake -j1 || die "emake failed" + +# if use doc; then +# emake -j1 web || die "emake web failed" +# fi + + if use emacs; then + elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \ + || die "elisp-compile failed" + fi +} + +# lilypond doesn't include the answers to the tests. +# You are supposed to build those yourself with an +# earlier version. Then running tests will compare the +# results of the tests against the results from the +# earlier version. As such, tests seem mostly useless +# for our purposes. +RESTRICT=test + +src_install () { + emake DESTDIR=${D} vimdir=/usr/share/vim/vimfiles install || die "emake install failed" + +# if use doc; then +# # Note: installs .html docs, .pdf docs and examples +# emake out=www web-install DESTDIR=${D} \ +# webdir=/usr/share/doc/${PF}/html || die "emake web-install failed" +# fi + + # remove elisp files since they are in the wrong directory + rm -r "${D}"/usr/share/emacs + + if use emacs; then + elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \ + || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el + fi + + dodoc AUTHORS.txt ChangeLog DEDICATION NEWS.txt README.txt THANKS + +# use vim || rm -r ${D}/usr/share/vim +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |