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/itk/
Date: Wed, 28 Feb 2024 20:38:21 +0000 (UTC)	[thread overview]
Message-ID: <1709152657.79b4f08ceeba4c388deb4818121143b1e01e1b16.tupone@gentoo> (raw)

commit:     79b4f08ceeba4c388deb4818121143b1e01e1b16
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 20:37:37 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 20:37:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79b4f08c

dev-tcltk/itk: add 4.2.3

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-tcltk/itk/Manifest         |  1 +
 dev-tcltk/itk/itk-4.2.3.ebuild | 68 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/dev-tcltk/itk/Manifest b/dev-tcltk/itk/Manifest
index e63dd42916d8..6e6b0c4e3ac0 100644
--- a/dev-tcltk/itk/Manifest
+++ b/dev-tcltk/itk/Manifest
@@ -1 +1,2 @@
+DIST itk-4-2-3.tar.gz 168217 BLAKE2B 450c9f3393228b93a716cf338ad322ecc8934aca08a1f7c4a81dab07a38ac6729ab2ae43b7197130e3cda1bc03ed61c81f9d63cac542d8dcbb199764d47ae4d7 SHA512 0c5c70119b0d0dd950a8e3a52f5a508935bad920f647c38193980a414f617589711a65f4eac3ec67c4bef72f787205cae12513d4d3d35c3b8a795b1bb763fac4
 DIST itk4.1.0.tar.gz 253796 BLAKE2B 7d51689d41871f39fbdf940f1aede2c89ee0165cc6be989f7da65df85a0d15e5db037722a5e30a284e51129b7bfff20dfde0fbc78d2d72d8acb9031f328a5d16 SHA512 1deed09daf66ae1d0cc88550be13814edff650f3ef2ecb5ae8d28daf92e37550b0e46921eb161da8ccc3886aaf62a4a3087df0f13610839b7c2d6f4b39c9f07e

diff --git a/dev-tcltk/itk/itk-4.2.3.ebuild b/dev-tcltk/itk/itk-4.2.3.ebuild
new file mode 100644
index 000000000000..493cb8bd0beb
--- /dev/null
+++ b/dev-tcltk/itk/itk-4.2.3.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit virtualx
+
+MY_PV=${PN}-$(ver_rs 1- '-')
+
+DESCRIPTION="Object Oriented Enhancements for Tcl/Tk"
+HOMEPAGE="http://incrtcl.sourceforge.net/"
+SRC_URI="https://github.com/tcltk/${PN}/archive/refs/tags/${MY_PV}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	>=dev-lang/tk-8.6:=
+	>=dev-tcltk/itcl-4.1"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+	stat64 # used to test for Large File Support
+)
+
+src_prepare() {
+	sed 's:-pipe::g' -i configure || die
+	default
+	echo "unknown" > manifest.uuid
+}
+
+src_configure() {
+	local itcl_package=$(best_version dev-tcltk/itcl)
+	local itcl_version=${itcl_package#*/*-}
+	local ITCL_VERSION="${itcl_version%-*}"
+	source "${EPREFIX}"/usr/$(get_libdir)/itcl${ITCL_VERSION}*/itclConfig.sh || die
+	econf \
+		--with-tcl="${EPREFIX}"/usr/$(get_libdir) \
+		--with-tclinclude="${EPREFIX}"/usr/include \
+		--with-tk="${EPREFIX}"/usr/$(get_libdir) \
+		--with-tkinclude="${EPREFIX}"/usr/include \
+		--with-itcl="${ITCL_SRC_DIR}" \
+		--with-x
+}
+
+src_compile() {
+	emake CFLAGS_DEFAULT="${CFLAGS}"
+}
+
+src_test() {
+	virtx default
+}
+
+src_install() {
+	default
+
+	dodoc license.terms
+
+	cat >> "${T}"/34${PN} <<- EOF
+	LDPATH="${EPREFIX}/usr/$(get_libdir)/${PN}${MY_PV}/"
+	EOF
+	doenvd "${T}"/34${PN}
+	dosym . /usr/$(get_libdir)/${PN}${MY_PV}/library
+}


             reply	other threads:[~2024-02-28 20:38 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-28 20:38 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-13  2:54 [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/itk/ Sam James
2025-02-13  2:54 Sam James
2025-02-08 10:16 Arthur Zamarin
2024-11-08  2:49 Sam James
2024-03-11 11:28 Alfredo Tupone
2024-03-07 21:44 Alfredo Tupone
2024-02-29 11:08 Alfredo Tupone
2024-02-28 20:13 Alfredo Tupone
2023-03-11 21:48 Alfredo Tupone
2021-09-15 19:47 Alfredo Tupone
2021-03-31 19:59 Andreas Sturmlechner
2021-02-22 18:57 Sam James
2020-03-28 10:45 Alfredo Tupone
2019-11-17  4:37 Matt Turner
2019-11-15  7:34 Alfredo Tupone
2019-06-05  7:46 Agostino Sarubbo
2019-06-05  7:28 Agostino Sarubbo
2019-04-07 22:15 Aaron Bauman
2019-03-27 21:22 Sergei Trofimovich
2018-10-11 19:58 Alfredo Tupone
2016-12-31 22:20 Agostino Sarubbo
2016-11-27 20:22 Tobias Klausmann
2016-10-14 17:48 Amy Winston

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=1709152657.79b4f08ceeba4c388deb4818121143b1e01e1b16.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