summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2018-09-21 22:46:44 +0200
committerTupone Alfredo <tupone@gentoo.org>2018-09-21 22:46:44 +0200
commit62f91614ae08bd7da2447207f960d6b8b507c82b (patch)
tree0fe1b2145bcd601d7107f594de4a5027f7f63743 /dev-tcltk
parentnet-vpn/tor: version bump alpha branch to 0.3.5.2_alpha (diff)
downloadgentoo-62f91614ae08bd7da2447207f960d6b8b507c82b.tar.gz
gentoo-62f91614ae08bd7da2447207f960d6b8b507c82b.tar.bz2
gentoo-62f91614ae08bd7da2447207f960d6b8b507c82b.zip
dev-tcltk/tkzinc: EAPI 6, set VARTEXFONTS
Closes: https://bugs.gentoo.org/652026 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild43
1 files changed, 23 insertions, 20 deletions
diff --git a/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild b/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild
index 14b37ebcd1f6..73b6514bd1b0 100644
--- a/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild
+++ b/dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild
@@ -1,11 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
-AUTOTOOLS_AUTORECONF=yes
-
-inherit autotools-utils
+inherit autotools
DESCRIPTION="A Tk widget library"
HOMEPAGE="http://www.tkzinc.org"
@@ -17,8 +15,8 @@ KEYWORDS="~amd64 ~x86 ~ppc"
IUSE="debug doc threads"
DEPEND="
- dev-lang/tk
- media-libs/glew
+ dev-lang/tk:=
+ media-libs/glew:=
virtual/opengl
doc? ( virtual/latex-base )"
RDEPEND="${DEPEND}"
@@ -30,28 +28,33 @@ PATCHES=(
"${FILESDIR}"/${PN}-3.3.4-latex.patch
)
-AUTOTOOLS_IN_SOURCE_BUILD=1
+HTML_DOCS='doc/*png doc/*html doc/*css'
-DOCS=( BUGS )
+src_prepare() {
+ default
+ eautoreconf
+}
src_configure() {
- local myeconfargs=(
- --enable-shared
- --enable-gl=damage
- $(use_enable debug symbols)
+ econf \
+ --enable-shared \
+ --enable-gl=damage \
+ $(use_enable debug symbols) \
$(use_enable threads)
- )
- autotools-utils_src_configure
}
src_compile() {
- autotools-utils_src_compile
- use doc && emake pdf
+ default
+ if use doc; then
+ VARTEXFONTS="${T}"/fonts emake pdf
+ fi
}
src_install() {
- autotools-utils_src_install
-
- dohtml -r doc/*
+ default
use doc && dodoc doc/refman.pdf
}
+
+src_test() {
+ emake test
+}