diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2009-11-29 07:06:23 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2009-11-29 07:06:23 +0000 |
commit | c8136fb619f9de4d018804e51c6dbdc2d6193761 (patch) | |
tree | 64eca1dff2a1281e9adb3db157fdf2feb60d765d /sci-electronics | |
parent | Fix blorken Manifest entry for gnome-media-2.26.0-r1.ebuild. (diff) | |
download | gentoo-2-c8136fb619f9de4d018804e51c6dbdc2d6193761.tar.gz gentoo-2-c8136fb619f9de4d018804e51c6dbdc2d6193761.tar.bz2 gentoo-2-c8136fb619f9de4d018804e51c6dbdc2d6193761.zip |
gwave2 is finally working, thanks to Ivan Filgueiras (bug #293397). With help from Rafael Martins.
(Portage version: 2.1.7.1/cvs/Linux i686)
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/gwave/ChangeLog | 8 | ||||
-rw-r--r-- | sci-electronics/gwave/gwave-20090213.ebuild | 57 |
2 files changed, 64 insertions, 1 deletions
diff --git a/sci-electronics/gwave/ChangeLog b/sci-electronics/gwave/ChangeLog index 808c856c0737..8d5d932e376a 100644 --- a/sci-electronics/gwave/ChangeLog +++ b/sci-electronics/gwave/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-electronics/gwave # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gwave/ChangeLog,v 1.21 2009/11/14 13:40:53 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gwave/ChangeLog,v 1.22 2009/11/29 07:06:23 calchan Exp $ + +*gwave-20090213 (29 Nov 2009) + + 29 Nov 2009; Denis Dupeyron <calchan@gentoo.org> +gwave-20090213.ebuild: + gwave2 is finally working, thanks to Ivan Filgueiras (bug #293397). With + help from Rafael Martins. 14 Nov 2009; Tomáš Chvátal <scarabeus@gentoo.org> -gwave-20070514.ebuild: diff --git a/sci-electronics/gwave/gwave-20090213.ebuild b/sci-electronics/gwave/gwave-20090213.ebuild new file mode 100644 index 000000000000..0d368e60fa89 --- /dev/null +++ b/sci-electronics/gwave/gwave-20090213.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gwave/gwave-20090213.ebuild,v 1.1 2009/11/29 07:06:23 calchan Exp $ + +EAPI="2" + +inherit eutils fdo-mime gnome2-utils + +MY_PN="gwave2" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Analog waveform viewer for SPICE-like simulations" +LICENSE="GPL-2" +HOMEPAGE="http://www.geda.seul.org/tools/gwave/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="gnuplot plotutils" +SLOT="0" + +DEPEND="=dev-scheme/guile-1.8*[networking] + =dev-scheme/guile-gnome-platform-2.16*" + +RDEPEND="${DEPEND} + sci-electronics/electronics-menu + gnuplot? ( sci-visualization/gnuplot ) + plotutils? ( media-libs/plotutils )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # --as-needed fix + sed -i -e 's/_LDADD = /_LDADD = -lX11 /' remote/Makefile.in || die "sed failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "Installation failed" + dodoc AUTHORS NEWS README TODO || die "Installation of documentation failed" + newicon icons/wave-drag-ok.xpm gwave.xpm + make_desktop_entry gwave "Gwave" gwave.xpm "Electronics" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} |