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/itcl/
Date: Tue, 27 Feb 2024 10:59:48 +0000 (UTC)	[thread overview]
Message-ID: <1709031575.cb9fc6eab0737589764022f2b46a2255645e6664.tupone@gentoo> (raw)

commit:     cb9fc6eab0737589764022f2b46a2255645e6664
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 27 10:58:57 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Feb 27 10:59:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb9fc6ea

dev-tcltk/itcl: add 4.2.4

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

 dev-tcltk/itcl/Manifest          |  1 +
 dev-tcltk/itcl/itcl-4.2.4.ebuild | 70 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/dev-tcltk/itcl/Manifest b/dev-tcltk/itcl/Manifest
index 4d081551d8e4..ea11e0ae88c4 100644
--- a/dev-tcltk/itcl/Manifest
+++ b/dev-tcltk/itcl/Manifest
@@ -1 +1,2 @@
 DIST itcl-4-2-2.tar.gz 522497 BLAKE2B 3bb79525e5796b37b9274fe514b2430f8cd3f17f9b63ad008e1cc011eb298d47efedc9b684ea23cc0811f2da5f14d5dbc2c6e4b3ebf8bd7787fcc71661a621db SHA512 60bb5fba6c1188cbec15236c2f33b2409ff7a77af89526552a865376703574d01075fa9422d89e6f10c188b3eb8b3553f6d449704f55444005d2050de1c255d6
+DIST itcl-4-2-4.tar.gz 536828 BLAKE2B 970d6e5cbe7322d88a0117737df553f155cdda3264aaae93b30db361f40296dde74f1652d26bb6afccc3ca4c825fbc012710d8292b6df991af3a86f8e31c2e8b SHA512 fbe3e4298721b97777947675b42a434c8c7ec566564b81b1479fb958519ac4176b707f9be7bc6860ee72ee10fe29c82b211c4ac816f9ba6d4269ab43007eefe6

diff --git a/dev-tcltk/itcl/itcl-4.2.4.ebuild b/dev-tcltk/itcl/itcl-4.2.4.ebuild
new file mode 100644
index 000000000000..2c2b6c38747a
--- /dev/null
+++ b/dev-tcltk/itcl/itcl-4.2.4.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MYP="${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/${MYP}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND=">=dev-lang/tcl-8.6:0="
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}-${MYP}"
+
+# somehow broken
+#RESTRICT=test
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+	stat64 opendir64 rewinddir64 closedir64 # used to test for Large File Support
+)
+
+src_prepare() {
+	default
+	cp -r itclWidget/tclconfig tclconfig || die
+}
+
+src_configure() {
+	econf \
+		--with-tcl="${EPREFIX}"/usr/$(get_libdir) \
+		--with-tclinclude="${EPREFIX}"/usr/include \
+		--disable-rpath
+}
+
+src_compile() {
+	# adjust install_name on darwin
+	if [[ ${CHOST} == *-darwin* ]]; then
+		sed -i \
+			-e 's:^\(SHLIB_LD\W.*\)$:\1 -install_name ${pkglibdir}/$@:' \
+			"${S}"/Makefile || die 'sed failed'
+	fi
+
+	sed 's:-pipe::g' -i Makefile || die
+
+	emake CFLAGS_DEFAULT="${CFLAGS}"
+}
+
+src_install() {
+	default
+
+	local MY_P=${PN}${PV}
+
+	sed \
+		-e "/BUILD_LIB_SPEC/s:-L${S}::g" \
+		-e "/BUILD_STUB_LIB_SPEC/s:-L${S}::g" \
+		-e "/BUILD_STUB_LIB_PATH/s:${S}:${EPREFIX}/usr/$(get_libdir)/${MY_P}/:g" \
+		-e "/INCLUDE_SPEC/s:${S}/generic:${EPREFIX}/usr/include:g" \
+		-e "s:${S}:${EPREFIX}/usr/$(get_libdir)/${MY_P}/:g" \
+		-i "${ED}"/usr/$(get_libdir)/${MY_P}/itclConfig.sh || die
+
+	cat >> "${T}"/34${PN} <<- EOF
+	LDPATH="${EPREFIX}/usr/$(get_libdir)/${MY_P}/"
+	EOF
+	doenvd "${T}"/34${PN}
+}


             reply	other threads:[~2024-02-27 10:59 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-27 10:59 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-02 17:03 [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/itcl/ Alfredo Tupone
2024-03-07 21:44 Alfredo Tupone
2024-02-28 20:13 Alfredo Tupone
2024-02-27 10:54 Alfredo Tupone
2024-02-25 18:47 Alfredo Tupone
2023-03-11 21:45 Alfredo Tupone
2022-11-23  1:56 Sam James
2022-11-23  1:56 Sam James
2022-11-23  1:53 Sam James
2022-11-23  1:53 Sam James
2022-11-23  1:53 Sam James
2021-12-12 15:26 Alfredo Tupone
2021-11-05 17:38 Sam James
2021-11-03 20:28 Sam James
2021-11-03 20:28 Sam James
2021-11-03 20:28 Sam James
2021-11-03 20:28 Sam James
2021-10-28  9:42 Alfredo Tupone
2021-10-28  9:38 Alfredo Tupone
2021-09-15 19:46 Alfredo Tupone
2021-03-31 19:59 Andreas Sturmlechner
2021-02-22 18:57 Sam James
2021-01-06 22:33 Fabian Groffen
2020-02-26  7:03 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-26 21:09 Sergei Trofimovich
2018-10-10  7:26 Alfredo Tupone
2016-12-31 22:20 Agostino Sarubbo
2016-11-27 20:22 Tobias Klausmann

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=1709031575.cb9fc6eab0737589764022f2b46a2255645e6664.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