public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tkzinc/
Date: Fri, 21 Sep 2018 20:46:59 +0000 (UTC)	[thread overview]
Message-ID: <1537562804.62f91614ae08bd7da2447207f960d6b8b507c82b.tupone@gentoo> (raw)

commit:     62f91614ae08bd7da2447207f960d6b8b507c82b
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 21 20:46:44 2018 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Sep 21 20:46:44 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62f91614

dev-tcltk/tkzinc: EAPI 6, set VARTEXFONTS

Closes: https://bugs.gentoo.org/652026
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-tcltk/tkzinc/tkzinc-3.3.6.ebuild | 43 +++++++++++++++++++-----------------
 1 file 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 14b37ebcd1f..73b6514bd1b 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
+}


             reply	other threads:[~2018-09-21 20:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-21 20:46 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-28 20:58 [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tkzinc/ Sam James
2023-03-12  8:49 Alfredo Tupone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1537562804.62f91614ae08bd7da2447207f960d6b8b507c82b.tupone@gentoo \
    --to=tupone@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox