diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-06-17 19:21:52 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-06-17 19:21:52 +0000 |
commit | 46204844209322826cdaf1003194a169d2ceed0f (patch) | |
tree | e4c506b6792f8893ede79a886aa1e1a9b11bd0b6 /media-sound/solfege/solfege-3.20.0.ebuild | |
parent | app-crypt/WiRouterKeyRec: Version bump to 1.0.6. Thanks Agostino. (diff) | |
download | gentoo-2-46204844209322826cdaf1003194a169d2ceed0f.tar.gz gentoo-2-46204844209322826cdaf1003194a169d2ceed0f.tar.bz2 gentoo-2-46204844209322826cdaf1003194a169d2ceed0f.zip |
Version bump.
(Portage version: 2.2.0_alpha40/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/solfege/solfege-3.20.0.ebuild')
-rw-r--r-- | media-sound/solfege/solfege-3.20.0.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/media-sound/solfege/solfege-3.20.0.ebuild b/media-sound/solfege/solfege-3.20.0.ebuild new file mode 100644 index 000000000000..a5356b946dc7 --- /dev/null +++ b/media-sound/solfege/solfege-3.20.0.ebuild @@ -0,0 +1,55 @@ +# 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.0.ebuild,v 1.1 2011/06/17 19:21:52 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 + alsa? ( dev-python/pyalsa )" +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 +} |