public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/isl/
Date: Tue,  5 Jul 2022 03:49:21 +0000 (UTC)	[thread overview]
Message-ID: <1656992941.663fce3e0904a6b30bb2fca6a773755dbf2f6a50.sam@gentoo> (raw)

commit:     663fce3e0904a6b30bb2fca6a773755dbf2f6a50
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  5 03:48:20 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul  5 03:49:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=663fce3e

dev-libs/isl: add 0.25

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/isl/Manifest        |  1 +
 dev-libs/isl/isl-0.25.ebuild | 78 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/dev-libs/isl/Manifest b/dev-libs/isl/Manifest
index efecf2e95178..8d951bfe898a 100644
--- a/dev-libs/isl/Manifest
+++ b/dev-libs/isl/Manifest
@@ -1 +1,2 @@
 DIST isl-0.24.tar.xz 1930956 BLAKE2B 39cbfd18ad05778e3a5a44429261b45e4abc3efe7730ee890674d968890fe5e52c73bc1f8d271c7c3bc72d5754e3f7fcb209bd139e823d19cb9ea4ce1440164d SHA512 ff6bdcff839e1cd473f2a0c1e4dd4a3612ec6fee4544ccbc62b530a7248db2cf93b4b99bf493a86ddf2aba00e768927265d5d411f92061ea85fd7929073428e8
+DIST isl-0.25.tar.xz 1977048 BLAKE2B 54a13ba8a5d7666f62f3fb20db278d15b803400cb8b69f119b18fd1f54f7d02f1e07cd1e189803fc416afaa81b35e2247ef6b3da3d8cddc463b05cc9b3921890 SHA512 81ac6b404a71e146bb705efe647ecf3bee19c3254f534cb44228cec13ffc7a33d7d58b980106dbb120ffdc557403d966619e219328edd0a4b3cbc4ac66acb255

