summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2006-06-30 18:18:41 +0000
committerDenis Dupeyron <calchan@gentoo.org>2006-06-30 18:18:41 +0000
commit0db78f45c1232fd9be13096d151445ed88cca6a1 (patch)
treed912da228c9b95d16f5966c4661a33eed53a96c9 /sci-electronics/gtkwave
parentStable on ppc64 (diff)
downloadgentoo-2-0db78f45c1232fd9be13096d151445ed88cca6a1.tar.gz
gentoo-2-0db78f45c1232fd9be13096d151445ed88cca6a1.tar.bz2
gentoo-2-0db78f45c1232fd9be13096d151445ed88cca6a1.zip
Revision bump.
(Portage version: 2.1.1_pre1-r5)
Diffstat (limited to 'sci-electronics/gtkwave')
-rw-r--r--sci-electronics/gtkwave/ChangeLog7
-rw-r--r--sci-electronics/gtkwave/files/digest-gtkwave-3.0.53
-rw-r--r--sci-electronics/gtkwave/gtkwave-3.0.5.ebuild99
3 files changed, 108 insertions, 1 deletions
diff --git a/sci-electronics/gtkwave/ChangeLog b/sci-electronics/gtkwave/ChangeLog
index ad9436d69043..46993d1dc97b 100644
--- a/sci-electronics/gtkwave/ChangeLog
+++ b/sci-electronics/gtkwave/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-electronics/gtkwave
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/ChangeLog,v 1.12 2006/04/29 20:52:21 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/ChangeLog,v 1.13 2006/06/30 18:18:41 calchan Exp $
+
+*gtkwave-3.0.5 (30 Jun 2006)
+
+ 30 Jun 2006; Denis Dupeyron <calchan@gentoo.org> +gtkwave-3.0.5.ebuild:
+ Revision bump.
29 Apr 2006; <plasmaroo@gentoo.org> gtkwave-1.3.72.ebuild:
Fix #131402.
diff --git a/sci-electronics/gtkwave/files/digest-gtkwave-3.0.5 b/sci-electronics/gtkwave/files/digest-gtkwave-3.0.5
new file mode 100644
index 000000000000..fedd0ea939f8
--- /dev/null
+++ b/sci-electronics/gtkwave/files/digest-gtkwave-3.0.5
@@ -0,0 +1,3 @@
+MD5 dfecf65f69a70767e11acc2168d7db02 gtkwave-3.0.5.tar.gz 2379892
+RMD160 531999cc249e86dace0892bfc517ba86aad515d8 gtkwave-3.0.5.tar.gz 2379892
+SHA256 740571f6ddfe6475a17a7c4f086dd295631ad2b4172c9cb2b891191d866a2fea gtkwave-3.0.5.tar.gz 2379892
diff --git a/sci-electronics/gtkwave/gtkwave-3.0.5.ebuild b/sci-electronics/gtkwave/gtkwave-3.0.5.ebuild
new file mode 100644
index 000000000000..0d7dab3efe0a
--- /dev/null
+++ b/sci-electronics/gtkwave/gtkwave-3.0.5.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gtkwave/gtkwave-3.0.5.ebuild,v 1.1 2006/06/30 18:18:41 calchan Exp $
+
+inherit eutils
+
+DESCRIPTION="A wave viewer for LXT, LXT2, VZT, GHW and standard Verilog VCD/EVCD files"
+HOMEPAGE="http://home.nc.rr.com/gtkwave/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+IUSE="doc examples"
+LICENSE="GPL-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+DEPEND=">=x11-libs/gtk+-2"
+
+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 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 failed"
+
+ # Comply with DESTDIR
+ sed -i \
+ -e 's:$(bindir):$(DESTDIR)/$(bindir):' \
+ -e 's:$(mandir):$(DESTDIR)/$(mandir):' \
+ Makefile.in \
+ || die "sed failed"
+
+ # CFLAGS fixes
+ sed -i \
+ -e 's:CFLAGS = -O2:CFLAGS +=:' \
+ src/Makefile_GTK2.in \
+ */*/Makefile*.in \
+ || die "sed failed"
+ sed -i \
+ -e 's:=$(COPT): +=:' \
+ contrib/pccts/*/*/Makefile.in \
+ || die "sed failed"
+ sed -i \
+ -e 's:= $(COPT):+=:' \
+ contrib/pccts/*/Makefile.in \
+ || die "sed failed"
+
+ # LDFLAGS fixes
+ sed -i \
+ -e 's:$(CFLAGS) $(OBJS):$(CFLAGS) $(LDFLAGS) $(OBJS):' \
+ src/Makefile_GTK2.in \
+ || die "sed failed"
+ sed -i \
+ -e 's:LDFLAGS=:LDFLAGS+=:' \
+ contrib/rtlbrowse/Makefile_GTK2.in \
+ || die "sed failed"
+ sed -i \
+ -e 's:$(CC) $(CFLAGS) -o:$(CC) $(CFLAGS) $(LDFLAGS) -o:' \
+ contrib/pccts/*/Makefile.in \
+ src/helpers/Makefile.in \
+ || die "sed failed"
+ sed -i \
+ -e 's:$(CC) -o:$(CC) $(LDFLAGS) -o:' \
+ contrib/vertex/Makefile.in \
+ contrib/pccts/sorcerer/Makefile.in \
+ contrib/pccts/support/genmk/Makefile.in \
+ || die "sed failed"
+ sed -i \
+ -e 's:-o ghwdump:$(LDFLAGS) -o ghwdump:' \
+ src/helpers/Makefile.in \
+ || die "sed failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc ANALOG_README.TXT CHANGELOG.TXT
+ if use doc ; then
+ dohtml doc/LXT_Explained.html
+ insinto /usr/share/doc/${PF}
+ doins doc/gtkwave.pdf
+ fi
+ if use examples ; then
+ insinto /usr/share/${PF}
+ doins -r examples
+ fi
+}