diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
commit | 3517852e3b8a68d1e997770fc0650c5053bafc6c (patch) | |
tree | 44068672445b1418489aed82de58df3c470289e7 /dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild | |
parent | 0f15659d48c193027158492acb726297501202c5 (diff) |
gentoo resync : 04.01.2022
Diffstat (limited to 'dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild')
-rw-r--r-- | dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild b/dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild new file mode 100644 index 000000000000..a94dde7d11fe --- /dev/null +++ b/dev-tcltk/tkzinc/tkzinc-3.3.6-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A Tk widget library" +HOMEPAGE="http://www.tkzinc.org" +SRC_URI="http://www.tkzinc.org/Packages/Tkzinc-${PV}plus.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug doc threads" + +DEPEND=" + dev-lang/tk:= + media-libs/glew:= + virtual/opengl + doc? ( virtual/latex-base )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/Tkzinc-${PV//.}+" + +PATCHES=( + "${FILESDIR}"/${PV}-ldflags.patch + "${FILESDIR}"/${PN}-3.3.4-latex.patch + ) + +HTML_DOCS='doc/*png doc/*html doc/*css' + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --enable-shared \ + --enable-gl=damage \ + $(use_enable debug symbols) \ + $(use_enable threads) +} + +src_compile() { + default + if use doc; then + VARTEXFONTS="${T}"/fonts emake pdf + fi +} + +src_install() { + default + use doc && dodoc doc/refman.pdf +} + +src_test() { + emake test +} |