Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 250818
Collapse All | Expand All

(-)solfege-3.10.4.ebuild (-11 / +10 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2008 Gentoo Foundation
1
# Copyright 1999-2009 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/solfege/solfege-3.10.4.ebuild,v 1.2 2008/12/04 20:48:57 eva Exp $
3
# $Header: $
4
5
EAPI="2"
4
6
5
DESCRIPTION="GNU Solfege is a program written to help you practice ear training."
7
DESCRIPTION="GNU Solfege is a program written to help you practice ear training."
6
HOMEPAGE="http://www.solfege.org"
8
HOMEPAGE="http://www.solfege.org"
Lines 11-43 Link Here
11
KEYWORDS="~amd64 ~ppc ~x86"
13
KEYWORDS="~amd64 ~ppc ~x86"
12
IUSE="oss"
14
IUSE="oss"
13
15
14
# FIXME: there is probably some missing python deps, please fill bugs.
16
RDEPEND=">=dev-lang/python-2.4
15
RDEPEND=">=dev-python/pygtk-2.6
17
	>=x11-libs/gtk+-2.12
16
	>=dev-python/libgnome-python-2.20
18
	>=dev-python/pygtk-2.6"
17
	>=dev-python/gtkhtml-python-2.19"
18
DEPEND="${RDEPEND}
19
DEPEND="${RDEPEND}
19
	dev-util/pkgconfig
20
	dev-util/pkgconfig
20
	=dev-lang/swig-1.3*
21
	=dev-lang/swig-1.3*
21
	sys-devel/gettext
22
	sys-devel/gettext
22
	sys-apps/texinfo
23
	sys-apps/texinfo
23
	dev-libs/libxslt
24
	dev-libs/libxslt
25
	app-text/txt2man
24
	>=app-text/docbook-xsl-stylesheets-1.60"
26
	>=app-text/docbook-xsl-stylesheets-1.60"
25
27
26
src_unpack() {
28
src_prepare() {
27
	unpack ${A}
28
	# Make sure it doesn't compile python at install time for bug 210305.
29
	# Make sure it doesn't compile python at install time for bug 210305.
29
	sed -i -e 's:compileall::' "${S}"/Makefile.in || die "sed failed."
30
	sed -i -e 's:compileall::' "${S}"/Makefile.in || die "sed failed."
30
}
31
}
31
32
32
src_compile() {
33
src_configure() {
33
	# Try to figure out where is this damn stylesheet.
34
	# Try to figure out where is this damn stylesheet.
34
	local xslloc=$( xmlcatalog /etc/xml/catalog	http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl | sed 's@file://@@' )
35
	local xslloc=$( xmlcatalog /etc/xml/catalog	http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl | sed 's@file://@@' )
35
36
36
	econf --enable-docbook-stylesheet=${xslloc} \
37
	econf --enable-docbook-stylesheet=${xslloc} \
37
		$(use_enable oss oss-sound) \
38
		$(use_enable oss oss-sound) \
38
		--disable-pygtk-test
39
		--disable-pygtk-test
39
40
	emake || die "emake failed."
41
}
40
}
42
41
43
src_install() {
42
src_install() {

Return to bug 250818