diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-02-10 09:20:34 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-02-10 09:20:34 +0000 |
commit | ca418e3f8882f0cefe5d67328860137af86f9390 (patch) | |
tree | f2d35e840af361efa02b13a06b0203c6b829110b /media-sound | |
parent | bump to 2.6.3-rc2 (Manifest recommit) (diff) | |
download | gentoo-2-ca418e3f8882f0cefe5d67328860137af86f9390.tar.gz gentoo-2-ca418e3f8882f0cefe5d67328860137af86f9390.tar.bz2 gentoo-2-ca418e3f8882f0cefe5d67328860137af86f9390.zip |
solfege is a package to help you practice ear training (scales, dictation, rythm, etc). Ebuild submitted by TGL <degrenier@easyconnect.fr> ib bug #25085.
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/solfege/ChangeLog | 11 | ||||
-rw-r--r-- | media-sound/solfege/Manifest | 2 | ||||
-rw-r--r-- | media-sound/solfege/files/digest-solfege-2.0.4 | 1 | ||||
-rw-r--r-- | media-sound/solfege/metadata.xml | 5 | ||||
-rw-r--r-- | media-sound/solfege/solfege-2.0.4.ebuild | 76 |
5 files changed, 95 insertions, 0 deletions
diff --git a/media-sound/solfege/ChangeLog b/media-sound/solfege/ChangeLog new file mode 100644 index 000000000000..350a863274d5 --- /dev/null +++ b/media-sound/solfege/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-sound/solfege +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/solfege/ChangeLog,v 1.1 2004/02/10 09:20:34 eradicator Exp $ + +*solfege-2.0.4 (10 Feb 2004) + + 10 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org> metadata.xml, + solfege-2.0.4.ebuild: + solfege is a package to help you practice ear training (scales, dictation, + rythm, etc). Ebuild submitted by TGL <degrenier@easyconnect.fr> ib bug #25085. + diff --git a/media-sound/solfege/Manifest b/media-sound/solfege/Manifest new file mode 100644 index 000000000000..17d6cdfab01c --- /dev/null +++ b/media-sound/solfege/Manifest @@ -0,0 +1,2 @@ +MD5 f7691fbc3697b7a86c060075a00c8163 solfege-2.0.4.ebuild 2217 +MD5 a935b63a600c678e02199cb3e642981f files/digest-solfege-2.0.4 65 diff --git a/media-sound/solfege/files/digest-solfege-2.0.4 b/media-sound/solfege/files/digest-solfege-2.0.4 new file mode 100644 index 000000000000..9d6a6ade52bc --- /dev/null +++ b/media-sound/solfege/files/digest-solfege-2.0.4 @@ -0,0 +1 @@ +MD5 5d93a3d7a03e4a76941f536dbe7041c8 solfege-2.0.4.tar.gz 498862 diff --git a/media-sound/solfege/metadata.xml b/media-sound/solfege/metadata.xml new file mode 100644 index 000000000000..e1774e3d9ad7 --- /dev/null +++ b/media-sound/solfege/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +</pkgmetadata> diff --git a/media-sound/solfege/solfege-2.0.4.ebuild b/media-sound/solfege/solfege-2.0.4.ebuild new file mode 100644 index 000000000000..8fb12904bcae --- /dev/null +++ b/media-sound/solfege/solfege-2.0.4.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/solfege/solfege-2.0.4.ebuild,v 1.1 2004/02/10 09:20:34 eradicator Exp $ + +inherit python + +IUSE="gtkhtml gnome oss" +DESCRIPTION="GNU Solfege is a program written to help you practice ear training." +HOMEPAGE="http://${PN}.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +RESTRICT="nomirror" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +RDEPEND=">=dev-lang/python-2.2 + >=x11-libs/gtk+-2.0 + >=dev-python/pygtk-2.0 + gnome? ( >=dev-python/gnome-python-2.0 ) + gtkhtml? ( =gnome-extra/libgtkhtml-2* + >=dev-python/gnome-python-2.0 )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + =dev-lang/swig-1.3* + sys-devel/gettext + sys-apps/texinfo + dev-libs/libxslt + =app-text/docbook-xsl-stylesheets-1.62*" + +S=${WORKDIR}/${P} + +pkg_setup() { + # die if user wants gtkhtml but it is not enable in gnome-python + # (can't use a "python -c 'import gtkhtml2'" test because it imports gtk, + # which needs X11, and breaks in console) + use gtkhtml \ + && python_version \ + && [ ! -f ${ROOT}usr/lib/python${PYVER}/site-packages/gtk-2.0/gtkhtml2.so ] \ + && eerror "Could not find the GTKHtml2 python module, whereas gtkhml is in your flags." \ + && eerror "Please re-emerge \"dev-python/gnome-python\" with \"gtkhtml\" USE flag on." \ + && die "You will have to re-emerge gnome-python." +} + +src_unpack() { + unpack ${A} + cd ${S} + mv Makefile.in Makefile.in.orig + sed -e 's:links:#links: ; s:gnome/apps/Applications:applications:' \ + < Makefile.in.orig > Makefile.in + + echo 'Categories=Application;AudioVideo;' >> solfege.desktop + echo 'Comments=The GNU ear training program' >> solfege.desktop +} + +src_compile() { + # Try to figure out where is this damn stylesheet + local xslloc=$( ls /usr/share/sgml/docbook/xsl-stylesheets-1.62*/html/chunk.xsl | tail -n 1 ) + [ -n "$xslloc" ] || die "XSL stylesheet not found" + + econf --enable-docbook-stylesheet=${xslloc} \ + `use_with gnome` \ + `use_with gtkhtml` \ + `use_enable oss oss-sound` \ + || die "Configuration failed." + + emake || die "Compilation failed." +} + +src_install() { +#borks make DESTDIR=${D} install || die "Installation failed." + einstall || die "Installation failed." + rm -f ${D}usr/bin/${PN}${PV} + dodoc AUTHORS changelog COPYING FAQ INSTALL README TODO TRANSLATING +} + |