1 |
commit: 4fe04c90199e58e52d404f7c20a400d8ca79d475 |
2 |
Author: Jan Vesely <jano.vesely <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Aug 3 16:09:29 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 26 09:17:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe04c90 |
7 |
|
8 |
sci-electronics/gtkwave: Bump to 3.3.111. Use gtk3 |
9 |
|
10 |
Use gtk3-fied source archive (gtkwave-gtk3). |
11 |
Use gtk3 instead of gtk2 and switch the dependency. |
12 |
Drop no longer supported configure options (and fatlines useflag). |
13 |
|
14 |
Closes: https://bugs.gentoo.org/856829 |
15 |
Bug: https://bugs.gentoo.org/856829 |
16 |
Signed-off-by: Jan Vesely <jano.vesely <AT> gmail.com> |
17 |
Closes: https://github.com/gentoo/gentoo/pull/26726 |
18 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
19 |
|
20 |
sci-electronics/gtkwave/Manifest | 1 + |
21 |
sci-electronics/gtkwave/gtkwave-3.3.111.ebuild | 65 ++++++++++++++++++++++++++ |
22 |
2 files changed, 66 insertions(+) |
23 |
|
24 |
diff --git a/sci-electronics/gtkwave/Manifest b/sci-electronics/gtkwave/Manifest |
25 |
index 3f066ed6fcd4..35b040d142ab 100644 |
26 |
--- a/sci-electronics/gtkwave/Manifest |
27 |
+++ b/sci-electronics/gtkwave/Manifest |
28 |
@@ -1 +1,2 @@ |
29 |
DIST gtkwave-3.3.106.tar.gz 3507185 BLAKE2B 89389c6eef2fb80b82b048fc94248cf6b30ec0d8fea1260189f2ea1f143123e0294d00f93a0c25f777b6e2c188041af16f4e26e5206e0c65fe23c1f058b19186 SHA512 4deec8dc88210ae542b8066763265450530756d34babf10c7820fe27b23d01e6d2f084ec74b7b0730a645fcb667ba3c0d2dcfb4111e702a523805041dc96768a |
30 |
+DIST gtkwave-gtk3-3.3.111.tar.gz 3329907 BLAKE2B 523c5b3cb75581d9828d6a1e61df66a0a85ccc41415c9971affaf347948bc7a3b7850cf8abe4f3e57dab56d2f54722a121a8d3b757993d008e1598e4f2ce8843 SHA512 407c1ca87d9645940201c876846e7e6f5e4af67b919a4f63061adc017b2797be5ba10bb9bf132f1b86dff111a64b774e41b8b1630fc99997b5270622eda44c0c |
31 |
|
32 |
diff --git a/sci-electronics/gtkwave/gtkwave-3.3.111.ebuild b/sci-electronics/gtkwave/gtkwave-3.3.111.ebuild |
33 |
new file mode 100644 |
34 |
index 000000000000..03f37de374ef |
35 |
--- /dev/null |
36 |
+++ b/sci-electronics/gtkwave/gtkwave-3.3.111.ebuild |
37 |
@@ -0,0 +1,65 @@ |
38 |
+# Copyright 1999-2022 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=8 |
42 |
+ |
43 |
+inherit toolchain-funcs xdg |
44 |
+ |
45 |
+DESCRIPTION="A wave viewer for LXT, LXT2, VZT, GHW and standard Verilog VCD/EVCD files" |
46 |
+HOMEPAGE="http://gtkwave.sourceforge.net/" |
47 |
+SRC_URI="mirror://sourceforge/${PN}/${PN}-gtk3-${PV}.tar.gz" |
48 |
+ |
49 |
+LICENSE="GPL-2 MIT" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
52 |
+IUSE="doc examples fasttree judy lzma packed tcl" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ dev-libs/glib:2 |
56 |
+ sys-libs/zlib |
57 |
+ x11-libs/pango |
58 |
+ x11-libs/gtk+:3 |
59 |
+ judy? ( dev-libs/judy ) |
60 |
+ tcl? ( dev-lang/tcl:0 dev-lang/tk:0 ) |
61 |
+ lzma? ( app-arch/xz-utils )" |
62 |
+DEPEND="${RDEPEND}" |
63 |
+BDEPEND=" |
64 |
+ dev-util/gperf |
65 |
+ virtual/pkgconfig" |
66 |
+ |
67 |
+# Add '-gtk3-' to the pacakge name |
68 |
+S="${WORKDIR}/${PN}-gtk3-${PV}" |
69 |
+ |
70 |
+src_prepare() { |
71 |
+ default |
72 |
+ |
73 |
+ # do not install doc and examples by default |
74 |
+ sed -i -e 's/doc examples//' Makefile.in || die |
75 |
+} |
76 |
+ |
77 |
+src_configure() { |
78 |
+ econf \ |
79 |
+ --disable-mime-update \ |
80 |
+ --enable-largefile \ |
81 |
+ --enable-gtk3 \ |
82 |
+ $(use_enable packed struct-pack) \ |
83 |
+ $(use_enable tcl) \ |
84 |
+ $(use_enable lzma xz) \ |
85 |
+ $(use_enable fasttree) \ |
86 |
+ $(use_enable judy) |
87 |
+} |
88 |
+ |
89 |
+src_compile() { |
90 |
+ emake AR="$(tc-getAR)" |
91 |
+} |
92 |
+ |
93 |
+src_install() { |
94 |
+ default |
95 |
+ |
96 |
+ use doc && dodoc doc/${PN}.odt |
97 |
+ if use examples; then |
98 |
+ rm examples/Makefile* || die |
99 |
+ dodoc -r examples |
100 |
+ docompress -x /usr/share/doc/${PF}/examples |
101 |
+ fi |
102 |
+} |