summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-06-12 18:31:41 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-06-12 18:31:41 +0000
commitef3e712ecc075d3d490b737e314355606e402121 (patch)
tree0309607ef552d0323b536a0a06d6c0f56d34bb7f /media-sound/solfege/solfege-3.8.0.ebuild
parentAdd ~x86-fbsd keyword. (diff)
downloadgentoo-2-ef3e712ecc075d3d490b737e314355606e402121.tar.gz
gentoo-2-ef3e712ecc075d3d490b737e314355606e402121.tar.bz2
gentoo-2-ef3e712ecc075d3d490b737e314355606e402121.zip
Version bump, bug #179965
(Portage version: 2.1.2.9)
Diffstat (limited to 'media-sound/solfege/solfege-3.8.0.ebuild')
-rw-r--r--media-sound/solfege/solfege-3.8.0.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/media-sound/solfege/solfege-3.8.0.ebuild b/media-sound/solfege/solfege-3.8.0.ebuild
new file mode 100644
index 000000000000..8d658c4cab68
--- /dev/null
+++ b/media-sound/solfege/solfege-3.8.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/solfege/solfege-3.8.0.ebuild,v 1.1 2007/06/12 18:31:41 aballier Exp $
+
+inherit python eutils
+
+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-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="oss"
+
+RDEPEND=">=dev-lang/python-2.3
+ >=x11-libs/gtk+-2.6
+ >=dev-python/pygtk-2.6
+ >=gnome-extra/gtkhtml-2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ =dev-lang/swig-1.3*
+ sys-devel/gettext
+ sys-apps/texinfo
+ dev-libs/libxslt
+ sys-apps/sed
+ >=app-text/docbook-xsl-stylesheets-1.60"
+
+src_compile() {
+ # Try to figure out where is this damn stylesheet
+ 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)
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS changelog FAQ README
+}