diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2023-03-12 17:34:08 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2023-03-12 17:34:59 +0100 |
commit | 3815e59bcf82938d601af954f2cda6778bbb9a5d (patch) | |
tree | cbb049e22ea61317f773ea15c6bba2c1765d9502 /dev-tcltk/tkzinc/tkzinc-3.3.6-r2.ebuild | |
parent | app-crypt/yubikey-manager-qt: replace inactive maintainer (diff) | |
download | gentoo-3815e59bcf82938d601af954f2cda6778bbb9a5d.tar.gz gentoo-3815e59bcf82938d601af954f2cda6778bbb9a5d.tar.bz2 gentoo-3815e59bcf82938d601af954f2cda6778bbb9a5d.zip |
dev-tcltk/tkzinc: fix some gcc13 warnings
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk/tkzinc/tkzinc-3.3.6-r2.ebuild')
-rw-r--r-- | dev-tcltk/tkzinc/tkzinc-3.3.6-r2.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/dev-tcltk/tkzinc/tkzinc-3.3.6-r2.ebuild b/dev-tcltk/tkzinc/tkzinc-3.3.6-r2.ebuild new file mode 100644 index 000000000000..c45317f8b64a --- /dev/null +++ b/dev-tcltk/tkzinc/tkzinc-3.3.6-r2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 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 + "${FILESDIR}"/${P}-clang.patch + "${FILESDIR}"/${P}-gcc13.patch +) + +QA_CONFIG_IMPL_DECL_SKIP=( + stat64 # used to test for Large File Support +) + +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 +} |