1 |
commit: 62f91614ae08bd7da2447207f960d6b8b507c82b |
2 |
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 21 20:46:44 2018 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 21 20:46:44 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62f91614 |
7 |
|
8 |
dev-tcltk/tkzinc: EAPI 6, set VARTEXFONTS |
9 |
|
10 |
Closes: https://bugs.gentoo.org/652026 |
11 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
12 |
|
13 |
dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild | 43 +++++++++++++++++++----------------- |
14 |
1 file changed, 23 insertions(+), 20 deletions(-) |
15 |
|
16 |
diff --git a/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild b/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild |
17 |
index 14b37ebcd1f..73b6514bd1b 100644 |
18 |
--- a/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild |
19 |
+++ b/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild |
20 |
@@ -1,11 +1,9 @@ |
21 |
-# Copyright 1999-2014 Gentoo Foundation |
22 |
+# Copyright 1999-2018 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=5 |
26 |
+EAPI=6 |
27 |
|
28 |
-AUTOTOOLS_AUTORECONF=yes |
29 |
- |
30 |
-inherit autotools-utils |
31 |
+inherit autotools |
32 |
|
33 |
DESCRIPTION="A Tk widget library" |
34 |
HOMEPAGE="http://www.tkzinc.org" |
35 |
@@ -17,8 +15,8 @@ KEYWORDS="~amd64 ~x86 ~ppc" |
36 |
IUSE="debug doc threads" |
37 |
|
38 |
DEPEND=" |
39 |
- dev-lang/tk |
40 |
- media-libs/glew |
41 |
+ dev-lang/tk:= |
42 |
+ media-libs/glew:= |
43 |
virtual/opengl |
44 |
doc? ( virtual/latex-base )" |
45 |
RDEPEND="${DEPEND}" |
46 |
@@ -30,28 +28,33 @@ PATCHES=( |
47 |
"${FILESDIR}"/${PN}-3.3.4-latex.patch |
48 |
) |
49 |
|
50 |
-AUTOTOOLS_IN_SOURCE_BUILD=1 |
51 |
+HTML_DOCS='doc/*png doc/*html doc/*css' |
52 |
|
53 |
-DOCS=( BUGS ) |
54 |
+src_prepare() { |
55 |
+ default |
56 |
+ eautoreconf |
57 |
+} |
58 |
|
59 |
src_configure() { |
60 |
- local myeconfargs=( |
61 |
- --enable-shared |
62 |
- --enable-gl=damage |
63 |
- $(use_enable debug symbols) |
64 |
+ econf \ |
65 |
+ --enable-shared \ |
66 |
+ --enable-gl=damage \ |
67 |
+ $(use_enable debug symbols) \ |
68 |
$(use_enable threads) |
69 |
- ) |
70 |
- autotools-utils_src_configure |
71 |
} |
72 |
|
73 |
src_compile() { |
74 |
- autotools-utils_src_compile |
75 |
- use doc && emake pdf |
76 |
+ default |
77 |
+ if use doc; then |
78 |
+ VARTEXFONTS="${T}"/fonts emake pdf |
79 |
+ fi |
80 |
} |
81 |
|
82 |
src_install() { |
83 |
- autotools-utils_src_install |
84 |
- |
85 |
- dohtml -r doc/* |
86 |
+ default |
87 |
use doc && dodoc doc/refman.pdf |
88 |
} |
89 |
+ |
90 |
+src_test() { |
91 |
+ emake test |
92 |
+} |