From 633d2fad8935728b36bdcde3d163a1bcacd8420a Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Sun, 23 Oct 2011 06:43:20 +0000 Subject: Version bump. (Portage version: 2.2.0_alpha70/cvs/Linux x86_64) --- media-sound/solfege/ChangeLog | 7 +++- media-sound/solfege/solfege-3.20.4.ebuild | 57 +++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 media-sound/solfege/solfege-3.20.4.ebuild diff --git a/media-sound/solfege/ChangeLog b/media-sound/solfege/ChangeLog index 6356e8dffc3b..ae13278b8dbd 100644 --- a/media-sound/solfege/ChangeLog +++ b/media-sound/solfege/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/solfege # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/solfege/ChangeLog,v 1.76 2011/09/29 08:20:17 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/solfege/ChangeLog,v 1.77 2011/10/23 06:43:20 radhermit Exp $ + +*solfege-3.20.4 (23 Oct 2011) + + 23 Oct 2011; Tim Harder +solfege-3.20.4.ebuild: + Version bump. 29 Sep 2011; Tim Harder -solfege-3.18.8.ebuild, -solfege-3.19.9.ebuild, -solfege-3.20.1.ebuild, -solfege-3.20.2.ebuild, diff --git a/media-sound/solfege/solfege-3.20.4.ebuild b/media-sound/solfege/solfege-3.20.4.ebuild new file mode 100644 index 000000000000..5f2e16744f05 --- /dev/null +++ b/media-sound/solfege/solfege-3.20.4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/solfege/solfege-3.20.4.ebuild,v 1.1 2011/10/23 06:43:20 radhermit Exp $ + +EAPI="3" +PYTHON_DEPEND="2:2.6" +PYTHON_USE_WITH="sqlite" + +inherit python + +DESCRIPTION="GNU Solfege is a program written to help you practice ear training." +HOMEPAGE="http://www.solfege.org" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="alsa oss" + +RDEPEND=">=dev-python/pygtk-2.12 + gnome-base/librsvg + alsa? ( dev-python/pyalsa ) + !oss? ( media-sound/timidity++ )" +DEPEND="dev-lang/swig + sys-devel/gettext + sys-apps/texinfo + dev-util/pkgconfig + dev-libs/libxslt + app-text/txt2man + >=app-text/docbook-xsl-stylesheets-1.60" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + sed -i -e '/^CFLAGS/s:-I/usr/src/linux/include::' \ + solfege/soundcard/Makefile || die "sed failed" +} + +src_configure() { + local xslloc=$( xmlcatalog /etc/xml/catalog http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl | sed 's@file://@@' ) + + econf \ + --enable-docbook-stylesheet=${xslloc} \ + $(use_enable oss oss-sound) +} + +src_compile() { + emake skipmanual=yes || die "emake failed" +} + +src_install() { + emake DESTDIR="${ED}" nopycompile=YES skipmanual=yes install || die "emake install failed" + dodoc AUTHORS *hange*og FAQ README +} -- cgit v1.2.3-65-gdbad