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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D3A80158088 for ; Thu, 30 Oct 2025 18:10:05 +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) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id BA92F340F0E for ; Thu, 30 Oct 2025 18:10:05 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 9ADFB110561; Thu, 30 Oct 2025 18:10:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id 921D3110561 for ; Thu, 30 Oct 2025 18:10:04 +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 4BC2F340EC1 for ; Thu, 30 Oct 2025 18:10:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A447D3570 for ; Thu, 30 Oct 2025 18:10:02 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1761847775.f374e2b0270d2b9b2c1d90d2ed47f9b89be7bbe7.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl2/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libsdl2/Manifest media-libs/libsdl2/libsdl2-2.32.58.ebuild X-VCS-Directories: media-libs/libsdl2/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: f374e2b0270d2b9b2c1d90d2ed47f9b89be7bbe7 X-VCS-Branch: master Date: Thu, 30 Oct 2025 18:10:02 +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: 650f3fe8-815d-4105-8519-95bbce888497 X-Archives-Hash: 394fdb809408d73ba27e572f25731250 commit: f374e2b0270d2b9b2c1d90d2ed47f9b89be7bbe7 Author: Ionen Wolkens gentoo org> AuthorDate: Thu Oct 30 17:58:15 2025 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Thu Oct 30 18:09:35 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f374e2b0 media-libs/libsdl2: add 2.32.58 Signed-off-by: Ionen Wolkens gentoo.org> media-libs/libsdl2/Manifest | 1 + media-libs/libsdl2/libsdl2-2.32.58.ebuild | 66 +++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/media-libs/libsdl2/Manifest b/media-libs/libsdl2/Manifest index 6e30dacd751d..5c1744a44fc4 100644 --- a/media-libs/libsdl2/Manifest +++ b/media-libs/libsdl2/Manifest @@ -6,3 +6,4 @@ DIST SDL2-2.32.4.tar.gz 7627336 BLAKE2B 55a24c75c90d77358b647d44c05525ee00bc69f6 DIST SDL2-2.32.6.tar.gz 7627447 BLAKE2B d08c733d87af036e8a015a4ef313bbdf4049d7ddc3968693a820ea69e473f2df486eda02303d8fd6b33c2d166dcb7dee7ac0cba19e0b8198c80db7d996fe4702 SHA512 2dae8ae9f10e160a50f625daddad891d25e782130e5a5e3f02079d94ab8858aca92ab8871ab19fdf5be6aca83ffeb9c1ea03949841c2506066f12d2bf2332d47 DIST SDL2-2.32.8.tar.gz 7627356 BLAKE2B 01cbe46513cffac1bb43e82353448288359d957910e40c96d83cb4993c00a3ed409e95221a42563a3abf720468744c46da54fe889755f212260cc7c2f57b3830 SHA512 484c33638e7bd1002815bb1f6a47a292d1eaf0b963598dde65f4a3e077dfe75ee35b9ea4b3b767365b3ef4f613c4d69ce55b5e96675de562994344e83a978272 DIST sdl2-compat-2.32.56.tar.gz 2818364 BLAKE2B ffe635f2f2f220715752185587a4c4cc343acbfe1c17cd96afe176a65354926902b9d26d09c1688130a74561036da808aadc2f93467d4634bf692ffe69b26e57 SHA512 6117480fb29df01779b38e54596994a0e21f7c2247791ac3e2c8e416ea4c1048a3c00c04d74610b208076f9a79a5afee47cd4a072bdd69ddcecdf506fb6517b2 +DIST sdl2-compat-2.32.58.tar.gz 2821798 BLAKE2B cf0f86cad3e0d5881ba1a83bf790222ba860ac67ddf5d5e99be973e05b908e1fc18b1f3923ebc4e9389d0b29f2c6b35b31ef92242c463f84783ec14e4a36a35e SHA512 e68e4fbbcd7441f829b2b4399637d4dace6f8cc275cc7ae8221f6c6a06267c0163402974bb5770abef91d65893eea6faecf067f675160e730df77d9ec3fbb50c diff --git a/media-libs/libsdl2/libsdl2-2.32.58.ebuild b/media-libs/libsdl2/libsdl2-2.32.58.ebuild new file mode 100644 index 000000000000..60245d3094b3 --- /dev/null +++ b/media-libs/libsdl2/libsdl2-2.32.58.ebuild @@ -0,0 +1,66 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 +DESCRIPTION="Simple Direct Media Layer" +#DESCRIPTION="Simple Direct Media Layer 2 compatibility wrapper around SDL3" +HOMEPAGE="https://www.libsdl.org/" +SRC_URI="https://www.libsdl.org/release/sdl2-compat-${PV}.tar.gz" +S=${WORKDIR}/sdl2-compat-${PV} + +LICENSE="ZLIB" +SLOT="0" +# unkeyworded for testing +#KEYWORDS="~amd64" +# this skips most non-compat libsdl2 former IUSE that are not used by revdeps, +# albeit it is questionable that some depend on audio alsa/pipewire (note that +# static-libs is left out because it is useless for static-only builds given +# it will dlopen the shared libsdl3 anyway) +# +# TODO: either update revdeps to have (+) on no-op IUSE (haptic, joystick, +# sound, and video) then cleanup, or don't for less overlay issues and instead +# force in profiles to avoid unnecessary rebuilds -- not forced right now given +# >=2.32.50 would force for a potential future non-compat 2.34.0 fwiw +IUSE=" + X alsa gles2 +haptic +joystick kms opengl pipewire pulseaudio + +sound test +video vulkan wayland +" +REQUIRED_USE="gles2? ( opengl )" +RESTRICT="!test? ( test )" + +# libsdl3 is dlopen'ed and USE at build time should not matter except X, it +# enables everything else but will not work without libsdl3 support at runtime +RDEPEND=" + >=media-libs/libsdl3-3.2.12[X?,alsa?,opengl?,pipewire?,pulseaudio?,vulkan?,wayland?,${MULTILIB_USEDEP}] +" +DEPEND=" + ${RDEPEND} + X? ( + x11-base/xorg-proto + x11-libs/libX11 + ) +" + +src_configure() { + lto-guarantee-fat + + local mycmakeargs=( + -DSDL2COMPAT_TESTS=$(usex test) + -DSDL2COMPAT_X11=$(usex X) + ) + + cmake-multilib_src_configure +} + +src_install() { + cmake-multilib_src_install + + strip-lto-bytecode + + rm -r -- "${ED}"/usr/share/licenses || die +}