summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2007-04-30 21:23:06 +0000
committerDenis Dupeyron <calchan@gentoo.org>2007-04-30 21:23:06 +0000
commit3f2d9f0317c24df836f6aff7f391bcdb51cc167b (patch)
treeaa12fa32df26a84d433999e15976ee80cc0f01e9 /sci-electronics/gtkwave
parent- filter ssp on ia64 due to ICE in compiler. revisit when we have a working h... (diff)
downloadgentoo-2-3f2d9f0317c24df836f6aff7f391bcdb51cc167b.tar.gz
gentoo-2-3f2d9f0317c24df836f6aff7f391bcdb51cc167b.tar.bz2
gentoo-2-3f2d9f0317c24df836f6aff7f391bcdb51cc167b.zip
Version bump.
(Portage version: 2.1.2.5)
Diffstat (limited to 'sci-electronics/gtkwave')
-rw-r--r--sci-electronics/gtkwave/ChangeLog7
-rw-r--r--sci-electronics/gtkwave/files/digest-gtkwave-3.0.286
-rw-r--r--sci-electronics/gtkwave/gtkwave-3.0.28.ebuild106
3 files changed, 118 insertions, 1 deletions
diff --git a/sci-electronics/gtkwave/ChangeLog b/sci-electronics/gtkwave/ChangeLog
index 614fcc980503..bb81447b328f 100644
--- a/sci-electronics/gtkwave/ChangeLog
+++ b/sci-electronics/gtkwave/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-electronics/gtkwave
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/ChangeLog,v 1.32 2007/04/11 06:25:42 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/ChangeLog,v 1.33 2007/04/30 21:23:06 calchan Exp $
+
+*gtkwave-3.0.28 (30 Apr 2007)
+
+ 30 Apr 2007; Denis Dupeyron <calchan@gentoo.org> +gtkwave-3.0.28.ebuild:
+ Version bump.
11 Apr 2007; Denis Dupeyron <calchan@gentoo.org> -gtkwave-3.0.5.ebuild,
-gtkwave-3.0.13.ebuild, -gtkwave-3.0.21.ebuild:
diff --git a/sci-electronics/gtkwave/files/digest-gtkwave-3.0.28 b/sci-electronics/gtkwave/files/digest-gtkwave-3.0.28
new file mode 100644
index 000000000000..15474b308e55
--- /dev/null
+++ b/sci-electronics/gtkwave/files/digest-gtkwave-3.0.28
@@ -0,0 +1,6 @@
+MD5 fda04d744ce240d581ffc3de17326eaa gtkwave-3.0.28.tar.gz 2491886
+RMD160 a6abda49f456cc66d5c03e8a66b5a0fe7402a531 gtkwave-3.0.28.tar.gz 2491886
+SHA256 c55fc3531a5b4c822ab610812de95ffd21b8fa13b3988126f4389bec3a955aa0 gtkwave-3.0.28.tar.gz 2491886
+MD5 867d08b2a24eb0ca2bac653a11a6e0c3 gtkwave-doc-3.0.27.tar.gz 1213938
+RMD160 f452f6703390d66be984dd1a2811aec563a1c3c5 gtkwave-doc-3.0.27.tar.gz 1213938
+SHA256 9ed3a38349201466c08cf61ae1f38c9b8838912f4e9429ba5940b61e0a97000a gtkwave-doc-3.0.27.tar.gz 1213938
diff --git a/sci-electronics/gtkwave/gtkwave-3.0.28.ebuild b/sci-electronics/gtkwave/gtkwave-3.0.28.ebuild
new file mode 100644
index 000000000000..4ea52529dc92
--- /dev/null
+++ b/sci-electronics/gtkwave/gtkwave-3.0.28.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/gtkwave-3.0.28.ebuild,v 1.1 2007/04/30 21:23:06 calchan Exp $
+
+DOC_VERSION="3.0.27"
+DESCRIPTION="A wave viewer for LXT, LXT2, VZT, GHW and standard Verilog VCD/EVCD files"
+HOMEPAGE="http://home.nc.rr.com/gtkwave/"
+SRC_URI="http://home.nc.rr.com/gtkwave/${P}.tar.gz
+ doc? ( http://home.nc.rr.com/gtkwave/${PN}-doc-${DOC_VERSION}.tar.gz )"
+
+IUSE="doc examples"
+LICENSE="GPL-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+DEPEND=">=x11-libs/gtk+-2
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Using sed below, because equivalent patch is much bigger
+
+ # configure must not be interactive, force GTK2
+ sed -i \
+ -e 's:echo "Build GTKWave for GTK+-1.x or 2.x?:# Build for GTK2:' \
+ -e 's:read X:X="2":' \
+ configure \
+ || die "sed 1 failed"
+
+ # Fix command substitution
+ sed -i \
+ -e 's:`pkg-config gtk+-2.0 --libs`:$(shell pkg-config gtk+-2.0 --libs):' \
+ -e 's:`pkg-config gtk+-2.0 --cflags`:$(shell pkg-config gtk+-2.0 --cflags):' \
+ src/Makefile_GTK2.in \
+ contrib/rtlbrowse/Makefile_GTK2.in \
+ || die "sed 2 failed"
+
+ # Comply with DESTDIR
+ sed -i \
+ -e 's:$(bindir):$(DESTDIR)/$(bindir):' \
+ -e 's:$(mandir):$(DESTDIR)/$(mandir):' \
+ Makefile.in \
+ || die "sed 3 failed"
+
+ # CFLAGS fixes
+ sed -i \
+ -e 's:CFLAGS = -O2:CFLAGS +=:' \
+ src/Makefile_GTK2.in \
+ */*/Makefile*.in \
+ || die "sed 4 failed"
+ sed -i \
+ -e 's:=$(COPT): +=:' \
+ contrib/pccts/*/*/Makefile.in \
+ || die "sed 5 failed"
+ sed -i \
+ -e 's:= $(COPT):+=:' \
+ contrib/pccts/*/Makefile.in \
+ || die "sed 6 failed"
+
+ # LDFLAGS fixes
+ sed -i \
+ -e 's:$(CFLAGS) $(OBJS):$(CFLAGS) $(LDFLAGS) $(OBJS):' \
+ src/Makefile_GTK2.in \
+ || die "sed 7 failed"
+ sed -i \
+ -e 's:LDFLAGS=:LDFLAGS+=:' \
+ contrib/rtlbrowse/Makefile_GTK2.in \
+ || die "sed 8 failed"
+ sed -i \
+ -e 's:$(CC) $(CFLAGS) -o:$(CC) $(CFLAGS) $(LDFLAGS) -o:' \
+ contrib/pccts/*/Makefile.in \
+ src/helpers/Makefile.in \
+ || die "sed 9 failed"
+ sed -i \
+ -e 's:$(CC) -o:$(CC) $(LDFLAGS) -o:' \
+ contrib/vermin/Makefile.in \
+ contrib/pccts/sorcerer/Makefile.in \
+ contrib/pccts/support/genmk/Makefile.in \
+ || die "sed 10 failed"
+ sed -i \
+ -e 's:-o ghwdump:$(LDFLAGS) -o ghwdump:' \
+ src/helpers/Makefile.in \
+ || die "sed 11 failed"
+}
+
+src_compile() {
+ econf || die 'Configuration failed'
+
+ # Bug #142871
+ emake -j1 || die 'Compilation failed'
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die "Installation failed"
+ dodoc ANALOG_README.TXT CHANGELOG.TXT
+ if use doc ; then
+ insinto /usr/share/doc/${PF}
+ doins "${WORKDIR}/${PN}.pdf" || die "Failed to install documentation."
+ fi
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples || die "Failed to install examples."
+ fi
+}