diff --git a/dev-libs/isl/isl-0.25.ebuild b/dev-libs/isl/isl-0.25.ebuild
new file mode 100644
index 000000000000..cc920b7c0e49
--- /dev/null
+++ b/dev-libs/isl/isl-0.25.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools multilib multilib-minimal preserve-libs toolchain-funcs
+
+DESCRIPTION="A library for manipulating integer points bounded by linear constraints"
+HOMEPAGE="https://libisl.sourceforge.io/"
+SRC_URI="https://libisl.sourceforge.io/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/23"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs"
+
+RDEPEND=">=dev-libs/gmp-5.1.3-r1:=[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/xz-utils
+	virtual/pkgconfig"
+
+DOCS=( ChangeLog AUTHORS doc/manual.pdf )
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.24-gdb-autoload-dir.patch
+	"${FILESDIR}"/${PN}-0.24-respect-flags.patch
+)
+
+src_prepare() {
+	default
+
+	eautoreconf
+}
+
+multilib_src_configure() {
+	local econf_opts=(
+		$(use_enable static-libs static)
+
+		# AX_PROG_CC_FOR_BUILD deficiency:
+		# https://wiki.gentoo.org/wiki/Project:Toolchain/use_native_symlinks
+		CC_FOR_BUILD="$(tc-getBUILD_CC)"
+	)
+
+	if ! tc-is-cross-compiler; then
+		# Incorrect CFLAGS handling as CFLAGS_FOR_BUILD
+		# even for native builds. As a result -O3 is being used
+		# regardless of user's CFLAGS.
+		econf_opts+=(
+			CFLAGS_FOR_BUILD="${CFLAGS}"
+		)
+	fi
+
+	ECONF_SOURCE="${S}" econf "${econf_opts[@]}"
+}
+
+multilib_src_install_all() {
+	einstalldocs
+
+	find "${ED}" -type f -name '*.la' -delete || die
+}
+
+pkg_preinst() {
+	preserve_old_lib \
+		/usr/$(get_libdir)/libisl$(get_libname 14) \
+		/usr/$(get_libdir)/libisl$(get_libname 15) \
+		/usr/$(get_libdir)/libisl$(get_libname 19) \
+		/usr/$(get_libdir)/libisl$(get_libname 21) \
+		/usr/$(get_libdir)/libisl$(get_libname 22)
+}
+
+pkg_postinst() {
+	preserve_old_lib_notify \
+		/usr/$(get_libdir)/libisl$(get_libname 14) \
+		/usr/$(get_libdir)/libisl$(get_libname 15) \
+		/usr/$(get_libdir)/libisl$(get_libname 19) \
+		/usr/$(get_libdir)/libisl$(get_libname 21) \
+		/usr/$(get_libdir)/libisl$(get_libname 22)
+}


             reply	other threads:[~2022-07-05  3:49 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-05  3:49 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-01 21:02 [gentoo-commits] repo/gentoo:master commit in: dev-libs/isl/ Matt Turner
2023-09-07 23:03 Sam James
2023-09-07 20:55 Sam James
2023-09-07 20:16 Sam James
2023-09-07 20:16 Sam James
2023-09-07 20:16 Sam James
2023-04-07 15:50 Sam James
2023-04-07 15:50 Sam James
2022-07-05  4:13 Sam James
2022-05-04  8:16 WANG Xuerui
2021-10-29 18:32 Sam James
2021-10-29 12:34 Sam James
2021-10-29  4:49 Sam James
2021-10-28 14:57 Sam James
2021-10-28 14:57 Sam James
2021-10-27  6:37 Agostino Sarubbo
2021-10-27  6:35 Agostino Sarubbo
2021-10-26  6:38 Sam James
2021-10-14  8:51 Sam James
2021-10-10 23:03 Sam James
2021-06-12 10:07 Sergei Trofimovich
2021-06-07  6:28 Sergei Trofimovich
2021-06-06 17:40 Sergei Trofimovich
2021-06-05 20:52 Sam James
2021-06-05 20:43 Sam James
2021-06-05 20:43 Sam James
2020-12-30 10:27 Fabian Groffen
2020-12-27 10:52 Sergei Trofimovich
2020-12-26  9:13 Sergei Trofimovich
2020-12-21 18:01 Sam James
2020-12-21  9:41 Sergei Trofimovich
2020-12-21  9:41 Sergei Trofimovich
2020-12-20 19:29 Sam James
2020-12-20 18:04 Sam James
2020-12-20 16:40 Thomas Deutschmann
2020-12-18 20:38 Sergei Trofimovich
2020-12-18 18:45 Sam James
2020-12-18 14:25 Sam James
2020-11-14 19:52 Sergei Trofimovich
2020-11-13 21:34 Sergei Trofimovich
2020-11-13 18:52 Sergei Trofimovich
2020-11-12 21:07 Anthony G. Basile
2020-11-12 20:47 Anthony G. Basile
2020-07-05 11:07 Sergei Trofimovich
2020-05-02 17:51 Sergei Trofimovich
2020-04-08 22:33 Mart Raudsepp
2020-03-23 23:58 Sergei Trofimovich
2020-03-08  9:58 Sergei Trofimovich
2020-03-04  8:07 Agostino Sarubbo
2020-03-03 14:38 Agostino Sarubbo
2020-03-03 13:41 Agostino Sarubbo
2020-03-03 12:36 Agostino Sarubbo
2020-03-03 11:58 Agostino Sarubbo
2020-03-03 11:31 Agostino Sarubbo
2020-03-03 11:21 Agostino Sarubbo
2020-03-03 11:08 Agostino Sarubbo
2020-02-13 19:52 Sergei Trofimovich
2020-02-13 13:03 Agostino Sarubbo
2020-02-13 12:46 Agostino Sarubbo
2020-02-13 12:38 Agostino Sarubbo
2020-02-13 12:27 Agostino Sarubbo
2020-02-13 12:19 Agostino Sarubbo
2020-02-13 12:10 Agostino Sarubbo
2020-02-13 12:03 Agostino Sarubbo
2020-02-13  8:57 Agostino Sarubbo
2020-01-23 22:10 Anthony G. Basile
2019-11-10 18:20 Anthony G. Basile
2019-09-21 18:09 Matt Turner
2019-09-20  6:39 Sergei Trofimovich
2019-09-16  6:52 Agostino Sarubbo
2019-09-13 18:39 Mikle Kolyada
2019-09-13 18:39 Mikle Kolyada
2019-09-13 18:39 Mikle Kolyada
2019-09-13  7:45 Agostino Sarubbo
2019-09-10  7:10 Agostino Sarubbo
2019-09-10  7:00 Sergei Trofimovich
2019-09-10  6:56 Sergei Trofimovich
2019-09-10  6:51 Sergei Trofimovich
2019-09-10  0:28 Aaron Bauman
2019-09-09 17:23 Agostino Sarubbo
2019-05-05 11:00 Mikle Kolyada
2019-04-04  8:37 Sergei Trofimovich
2019-03-30 10:55 Anthony G. Basile
2019-03-28 19:17 Anthony G. Basile
2019-03-27 18:44 Anthony G. Basile
2018-07-30 11:10 Anthony G. Basile
2018-07-21 19:44 Mikle Kolyada
2018-03-11  4:40 Anthony G. Basile
2017-06-26 12:54 Alexis Ballier
2016-12-21 17:33 Anthony G. Basile
2016-12-21 17:31 Anthony G. Basile
2016-05-08 10:24 Anthony G. Basile
2016-05-07 20:07 Anthony G. Basile
2016-01-19  7:11 Anthony G. Basile
2016-01-09 16:11 Markus Meier
2016-01-09 11:44 Jeroen Roovers
2015-12-29 11:04 Agostino Sarubbo
2015-12-28 20:42 Anthony G. Basile
2015-12-28 18:32 Mike Frysinger

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=1656992941.663fce3e0904a6b30bb2fca6a773755dbf2f6a50.sam@gentoo \
    --to=sam@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