summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/gtkwave')
-rw-r--r--sci-electronics/gtkwave/Manifest1
-rw-r--r--sci-electronics/gtkwave/gtkwave-3.3.68.ebuild75
2 files changed, 76 insertions, 0 deletions
diff --git a/sci-electronics/gtkwave/Manifest b/sci-electronics/gtkwave/Manifest
index df9f65aae34d..3b94007436e2 100644
--- a/sci-electronics/gtkwave/Manifest
+++ b/sci-electronics/gtkwave/Manifest
@@ -1,2 +1,3 @@
DIST gtkwave-3.3.65.tar.gz 4092871 SHA256 64eb091e70c83bf03df14e01d338151e888fb4099c4695c2e6e40ce27d249bd5 SHA512 5aba36c9b9ff6353115ce5660b3dd61fba96ef2bc420483e194ad7a0d97b6f0a4453db20188c12af1c333ecbeee43f7ebe5b4bd166864a003995687a497a14ff WHIRLPOOL e5aac94e9c65aa1bedffa3febac38402f51c4c84237f39d703a9f1860a981dae308109935add36f4f0881ce7c491f2aaac0b52c54bc85ca025c9518d901df344
DIST gtkwave-3.3.66.tar.gz 4093766 SHA256 04ce0851ebcf7ce07506c6e34af878ebf0c5a09495035a71e881fe6ff2abb99e SHA512 6c91efcbd240efceb770882eb0d1ccf5195b40207714432882fdaf35108e05860a5b00b7e922f95f537b01be335e8b4026e3ba6dcf02e235ff3b20f2082e7b81 WHIRLPOOL 6d4927d9b9e19f9ca128d9339b0e5c0ceec3b4ca2644ad38c861ff6f1896a5ba9a2c4c28b367413da6d255d6799748e7dfef0222ff3d6b3a4aa041661dee9d74
+DIST gtkwave-3.3.68.tar.gz 4097204 SHA256 9846ced0601c32c87bfda236ccadc2c6435a76c3a799b0d17ed54a5d7391343e SHA512 bcdd6f7de6454aefec65a0056a4a6a9994566b19ba0dc13f49f38d7d2bc601421d68aa04ebcd285fcb446f6d4a0a55a169db366c0d9387a809a59d61c8c76cac WHIRLPOOL 742f2b6a1527ce3f6b58360d1bc3a6f2cd9607740fc7d32cfd858e4d77a542fd6f4dde463800c5305eaa12af548ae7bded050d1428338daf981cb1cdfd6c4448
diff --git a/sci-electronics/gtkwave/gtkwave-3.3.68.ebuild b/sci-electronics/gtkwave/gtkwave-3.3.68.ebuild
new file mode 100644
index 000000000000..a83cf14427bf
--- /dev/null
+++ b/sci-electronics/gtkwave/gtkwave-3.3.68.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils fdo-mime toolchain-funcs
+
+DESCRIPTION="A wave viewer for LXT, LXT2, VZT, GHW and standard Verilog VCD/EVCD files"
+HOMEPAGE="http://gtkwave.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+IUSE="doc examples fasttree fatlines judy lzma packed tcl"
+LICENSE="GPL-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="dev-libs/glib:2
+ x11-libs/gtk+:2
+ x11-libs/pango
+ sys-libs/zlib
+ judy? ( dev-libs/judy )
+ tcl? ( dev-lang/tcl:0 dev-lang/tk:0 )
+ lzma? ( app-arch/xz-utils )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-util/gperf"
+
+AT_M4DIR="${S}"
+
+src_prepare(){
+ # do not install doc and examples by default
+ sed -i -e 's/doc examples//' Makefile.in || die
+}
+
+src_configure(){
+ econf --disable-local-libz \
+ --disable-local-libbz2 \
+ --disable-mime-update \
+ --enable-largefile \
+ $(use_enable packed struct-pack) \
+ $(use_enable fatlines) \
+ $(use_enable tcl) \
+ $(use_enable lzma xz) \
+ $(use_enable fasttree) \
+ $(use_enable judy)
+}
+
+src_compile() {
+ emake AR=$(tc-getAR)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc ChangeLog README
+ if use doc ; then
+ insinto /usr/share/doc/${PF}
+ doins "doc/${PN}.odt"
+ fi
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}