summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hartmann <stephan.hartmann@tu-dresden.de>2018-01-17 09:03:07 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2018-01-17 16:58:15 +0100
commit96c1bae15ee905f30c63cfcc4e60684c430b084b (patch)
treec9092506f06a58ec63c8d41879987fc9f4f671e8 /sci-electronics/gtkwave
parentmedia-libs/openh264: remove unused patches (diff)
downloadgentoo-96c1bae15ee905f30c63cfcc4e60684c430b084b.tar.gz
gentoo-96c1bae15ee905f30c63cfcc4e60684c430b084b.tar.bz2
gentoo-96c1bae15ee905f30c63cfcc4e60684c430b084b.zip
sci-electronics/gtkwave: version bump
Bump also to EAPI 6 Closes: https://github.com/gentoo/gentoo/pull/6887
Diffstat (limited to 'sci-electronics/gtkwave')
-rw-r--r--sci-electronics/gtkwave/Manifest1
-rw-r--r--sci-electronics/gtkwave/gtkwave-3.3.87.ebuild77
2 files changed, 78 insertions, 0 deletions
diff --git a/sci-electronics/gtkwave/Manifest b/sci-electronics/gtkwave/Manifest
index 9b14f328daf0..3159ef9aee06 100644
--- a/sci-electronics/gtkwave/Manifest
+++ b/sci-electronics/gtkwave/Manifest
@@ -1,2 +1,3 @@
DIST gtkwave-3.3.68.tar.gz 4097204 BLAKE2B acaad5e161c7aeaf84eccb81fd2bad75e2a067224ac436df34b4b4cb9c73bb8b9da019e1adb0e3016d247828d451004eb38f10c101d96e34b3277426e4000393 SHA512 bcdd6f7de6454aefec65a0056a4a6a9994566b19ba0dc13f49f38d7d2bc601421d68aa04ebcd285fcb446f6d4a0a55a169db366c0d9387a809a59d61c8c76cac
DIST gtkwave-3.3.73.tar.gz 4122802 BLAKE2B 32fcf6e03e0a2d55c952df5d6188bc48c52789fbc605388c63932b5ee507470d7d8ed5f2a0f572b793fa8d3807160aa6c383142e66cbde67b04ffb5c9de6d6ea SHA512 a8a3bf3ba8964c0a42f01f38235762da51d62f5fd602e0a81a2d7c36f9562409e0ccaf9aeaf73c6eb853d979ca2c93008837c395f2312d6e7996135518938eff
+DIST gtkwave-3.3.87.tar.gz 4176746 BLAKE2B 96b43f40e965d54f973dd38a89caf84671fdb5ba03f72e6b3b6d4829926f29789b63069ab537f1627acea8602e716bbfc66585d5f4beb4da53f85c1ef7892a37 SHA512 eed3c93e0f8acb9b075c90ab59e5f2dff3c29d9602a4bac7b6c0adca1bf4778468964532606227719bde1c498fc1f5655553ea9fccbf7d37fbec1671c371b7dd
diff --git a/sci-electronics/gtkwave/gtkwave-3.3.87.ebuild b/sci-electronics/gtkwave/gtkwave-3.3.87.ebuild
new file mode 100644
index 000000000000..885119ffbd07
--- /dev/null
+++ b/sci-electronics/gtkwave/gtkwave-3.3.87.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit xdg-utils gnome2-utils
+
+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
+ default
+}
+
+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="${ED}" 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() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ gnome2_icon_cache_update
+}