From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1577115807A for ; Tue, 10 Jun 2025 04:52:36 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id EA3BE3431B7 for ; Tue, 10 Jun 2025 04:52:35 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2DAC81103DA; Tue, 10 Jun 2025 04:52:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 22BC81103DA for ; Tue, 10 Jun 2025 04:52:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BFD6834312E for ; Tue, 10 Jun 2025 04:52:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 252F029A7 for ; Tue, 10 Jun 2025 04:52:29 +0000 (UTC) From: "Eli Schwartz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eli Schwartz" Message-ID: <1749529972.7ad5127a94b05567fe41ef4137b16c72945ea375.eschwartz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl2/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libsdl2/libsdl2-2.32.2.ebuild media-libs/libsdl2/libsdl2-2.32.4.ebuild media-libs/libsdl2/libsdl2-2.32.54.ebuild media-libs/libsdl2/libsdl2-2.32.56.ebuild X-VCS-Directories: media-libs/libsdl2/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: 7ad5127a94b05567fe41ef4137b16c72945ea375 X-VCS-Branch: master Date: Tue, 10 Jun 2025 04:52:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8607f212-f92e-4d7c-8ae3-74fb7dc3e9a7 X-Archives-Hash: 2036699762659a5f89f63ad9ec27cec7 commit: 7ad5127a94b05567fe41ef4137b16c72945ea375 Author: Eli Schwartz gentoo org> AuthorDate: Mon Jun 9 20:11:31 2025 +0000 Commit: Eli Schwartz gentoo org> CommitDate: Tue Jun 10 04:32:52 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ad5127a media-libs/libsdl2: use dot-a.eclass for more versions Specifically: - the stable version - the new compat version based on libsdl3 which will eventually be phased in as the default; note this doesn't have USE=static-libs so doesn't need workarounds Signed-off-by: Eli Schwartz gentoo.org> media-libs/libsdl2/libsdl2-2.32.2.ebuild | 4 +++- media-libs/libsdl2/libsdl2-2.32.4.ebuild | 4 +++- media-libs/libsdl2/libsdl2-2.32.54.ebuild | 6 +++++- media-libs/libsdl2/libsdl2-2.32.56.ebuild | 6 +++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/media-libs/libsdl2/libsdl2-2.32.2.ebuild b/media-libs/libsdl2/libsdl2-2.32.2.ebuild index dd003e7b9918..35a7aaa92da5 100644 --- a/media-libs/libsdl2/libsdl2-2.32.2.ebuild +++ b/media-libs/libsdl2/libsdl2-2.32.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake-multilib flag-o-matic +inherit cmake-multilib dot-a flag-o-matic MY_P="SDL2-${PV}" DESCRIPTION="Simple Direct Media Layer" @@ -122,6 +122,7 @@ src_prepare() { src_configure() { use custom-cflags || strip-flags + lto-guarantee-fat local mycmakeargs=( -DSDL_STATIC=$(usex static-libs) @@ -212,4 +213,5 @@ multilib_src_install_all() { rm -r "${ED}"/usr/share/licenses/ || die dodoc {BUGS,CREDITS,README-SDL,TODO,WhatsNew}.txt README.md docs/README*.md use doc && dodoc -r docs/output/html/ + strip-lto-bytecode "${ED}" } diff --git a/media-libs/libsdl2/libsdl2-2.32.4.ebuild b/media-libs/libsdl2/libsdl2-2.32.4.ebuild index 00268da65efc..f1c4cdc210e3 100644 --- a/media-libs/libsdl2/libsdl2-2.32.4.ebuild +++ b/media-libs/libsdl2/libsdl2-2.32.4.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake-multilib flag-o-matic +inherit cmake-multilib dot-a flag-o-matic MY_P="SDL2-${PV}" DESCRIPTION="Simple Direct Media Layer" @@ -121,6 +121,7 @@ src_prepare() { src_configure() { use custom-cflags || strip-flags + lto-guarantee-fat local mycmakeargs=( -DSDL_STATIC=$(usex static-libs) @@ -211,4 +212,5 @@ multilib_src_install_all() { rm -r "${ED}"/usr/share/licenses/ || die dodoc {BUGS,CREDITS,README-SDL,TODO,WhatsNew}.txt README.md docs/README*.md use doc && dodoc -r docs/output/html/ + strip-lto-bytecode "${ED}" } diff --git a/media-libs/libsdl2/libsdl2-2.32.54.ebuild b/media-libs/libsdl2/libsdl2-2.32.54.ebuild index e08083c44cb1..b487bf068dbd 100644 --- a/media-libs/libsdl2/libsdl2-2.32.54.ebuild +++ b/media-libs/libsdl2/libsdl2-2.32.54.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake-multilib +inherit cmake-multilib dot-a # TODO: switch to new description when non-compat is gone, this is so it is # not displayed on packages.gentoo.org which may be confusing for users @@ -41,6 +41,8 @@ RDEPEND=" DEPEND="${RDEPEND}" src_configure() { + lto-guarantee-fat + local mycmakeargs=( -DSDL2COMPAT_TESTS=$(usex test) ) @@ -51,5 +53,7 @@ src_configure() { src_install() { cmake-multilib_src_install + strip-lto-bytecode + rm -r -- "${ED}"/usr/share/licenses || die } diff --git a/media-libs/libsdl2/libsdl2-2.32.56.ebuild b/media-libs/libsdl2/libsdl2-2.32.56.ebuild index 84831c0d5868..30cea28a5b43 100644 --- a/media-libs/libsdl2/libsdl2-2.32.56.ebuild +++ b/media-libs/libsdl2/libsdl2-2.32.56.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake-multilib +inherit cmake-multilib dot-a # TODO: switch to new description when non-compat is gone, this is so it is # not displayed on packages.gentoo.org which may be confusing for users @@ -41,6 +41,8 @@ RDEPEND=" DEPEND="${RDEPEND}" src_configure() { + lto-guarantee-fat + local mycmakeargs=( -DSDL2COMPAT_TESTS=$(usex test) ) @@ -51,5 +53,7 @@ src_configure() { src_install() { cmake-multilib_src_install + strip-lto-bytecode + rm -r -- "${ED}"/usr/share/licenses || die }