public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-sound/lilypond: ChangeLog lilypond-2.11.51.ebuild
@ 2008-07-08 14:28 Marijn Schouten (hkbst)
  0 siblings, 0 replies; only message in thread
From: Marijn Schouten (hkbst) @ 2008-07-08 14:28 UTC (permalink / raw
  To: gentoo-commits

hkbst       08/07/08 14:28:18

  Modified:             ChangeLog
  Added:                lilypond-2.11.51.ebuild
  Log:
  bump
  (Portage version: 2.2_rc1/cvs/Linux 2.6.23-gentoo-r8 x86_64)

Revision  Changes    Path
1.84                 media-sound/lilypond/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.84&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.84&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/ChangeLog?r1=1.83&r2=1.84

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- ChangeLog	3 Jul 2008 18:15:19 -0000	1.83
+++ ChangeLog	8 Jul 2008 14:28:17 -0000	1.84
@@ -1,6 +1,11 @@
 # ChangeLog for media-sound/lilypond
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.83 2008/07/03 18:15:19 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.84 2008/07/08 14:28:17 hkbst Exp $
+
+*lilypond-2.11.51 (08 Jul 2008)
+
+  08 Jul 2008; Marijn Schouten <hkBst@gentoo.org> +lilypond-2.11.51.ebuild:
+  bump
 
   03 Jul 2008; Marijn Schouten <hkBst@gentoo.org> -lilypond-2.11.33.ebuild,
   -lilypond-2.11.36.ebuild, -lilypond-2.11.43.ebuild,



1.1                  media-sound/lilypond/lilypond-2.11.51.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/lilypond-2.11.51.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/lilypond-2.11.51.ebuild?rev=1.1&content-type=text/plain

Index: lilypond-2.11.51.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/lilypond-2.11.51.ebuild,v 1.1 2008/07/08 14:28:17 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.11
	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

	# see bug 228823
	econf --with-ncsb-dir=/usr/share/fonts/default/ghostscript \
		$(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 HACKING NEWS.txt README.txt

#	use vim || rm -r ${D}/usr/share/vim
}

pkg_postinst() {
	use emacs && elisp-site-regen
}

pkg_postrm() {
	use emacs && elisp-site-regen
}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-08 14:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-08 14:28 [gentoo-commits] gentoo-x86 commit in media-sound/lilypond: ChangeLog lilypond-2.11.51.ebuild Marijn Schouten (hkbst)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox