public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-03-05  4:50 Ionen Wolkens
  0 siblings, 0 replies; 25+ messages in thread
From: Ionen Wolkens @ 2025-03-05  4:50 UTC (permalink / raw
  To: gentoo-commits

commit:     4685f8150932d2c04cfc8c415b567c7a6e550c15
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  3 16:43:24 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Mar  5 04:48:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4685f815

media-libs/libsdl3: new package, add 3.2.8

Notable changes compared to libsdl2's ebuild:
* drop USE=video/sound/joystick (enabled), very little sense in
  disabling support entirely incl. dummy outputs without deps,
  and it is annoying for revdeps to need [joystick,sound,video]
  everywhere (flipping these can also drop symbols and breaks
  packages, while with the dummy ones it stays the same)
* drop USE=haptic (enabled), not *that* common of a requirement but
  is trivial and has no dependencies
* drop USE=fcitx (ignored), fcitx does not need to be present at
  build time, and support works through USE=dbus (feels redundant,
  and ebuild does not need to pull/optfeature fcitx for fcitx users)
* drop USE=xscreensaver (enabled), like other optional X libs it
  feels hardly worth a USE and being disabled by default felt subpar
* drop MULTILIB_WRAPPED_HEADERS, unless missing something, this
  seems no longer seems needed
* "tentatively" drop USE=custom-cflags, until recently there was still
  issues with flags but I believe most of these are resolved (not to
  mention most were LTO-related and strip-flags no longer filtered it
  anyway)
* merge gles1/gles2/gles3/opengl into USE=opengl, they all have the
  same dependency and it saves very little to disable unused ones
* to add to the above, drop dependency on mesa except for libgbm,
  it's not the job of the ebuild to check if drivers have support
  for each, unknown if user is even using mesa or nvidia

There are more differences but only listing those due to choices
and not due to e.g. SDL3 adding/dropping support for something.

Other notes:
* The [X?] in libglvnd[X?] is not *required* but it prevents automagic
  for the GLX support bits
* Considered dropping multilib given modern SDL3-only prebuilt games
  would not be 32bit, but there's the sdl2->3 compat lib to consider
  when we'll want it in the future and Wine may also end up needing it
  until the ebuild drops multilib support in favour of USE=wow64
* Hoping have not overlooked cases where libglvnd+vulkan-headers
  are needed (due to the unbundling inherited from libsdl2), seems
  to be always needed to build tests for one

Some changes may be worth backporting to libsdl2, but not planning
to look at that, or at least not right now.

Closes: https://bugs.gentoo.org/949110
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/libsdl3/Manifest             |   1 +
 media-libs/libsdl3/libsdl3-3.2.8.ebuild | 184 ++++++++++++++++++++++++++++++++
 media-libs/libsdl3/metadata.xml         |  17 +++
 3 files changed, 202 insertions(+)

diff --git a/media-libs/libsdl3/Manifest b/media-libs/libsdl3/Manifest
new file mode 100644
index 000000000000..74fc405b5272
--- /dev/null
+++ b/media-libs/libsdl3/Manifest
@@ -0,0 +1 @@
+DIST SDL3-3.2.8.tar.gz 15866007 BLAKE2B e89f240f9643305fb191049b9162f8adfe2f59b07464df28d08437130f8724b8ac8ab22075a6548cb6d8203ec289f3a8a917c08697047f3d39377af267d8187b SHA512 741550120f26fe983fa829d38d37ff4caeded31e899e4ded99ebb5b084eecebaa4081454b8e176e0103fa7faa6a230ad3f23f8c2453c6babfe59fab981cac6db

diff --git a/media-libs/libsdl3/libsdl3-3.2.8.ebuild b/media-libs/libsdl3/libsdl3-3.2.8.ebuild
new file mode 100644
index 000000000000..401240306f28
--- /dev/null
+++ b/media-libs/libsdl3/libsdl3-3.2.8.ebuild
@@ -0,0 +1,184 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="Simple Direct Media Layer"
+HOMEPAGE="https://www.libsdl.org/"
+SRC_URI="https://www.libsdl.org/release/SDL3-${PV}.tar.gz"
+S=${WORKDIR}/SDL3-${PV}
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="
+	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire
+	pulseaudio sndio static-libs test udev usb vulkan wayland
+	cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2
+	cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse
+	cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1
+	cpu_flags_x86_sse4_2
+"
+REQUIRED_USE="
+	ibus? ( dbus )
+	kms? ( opengl )
+	wayland? ( opengl )
+"
+RESTRICT="!test? ( test )"
+
+# dlopen/dbus-only: dbus, ibus, libudev, liburing, vulkan-loader
+RDEPEND="
+	virtual/libiconv[${MULTILIB_USEDEP}]
+	X? (
+		x11-libs/libX11[${MULTILIB_USEDEP}]
+		x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
+		x11-libs/libXcursor[${MULTILIB_USEDEP}]
+		x11-libs/libXext[${MULTILIB_USEDEP}]
+		x11-libs/libXfixes[${MULTILIB_USEDEP}]
+		x11-libs/libXi[${MULTILIB_USEDEP}]
+		x11-libs/libXrandr[${MULTILIB_USEDEP}]
+	)
+	alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
+	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
+	ibus? ( app-i18n/ibus )
+	io-uring? ( sys-libs/liburing:=[${MULTILIB_USEDEP}] )
+	jack? ( virtual/jack[${MULTILIB_USEDEP}] )
+	kms? (
+		media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
+		x11-libs/libdrm[${MULTILIB_USEDEP}]
+	)
+	opengl? ( media-libs/libglvnd[X?,${MULTILIB_USEDEP}] )
+	pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] )
+	pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
+	sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
+	udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
+	usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
+	wayland? (
+		dev-libs/wayland[${MULTILIB_USEDEP}]
+		gui-libs/libdecor[${MULTILIB_USEDEP}]
+		x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
+	)
+	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
+"
+DEPEND="
+	${RDEPEND}
+	X? ( x11-base/xorg-proto )
+	test? (
+		dev-util/vulkan-headers
+		media-libs/libglvnd
+	)
+	vulkan? ( dev-util/vulkan-headers )
+"
+BDEPEND="
+	doc? (
+		app-text/doxygen
+		media-gfx/graphviz
+	)
+	wayland? ( dev-util/wayland-scanner )
+"
+
+src_prepare() {
+	cmake_src_prepare
+
+	# unbundle libglvnd and vulkan headers
+	rm -r src/video/khronos || die
+	ln -s -- "${ESYSROOT}"/usr/include src/video/khronos || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DSDL_ASSERTIONS=disabled
+		-DSDL_DBUS=$(usex dbus)
+		-DSDL_DEPS_SHARED=no # link rather than dlopen() where possible
+		-DSDL_LIBURING=$(usex io-uring)
+		-DSDL_RPATH=no
+		-DSDL_STATIC=$(usex static-libs)
+		-DSDL_TESTS=$(usex test)
+
+		# audio
+		-DSDL_ALSA=$(usex alsa)
+		-DSDL_JACK=$(usex jack)
+		-DSDL_OSS=$(usex oss)
+		-DSDL_PIPEWIRE=$(usex pipewire)
+		-DSDL_PULSEAUDIO=$(usex pulseaudio)
+		-DSDL_SNDIO=$(usex sndio)
+
+		# input
+		-DSDL_HIDAPI_LIBUSB=$(usex usb)
+		-DSDL_IBUS=$(use ibus)
+		-DSDL_LIBUDEV=$(usex udev)
+
+		# video
+		-DSDL_COCOA=$(usex aqua)
+		-DSDL_DIRECTX=no
+		-DSDL_KMSDRM=$(usex kms)
+		-DSDL_OPENGL=$(usex opengl)
+		-DSDL_OPENGLES=$(usex opengl)
+		-DSDL_OPENVR=$(usex opengl) # only dependency is libglvnd
+		-DSDL_ROCKCHIP=no
+		-DSDL_RPI=no
+		-DSDL_VIVANTE=no
+		-DSDL_VULKAN=$(usex vulkan)
+		-DSDL_WAYLAND=$(usex wayland)
+		-DSDL_X11=$(usex X)
+		# SDL disallows this by default, allow it but warn in pkg_postinst
+		$(use !X && use !wayland && echo -DSDL_UNIX_CONSOLE_BUILD=yes)
+
+		# cpu instruction sets
+		-DSDL_ALTIVEC=$(usex cpu_flags_ppc_altivec)
+		-DSDL_AVX=$(usex cpu_flags_x86_avx)
+		-DSDL_AVX2=$(usex cpu_flags_x86_avx2)
+		-DSDL_AVX512F=$(usex cpu_flags_x86_avx512f)
+		-DSDL_MMX=$(usex cpu_flags_x86_mmx)
+		-DSDL_SSE=$(usex cpu_flags_x86_sse)
+		-DSDL_SSE2=$(usex cpu_flags_x86_sse2)
+		-DSDL_SSE3=$(usex cpu_flags_x86_sse3)
+		-DSDL_SSE4_1=$(usex cpu_flags_x86_sse4_1)
+		-DSDL_SSE4_2=$(usex cpu_flags_x86_sse4_2)
+	)
+
+	cmake-multilib_src_configure
+}
+
+src_compile() {
+	cmake-multilib_src_compile
+
+	if use doc; then
+		cd docs && doxygen || die
+	fi
+}
+
+src_test() {
+	unset "${!SDL_@}" # ignore users' preferences for tests
+
+	cmake-multilib_src_test
+}
+
+src_install() {
+	local DOCS=( {BUGS,WhatsNew}.txt {CREDITS,README}.md docs/*.md )
+	cmake-multilib_src_install
+
+	rm -r -- "${ED}"/usr/share/licenses || die
+
+	use doc && dodoc -r docs/output/html/
+}
+
+pkg_postinst() {
+	# skipping audio/video can make sense given many packages only use SDL
+	# for input, but still warn given off-by-default and may be unexpected
+	if use !X && use !aqua && use !kms && use !wayland; then
+		ewarn
+		ewarn "All typical display drivers (e.g. USE=wayland) are disabled,"
+		ewarn "applications using SDL for display may not function properly."
+	fi
+
+	if use !alsa && use !jack && use !oss && use !pipewire &&
+		use !pulseaudio && use !sndio; then
+		ewarn
+		ewarn "All typical audio drivers (e.g. USE=pipewire) are disabled,"
+		ewarn "applications using SDL for audio may not function properly."
+	fi
+}

diff --git a/media-libs/libsdl3/metadata.xml b/media-libs/libsdl3/metadata.xml
new file mode 100644
index 000000000000..2cea33e852d7
--- /dev/null
+++ b/media-libs/libsdl3/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>games@gentoo.org</email>
+		<name>Gentoo Games Project</name>
+	</maintainer>
+	<use>
+		<flag name="ibus">Enable support for <pkg>app-i18n/ibus</pkg></flag>
+		<flag name="kms">Enable support for direct Kernel Mode Setting video output</flag>
+		<flag name="sndio">Enable support for <pkg>media-sound/sndio</pkg></flag>
+		<flag name="pipewire">Enable support for <pkg>media-video/pipewire</pkg></flag>
+	</use>
+	<upstream>
+		<remote-id type="github">libsdl-org/SDL</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-04-01  3:16 Ionen Wolkens
  0 siblings, 0 replies; 25+ messages in thread
From: Ionen Wolkens @ 2025-04-01  3:16 UTC (permalink / raw
  To: gentoo-commits

commit:     c787a73f52df70f7cd30b5a5ae1f85fab4de953d
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  1 02:37:56 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Apr  1 03:15:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c787a73f

media-libs/libsdl3: add 3.2.10

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/libsdl3/Manifest              |   1 +
 media-libs/libsdl3/libsdl3-3.2.10.ebuild | 184 +++++++++++++++++++++++++++++++
 2 files changed, 185 insertions(+)

diff --git a/media-libs/libsdl3/Manifest b/media-libs/libsdl3/Manifest
index 74fc405b5272..1bfa7dff4ea6 100644
--- a/media-libs/libsdl3/Manifest
+++ b/media-libs/libsdl3/Manifest
@@ -1 +1,2 @@
+DIST SDL3-3.2.10.tar.gz 15876292 BLAKE2B 32e33d4209582fd0889969b30700f793562c7cb0afa3fc05befe421d10e101f558f9c817c7cc7855d793d78339a4c5b01129f24a5981a5651271e14d2e5aeff8 SHA512 e919749ded768ed15c2014efcacfb8ee6614d47727ceb45bbfd4248b36c3790640b4dcbd66de46e4f6870182e13d0d4ceb35da4eb064f9feabdde30ca6eae30d
 DIST SDL3-3.2.8.tar.gz 15866007 BLAKE2B e89f240f9643305fb191049b9162f8adfe2f59b07464df28d08437130f8724b8ac8ab22075a6548cb6d8203ec289f3a8a917c08697047f3d39377af267d8187b SHA512 741550120f26fe983fa829d38d37ff4caeded31e899e4ded99ebb5b084eecebaa4081454b8e176e0103fa7faa6a230ad3f23f8c2453c6babfe59fab981cac6db

diff --git a/media-libs/libsdl3/libsdl3-3.2.10.ebuild b/media-libs/libsdl3/libsdl3-3.2.10.ebuild
new file mode 100644
index 000000000000..401240306f28
--- /dev/null
+++ b/media-libs/libsdl3/libsdl3-3.2.10.ebuild
@@ -0,0 +1,184 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="Simple Direct Media Layer"
+HOMEPAGE="https://www.libsdl.org/"
+SRC_URI="https://www.libsdl.org/release/SDL3-${PV}.tar.gz"
+S=${WORKDIR}/SDL3-${PV}
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="
+	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire
+	pulseaudio sndio static-libs test udev usb vulkan wayland
+	cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2
+	cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse
+	cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1
+	cpu_flags_x86_sse4_2
+"
+REQUIRED_USE="
+	ibus? ( dbus )
+	kms? ( opengl )
+	wayland? ( opengl )
+"
+RESTRICT="!test? ( test )"
+
+# dlopen/dbus-only: dbus, ibus, libudev, liburing, vulkan-loader
+RDEPEND="
+	virtual/libiconv[${MULTILIB_USEDEP}]
+	X? (
+		x11-libs/libX11[${MULTILIB_USEDEP}]
+		x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
+		x11-libs/libXcursor[${MULTILIB_USEDEP}]
+		x11-libs/libXext[${MULTILIB_USEDEP}]
+		x11-libs/libXfixes[${MULTILIB_USEDEP}]
+		x11-libs/libXi[${MULTILIB_USEDEP}]
+		x11-libs/libXrandr[${MULTILIB_USEDEP}]
+	)
+	alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
+	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
+	ibus? ( app-i18n/ibus )
+	io-uring? ( sys-libs/liburing:=[${MULTILIB_USEDEP}] )
+	jack? ( virtual/jack[${MULTILIB_USEDEP}] )
+	kms? (
+		media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
+		x11-libs/libdrm[${MULTILIB_USEDEP}]
+	)
+	opengl? ( media-libs/libglvnd[X?,${MULTILIB_USEDEP}] )
+	pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] )
+	pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
+	sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
+	udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
+	usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
+	wayland? (
+		dev-libs/wayland[${MULTILIB_USEDEP}]
+		gui-libs/libdecor[${MULTILIB_USEDEP}]
+		x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
+	)
+	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
+"
+DEPEND="
+	${RDEPEND}
+	X? ( x11-base/xorg-proto )
+	test? (
+		dev-util/vulkan-headers
+		media-libs/libglvnd
+	)
+	vulkan? ( dev-util/vulkan-headers )
+"
+BDEPEND="
+	doc? (
+		app-text/doxygen
+		media-gfx/graphviz
+	)
+	wayland? ( dev-util/wayland-scanner )
+"
+
+src_prepare() {
+	cmake_src_prepare
+
+	# unbundle libglvnd and vulkan headers
+	rm -r src/video/khronos || die
+	ln -s -- "${ESYSROOT}"/usr/include src/video/khronos || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DSDL_ASSERTIONS=disabled
+		-DSDL_DBUS=$(usex dbus)
+		-DSDL_DEPS_SHARED=no # link rather than dlopen() where possible
+		-DSDL_LIBURING=$(usex io-uring)
+		-DSDL_RPATH=no
+		-DSDL_STATIC=$(usex static-libs)
+		-DSDL_TESTS=$(usex test)
+
+		# audio
+		-DSDL_ALSA=$(usex alsa)
+		-DSDL_JACK=$(usex jack)
+		-DSDL_OSS=$(usex oss)
+		-DSDL_PIPEWIRE=$(usex pipewire)
+		-DSDL_PULSEAUDIO=$(usex pulseaudio)
+		-DSDL_SNDIO=$(usex sndio)
+
+		# input
+		-DSDL_HIDAPI_LIBUSB=$(usex usb)
+		-DSDL_IBUS=$(use ibus)
+		-DSDL_LIBUDEV=$(usex udev)
+
+		# video
+		-DSDL_COCOA=$(usex aqua)
+		-DSDL_DIRECTX=no
+		-DSDL_KMSDRM=$(usex kms)
+		-DSDL_OPENGL=$(usex opengl)
+		-DSDL_OPENGLES=$(usex opengl)
+		-DSDL_OPENVR=$(usex opengl) # only dependency is libglvnd
+		-DSDL_ROCKCHIP=no
+		-DSDL_RPI=no
+		-DSDL_VIVANTE=no
+		-DSDL_VULKAN=$(usex vulkan)
+		-DSDL_WAYLAND=$(usex wayland)
+		-DSDL_X11=$(usex X)
+		# SDL disallows this by default, allow it but warn in pkg_postinst
+		$(use !X && use !wayland && echo -DSDL_UNIX_CONSOLE_BUILD=yes)
+
+		# cpu instruction sets
+		-DSDL_ALTIVEC=$(usex cpu_flags_ppc_altivec)
+		-DSDL_AVX=$(usex cpu_flags_x86_avx)
+		-DSDL_AVX2=$(usex cpu_flags_x86_avx2)
+		-DSDL_AVX512F=$(usex cpu_flags_x86_avx512f)
+		-DSDL_MMX=$(usex cpu_flags_x86_mmx)
+		-DSDL_SSE=$(usex cpu_flags_x86_sse)
+		-DSDL_SSE2=$(usex cpu_flags_x86_sse2)
+		-DSDL_SSE3=$(usex cpu_flags_x86_sse3)
+		-DSDL_SSE4_1=$(usex cpu_flags_x86_sse4_1)
+		-DSDL_SSE4_2=$(usex cpu_flags_x86_sse4_2)
+	)
+
+	cmake-multilib_src_configure
+}
+
+src_compile() {
+	cmake-multilib_src_compile
+
+	if use doc; then
+		cd docs && doxygen || die
+	fi
+}
+
+src_test() {
+	unset "${!SDL_@}" # ignore users' preferences for tests
+
+	cmake-multilib_src_test
+}
+
+src_install() {
+	local DOCS=( {BUGS,WhatsNew}.txt {CREDITS,README}.md docs/*.md )
+	cmake-multilib_src_install
+
+	rm -r -- "${ED}"/usr/share/licenses || die
+
+	use doc && dodoc -r docs/output/html/
+}
+
+pkg_postinst() {
+	# skipping audio/video can make sense given many packages only use SDL
+	# for input, but still warn given off-by-default and may be unexpected
+	if use !X && use !aqua && use !kms && use !wayland; then
+		ewarn
+		ewarn "All typical display drivers (e.g. USE=wayland) are disabled,"
+		ewarn "applications using SDL for display may not function properly."
+	fi
+
+	if use !alsa && use !jack && use !oss && use !pipewire &&
+		use !pulseaudio && use !sndio; then
+		ewarn
+		ewarn "All typical audio drivers (e.g. USE=pipewire) are disabled,"
+		ewarn "applications using SDL for audio may not function properly."
+	fi
+}


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-04-09  0:52 Ionen Wolkens
  0 siblings, 0 replies; 25+ messages in thread
From: Ionen Wolkens @ 2025-04-09  0:52 UTC (permalink / raw
  To: gentoo-commits

commit:     e1dd2ba46c514ab006a404930e61e07d50c15d56
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  9 00:46:40 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Apr  9 00:49:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1dd2ba4

media-libs/libsdl3: drop IUSE=static-libs

qemu still using this doesn't really make sense and, if it migrates
to libsdl3, the seemingly legacy usage should be cleaned up.

Unlikely that it works right too given nothing checks that all the
other libraries it needs to link with are available statically.

Can always be re-added later if we really need it, but for now do not
want to encourage anything to depend on this.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/libsdl3/libsdl3-3.2.10.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libsdl3/libsdl3-3.2.10.ebuild b/media-libs/libsdl3/libsdl3-3.2.10.ebuild
index 401240306f28..9418c4946834 100644
--- a/media-libs/libsdl3/libsdl3-3.2.10.ebuild
+++ b/media-libs/libsdl3/libsdl3-3.2.10.ebuild
@@ -16,7 +16,7 @@ KEYWORDS="~amd64"
 
 IUSE="
 	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire
-	pulseaudio sndio static-libs test udev usb vulkan wayland
+	pulseaudio sndio test udev usb vulkan wayland
 	cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2
 	cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse
 	cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1
@@ -95,7 +95,7 @@ src_configure() {
 		-DSDL_DEPS_SHARED=no # link rather than dlopen() where possible
 		-DSDL_LIBURING=$(usex io-uring)
 		-DSDL_RPATH=no
-		-DSDL_STATIC=$(usex static-libs)
+		-DSDL_STATIC=no
 		-DSDL_TESTS=$(usex test)
 
 		# audio


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-04-09  0:52 Ionen Wolkens
  0 siblings, 0 replies; 25+ messages in thread
From: Ionen Wolkens @ 2025-04-09  0:52 UTC (permalink / raw
  To: gentoo-commits

commit:     e9adbd25720004b65406203e98aa9d1ddfaae893
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  9 00:48:53 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Apr  9 00:51:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9adbd25

media-libs/libsdl3: drop 3.2.8

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/libsdl3/Manifest             |   1 -
 media-libs/libsdl3/libsdl3-3.2.8.ebuild | 184 --------------------------------
 2 files changed, 185 deletions(-)

diff --git a/media-libs/libsdl3/Manifest b/media-libs/libsdl3/Manifest
index 1bfa7dff4ea6..f657e220c73c 100644
--- a/media-libs/libsdl3/Manifest
+++ b/media-libs/libsdl3/Manifest
@@ -1,2 +1 @@
 DIST SDL3-3.2.10.tar.gz 15876292 BLAKE2B 32e33d4209582fd0889969b30700f793562c7cb0afa3fc05befe421d10e101f558f9c817c7cc7855d793d78339a4c5b01129f24a5981a5651271e14d2e5aeff8 SHA512 e919749ded768ed15c2014efcacfb8ee6614d47727ceb45bbfd4248b36c3790640b4dcbd66de46e4f6870182e13d0d4ceb35da4eb064f9feabdde30ca6eae30d
-DIST SDL3-3.2.8.tar.gz 15866007 BLAKE2B e89f240f9643305fb191049b9162f8adfe2f59b07464df28d08437130f8724b8ac8ab22075a6548cb6d8203ec289f3a8a917c08697047f3d39377af267d8187b SHA512 741550120f26fe983fa829d38d37ff4caeded31e899e4ded99ebb5b084eecebaa4081454b8e176e0103fa7faa6a230ad3f23f8c2453c6babfe59fab981cac6db

diff --git a/media-libs/libsdl3/libsdl3-3.2.8.ebuild b/media-libs/libsdl3/libsdl3-3.2.8.ebuild
deleted file mode 100644
index 401240306f28..000000000000
--- a/media-libs/libsdl3/libsdl3-3.2.8.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib
-
-DESCRIPTION="Simple Direct Media Layer"
-HOMEPAGE="https://www.libsdl.org/"
-SRC_URI="https://www.libsdl.org/release/SDL3-${PV}.tar.gz"
-S=${WORKDIR}/SDL3-${PV}
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="
-	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire
-	pulseaudio sndio static-libs test udev usb vulkan wayland
-	cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2
-	cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse
-	cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1
-	cpu_flags_x86_sse4_2
-"
-REQUIRED_USE="
-	ibus? ( dbus )
-	kms? ( opengl )
-	wayland? ( opengl )
-"
-RESTRICT="!test? ( test )"
-
-# dlopen/dbus-only: dbus, ibus, libudev, liburing, vulkan-loader
-RDEPEND="
-	virtual/libiconv[${MULTILIB_USEDEP}]
-	X? (
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
-		x11-libs/libXcursor[${MULTILIB_USEDEP}]
-		x11-libs/libXext[${MULTILIB_USEDEP}]
-		x11-libs/libXfixes[${MULTILIB_USEDEP}]
-		x11-libs/libXi[${MULTILIB_USEDEP}]
-		x11-libs/libXrandr[${MULTILIB_USEDEP}]
-	)
-	alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
-	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
-	ibus? ( app-i18n/ibus )
-	io-uring? ( sys-libs/liburing:=[${MULTILIB_USEDEP}] )
-	jack? ( virtual/jack[${MULTILIB_USEDEP}] )
-	kms? (
-		media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
-		x11-libs/libdrm[${MULTILIB_USEDEP}]
-	)
-	opengl? ( media-libs/libglvnd[X?,${MULTILIB_USEDEP}] )
-	pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] )
-	pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
-	sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
-	udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
-	usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
-	wayland? (
-		dev-libs/wayland[${MULTILIB_USEDEP}]
-		gui-libs/libdecor[${MULTILIB_USEDEP}]
-		x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
-	)
-	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
-"
-DEPEND="
-	${RDEPEND}
-	X? ( x11-base/xorg-proto )
-	test? (
-		dev-util/vulkan-headers
-		media-libs/libglvnd
-	)
-	vulkan? ( dev-util/vulkan-headers )
-"
-BDEPEND="
-	doc? (
-		app-text/doxygen
-		media-gfx/graphviz
-	)
-	wayland? ( dev-util/wayland-scanner )
-"
-
-src_prepare() {
-	cmake_src_prepare
-
-	# unbundle libglvnd and vulkan headers
-	rm -r src/video/khronos || die
-	ln -s -- "${ESYSROOT}"/usr/include src/video/khronos || die
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DSDL_ASSERTIONS=disabled
-		-DSDL_DBUS=$(usex dbus)
-		-DSDL_DEPS_SHARED=no # link rather than dlopen() where possible
-		-DSDL_LIBURING=$(usex io-uring)
-		-DSDL_RPATH=no
-		-DSDL_STATIC=$(usex static-libs)
-		-DSDL_TESTS=$(usex test)
-
-		# audio
-		-DSDL_ALSA=$(usex alsa)
-		-DSDL_JACK=$(usex jack)
-		-DSDL_OSS=$(usex oss)
-		-DSDL_PIPEWIRE=$(usex pipewire)
-		-DSDL_PULSEAUDIO=$(usex pulseaudio)
-		-DSDL_SNDIO=$(usex sndio)
-
-		# input
-		-DSDL_HIDAPI_LIBUSB=$(usex usb)
-		-DSDL_IBUS=$(use ibus)
-		-DSDL_LIBUDEV=$(usex udev)
-
-		# video
-		-DSDL_COCOA=$(usex aqua)
-		-DSDL_DIRECTX=no
-		-DSDL_KMSDRM=$(usex kms)
-		-DSDL_OPENGL=$(usex opengl)
-		-DSDL_OPENGLES=$(usex opengl)
-		-DSDL_OPENVR=$(usex opengl) # only dependency is libglvnd
-		-DSDL_ROCKCHIP=no
-		-DSDL_RPI=no
-		-DSDL_VIVANTE=no
-		-DSDL_VULKAN=$(usex vulkan)
-		-DSDL_WAYLAND=$(usex wayland)
-		-DSDL_X11=$(usex X)
-		# SDL disallows this by default, allow it but warn in pkg_postinst
-		$(use !X && use !wayland && echo -DSDL_UNIX_CONSOLE_BUILD=yes)
-
-		# cpu instruction sets
-		-DSDL_ALTIVEC=$(usex cpu_flags_ppc_altivec)
-		-DSDL_AVX=$(usex cpu_flags_x86_avx)
-		-DSDL_AVX2=$(usex cpu_flags_x86_avx2)
-		-DSDL_AVX512F=$(usex cpu_flags_x86_avx512f)
-		-DSDL_MMX=$(usex cpu_flags_x86_mmx)
-		-DSDL_SSE=$(usex cpu_flags_x86_sse)
-		-DSDL_SSE2=$(usex cpu_flags_x86_sse2)
-		-DSDL_SSE3=$(usex cpu_flags_x86_sse3)
-		-DSDL_SSE4_1=$(usex cpu_flags_x86_sse4_1)
-		-DSDL_SSE4_2=$(usex cpu_flags_x86_sse4_2)
-	)
-
-	cmake-multilib_src_configure
-}
-
-src_compile() {
-	cmake-multilib_src_compile
-
-	if use doc; then
-		cd docs && doxygen || die
-	fi
-}
-
-src_test() {
-	unset "${!SDL_@}" # ignore users' preferences for tests
-
-	cmake-multilib_src_test
-}
-
-src_install() {
-	local DOCS=( {BUGS,WhatsNew}.txt {CREDITS,README}.md docs/*.md )
-	cmake-multilib_src_install
-
-	rm -r -- "${ED}"/usr/share/licenses || die
-
-	use doc && dodoc -r docs/output/html/
-}
-
-pkg_postinst() {
-	# skipping audio/video can make sense given many packages only use SDL
-	# for input, but still warn given off-by-default and may be unexpected
-	if use !X && use !aqua && use !kms && use !wayland; then
-		ewarn
-		ewarn "All typical display drivers (e.g. USE=wayland) are disabled,"
-		ewarn "applications using SDL for display may not function properly."
-	fi
-
-	if use !alsa && use !jack && use !oss && use !pipewire &&
-		use !pulseaudio && use !sndio; then
-		ewarn
-		ewarn "All typical audio drivers (e.g. USE=pipewire) are disabled,"
-		ewarn "applications using SDL for audio may not function properly."
-	fi
-}


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-05-05  9:18 Ionen Wolkens
  0 siblings, 0 replies; 25+ messages in thread
From: Ionen Wolkens @ 2025-05-05  9:18 UTC (permalink / raw
  To: gentoo-commits

commit:     3c4065f03960e016832c4678c6865af36336e521
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon May  5 09:08:30 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon May  5 09:17:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c4065f0

media-libs/libsdl3: add 3.2.12

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/libsdl3/Manifest              |   1 +
 media-libs/libsdl3/libsdl3-3.2.12.ebuild | 184 +++++++++++++++++++++++++++++++
 2 files changed, 185 insertions(+)

diff --git a/media-libs/libsdl3/Manifest b/media-libs/libsdl3/Manifest
index f657e220c73c..727bd29bc633 100644
--- a/media-libs/libsdl3/Manifest
+++ b/media-libs/libsdl3/Manifest
@@ -1 +1,2 @@
 DIST SDL3-3.2.10.tar.gz 15876292 BLAKE2B 32e33d4209582fd0889969b30700f793562c7cb0afa3fc05befe421d10e101f558f9c817c7cc7855d793d78339a4c5b01129f24a5981a5651271e14d2e5aeff8 SHA512 e919749ded768ed15c2014efcacfb8ee6614d47727ceb45bbfd4248b36c3790640b4dcbd66de46e4f6870182e13d0d4ceb35da4eb064f9feabdde30ca6eae30d
+DIST SDL3-3.2.12.tar.gz 15886500 BLAKE2B 319e6e8f7348047d2aaa80ccd8b6a321e601a9bce58c338915b7c5a0e62b96d50ebd4de4ef47f9e5613f10c2c5f26220e769e19d8629cb590da92b42dd0731ab SHA512 661f588d0134b32d85eb565f8a03409a2561089595f125660a1815fa245bef58daf4f24b273d33227996858ed2d5ef4cc53003704be3f27dd81f207d8202a7e4

diff --git a/media-libs/libsdl3/libsdl3-3.2.12.ebuild b/media-libs/libsdl3/libsdl3-3.2.12.ebuild
new file mode 100644
index 000000000000..9418c4946834
--- /dev/null
+++ b/media-libs/libsdl3/libsdl3-3.2.12.ebuild
@@ -0,0 +1,184 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="Simple Direct Media Layer"
+HOMEPAGE="https://www.libsdl.org/"
+SRC_URI="https://www.libsdl.org/release/SDL3-${PV}.tar.gz"
+S=${WORKDIR}/SDL3-${PV}
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="
+	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire
+	pulseaudio sndio test udev usb vulkan wayland
+	cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2
+	cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse
+	cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1
+	cpu_flags_x86_sse4_2
+"
+REQUIRED_USE="
+	ibus? ( dbus )
+	kms? ( opengl )
+	wayland? ( opengl )
+"
+RESTRICT="!test? ( test )"
+
+# dlopen/dbus-only: dbus, ibus, libudev, liburing, vulkan-loader
+RDEPEND="
+	virtual/libiconv[${MULTILIB_USEDEP}]
+	X? (
+		x11-libs/libX11[${MULTILIB_USEDEP}]
+		x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
+		x11-libs/libXcursor[${MULTILIB_USEDEP}]
+		x11-libs/libXext[${MULTILIB_USEDEP}]
+		x11-libs/libXfixes[${MULTILIB_USEDEP}]
+		x11-libs/libXi[${MULTILIB_USEDEP}]
+		x11-libs/libXrandr[${MULTILIB_USEDEP}]
+	)
+	alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
+	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
+	ibus? ( app-i18n/ibus )
+	io-uring? ( sys-libs/liburing:=[${MULTILIB_USEDEP}] )
+	jack? ( virtual/jack[${MULTILIB_USEDEP}] )
+	kms? (
+		media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
+		x11-libs/libdrm[${MULTILIB_USEDEP}]
+	)
+	opengl? ( media-libs/libglvnd[X?,${MULTILIB_USEDEP}] )
+	pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] )
+	pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
+	sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
+	udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
+	usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
+	wayland? (
+		dev-libs/wayland[${MULTILIB_USEDEP}]
+		gui-libs/libdecor[${MULTILIB_USEDEP}]
+		x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
+	)
+	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
+"
+DEPEND="
+	${RDEPEND}
+	X? ( x11-base/xorg-proto )
+	test? (
+		dev-util/vulkan-headers
+		media-libs/libglvnd
+	)
+	vulkan? ( dev-util/vulkan-headers )
+"
+BDEPEND="
+	doc? (
+		app-text/doxygen
+		media-gfx/graphviz
+	)
+	wayland? ( dev-util/wayland-scanner )
+"
+
+src_prepare() {
+	cmake_src_prepare
+
+	# unbundle libglvnd and vulkan headers
+	rm -r src/video/khronos || die
+	ln -s -- "${ESYSROOT}"/usr/include src/video/khronos || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DSDL_ASSERTIONS=disabled
+		-DSDL_DBUS=$(usex dbus)
+		-DSDL_DEPS_SHARED=no # link rather than dlopen() where possible
+		-DSDL_LIBURING=$(usex io-uring)
+		-DSDL_RPATH=no
+		-DSDL_STATIC=no
+		-DSDL_TESTS=$(usex test)
+
+		# audio
+		-DSDL_ALSA=$(usex alsa)
+		-DSDL_JACK=$(usex jack)
+		-DSDL_OSS=$(usex oss)
+		-DSDL_PIPEWIRE=$(usex pipewire)
+		-DSDL_PULSEAUDIO=$(usex pulseaudio)
+		-DSDL_SNDIO=$(usex sndio)
+
+		# input
+		-DSDL_HIDAPI_LIBUSB=$(usex usb)
+		-DSDL_IBUS=$(use ibus)
+		-DSDL_LIBUDEV=$(usex udev)
+
+		# video
+		-DSDL_COCOA=$(usex aqua)
+		-DSDL_DIRECTX=no
+		-DSDL_KMSDRM=$(usex kms)
+		-DSDL_OPENGL=$(usex opengl)
+		-DSDL_OPENGLES=$(usex opengl)
+		-DSDL_OPENVR=$(usex opengl) # only dependency is libglvnd
+		-DSDL_ROCKCHIP=no
+		-DSDL_RPI=no
+		-DSDL_VIVANTE=no
+		-DSDL_VULKAN=$(usex vulkan)
+		-DSDL_WAYLAND=$(usex wayland)
+		-DSDL_X11=$(usex X)
+		# SDL disallows this by default, allow it but warn in pkg_postinst
+		$(use !X && use !wayland && echo -DSDL_UNIX_CONSOLE_BUILD=yes)
+
+		# cpu instruction sets
+		-DSDL_ALTIVEC=$(usex cpu_flags_ppc_altivec)
+		-DSDL_AVX=$(usex cpu_flags_x86_avx)
+		-DSDL_AVX2=$(usex cpu_flags_x86_avx2)
+		-DSDL_AVX512F=$(usex cpu_flags_x86_avx512f)
+		-DSDL_MMX=$(usex cpu_flags_x86_mmx)
+		-DSDL_SSE=$(usex cpu_flags_x86_sse)
+		-DSDL_SSE2=$(usex cpu_flags_x86_sse2)
+		-DSDL_SSE3=$(usex cpu_flags_x86_sse3)
+		-DSDL_SSE4_1=$(usex cpu_flags_x86_sse4_1)
+		-DSDL_SSE4_2=$(usex cpu_flags_x86_sse4_2)
+	)
+
+	cmake-multilib_src_configure
+}
+
+src_compile() {
+	cmake-multilib_src_compile
+
+	if use doc; then
+		cd docs && doxygen || die
+	fi
+}
+
+src_test() {
+	unset "${!SDL_@}" # ignore users' preferences for tests
+
+	cmake-multilib_src_test
+}
+
+src_install() {
+	local DOCS=( {BUGS,WhatsNew}.txt {CREDITS,README}.md docs/*.md )
+	cmake-multilib_src_install
+
+	rm -r -- "${ED}"/usr/share/licenses || die
+
+	use doc && dodoc -r docs/output/html/
+}
+
+pkg_postinst() {
+	# skipping audio/video can make sense given many packages only use SDL
+	# for input, but still warn given off-by-default and may be unexpected
+	if use !X && use !aqua && use !kms && use !wayland; then
+		ewarn
+		ewarn "All typical display drivers (e.g. USE=wayland) are disabled,"
+		ewarn "applications using SDL for display may not function properly."
+	fi
+
+	if use !alsa && use !jack && use !oss && use !pipewire &&
+		use !pulseaudio && use !sndio; then
+		ewarn
+		ewarn "All typical audio drivers (e.g. USE=pipewire) are disabled,"
+		ewarn "applications using SDL for audio may not function properly."
+	fi
+}


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-05-14 18:44 Ionen Wolkens
  0 siblings, 0 replies; 25+ messages in thread
From: Ionen Wolkens @ 2025-05-14 18:44 UTC (permalink / raw
  To: gentoo-commits

commit:     d560ef32deeaf687923283b0c9f41563b7819212
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed May 14 18:13:45 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed May 14 18:43:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d560ef32

media-libs/libsdl3: add 3.2.14

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/libsdl3/Manifest              |   1 +
 media-libs/libsdl3/libsdl3-3.2.14.ebuild | 184 +++++++++++++++++++++++++++++++
 2 files changed, 185 insertions(+)

diff --git a/media-libs/libsdl3/Manifest b/media-libs/libsdl3/Manifest
index 727bd29bc633..8fc478346319 100644
--- a/media-libs/libsdl3/Manifest
+++ b/media-libs/libsdl3/Manifest
@@ -1,2 +1,3 @@
 DIST SDL3-3.2.10.tar.gz 15876292 BLAKE2B 32e33d4209582fd0889969b30700f793562c7cb0afa3fc05befe421d10e101f558f9c817c7cc7855d793d78339a4c5b01129f24a5981a5651271e14d2e5aeff8 SHA512 e919749ded768ed15c2014efcacfb8ee6614d47727ceb45bbfd4248b36c3790640b4dcbd66de46e4f6870182e13d0d4ceb35da4eb064f9feabdde30ca6eae30d
 DIST SDL3-3.2.12.tar.gz 15886500 BLAKE2B 319e6e8f7348047d2aaa80ccd8b6a321e601a9bce58c338915b7c5a0e62b96d50ebd4de4ef47f9e5613f10c2c5f26220e769e19d8629cb590da92b42dd0731ab SHA512 661f588d0134b32d85eb565f8a03409a2561089595f125660a1815fa245bef58daf4f24b273d33227996858ed2d5ef4cc53003704be3f27dd81f207d8202a7e4
+DIST SDL3-3.2.14.tar.gz 15888107 BLAKE2B 1b0787538f388b11f45e4cc69ee25386021374b29808c54576640139e043f7ae51bcede6f4782a61f389eac4a03b72b43817b5f86d2eda7c28ee755ba3899904 SHA512 7e501bda73cc7b42b860e6ba6f9a0450fdb5014f5999afa64ccd6b4eb633edf6646fd1e251d58189649755a883d7dd51e5bcc53e841974180ed73d56fb8e29cd

diff --git a/media-libs/libsdl3/libsdl3-3.2.14.ebuild b/media-libs/libsdl3/libsdl3-3.2.14.ebuild
new file mode 100644
index 000000000000..9418c4946834
--- /dev/null
+++ b/media-libs/libsdl3/libsdl3-3.2.14.ebuild
@@ -0,0 +1,184 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="Simple Direct Media Layer"
+HOMEPAGE="https://www.libsdl.org/"
+SRC_URI="https://www.libsdl.org/release/SDL3-${PV}.tar.gz"
+S=${WORKDIR}/SDL3-${PV}
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="
+	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire
+	pulseaudio sndio test udev usb vulkan wayland
+	cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2
+	cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse
+	cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1
+	cpu_flags_x86_sse4_2
+"
+REQUIRED_USE="
+	ibus? ( dbus )
+	kms? ( opengl )
+	wayland? ( opengl )
+"
+RESTRICT="!test? ( test )"
+
+# dlopen/dbus-only: dbus, ibus, libudev, liburing, vulkan-loader
+RDEPEND="
+	virtual/libiconv[${MULTILIB_USEDEP}]
+	X? (
+		x11-libs/libX11[${MULTILIB_USEDEP}]
+		x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
+		x11-libs/libXcursor[${MULTILIB_USEDEP}]
+		x11-libs/libXext[${MULTILIB_USEDEP}]
+		x11-libs/libXfixes[${MULTILIB_USEDEP}]
+		x11-libs/libXi[${MULTILIB_USEDEP}]
+		x11-libs/libXrandr[${MULTILIB_USEDEP}]
+	)
+	alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
+	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
+	ibus? ( app-i18n/ibus )
+	io-uring? ( sys-libs/liburing:=[${MULTILIB_USEDEP}] )
+	jack? ( virtual/jack[${MULTILIB_USEDEP}] )
+	kms? (
+		media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
+		x11-libs/libdrm[${MULTILIB_USEDEP}]
+	)
+	opengl? ( media-libs/libglvnd[X?,${MULTILIB_USEDEP}] )
+	pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] )
+	pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
+	sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
+	udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
+	usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
+	wayland? (
+		dev-libs/wayland[${MULTILIB_USEDEP}]
+		gui-libs/libdecor[${MULTILIB_USEDEP}]
+		x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
+	)
+	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
+"
+DEPEND="
+	${RDEPEND}
+	X? ( x11-base/xorg-proto )
+	test? (
+		dev-util/vulkan-headers
+		media-libs/libglvnd
+	)
+	vulkan? ( dev-util/vulkan-headers )
+"
+BDEPEND="
+	doc? (
+		app-text/doxygen
+		media-gfx/graphviz
+	)
+	wayland? ( dev-util/wayland-scanner )
+"
+
+src_prepare() {
+	cmake_src_prepare
+
+	# unbundle libglvnd and vulkan headers
+	rm -r src/video/khronos || die
+	ln -s -- "${ESYSROOT}"/usr/include src/video/khronos || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DSDL_ASSERTIONS=disabled
+		-DSDL_DBUS=$(usex dbus)
+		-DSDL_DEPS_SHARED=no # link rather than dlopen() where possible
+		-DSDL_LIBURING=$(usex io-uring)
+		-DSDL_RPATH=no
+		-DSDL_STATIC=no
+		-DSDL_TESTS=$(usex test)
+
+		# audio
+		-DSDL_ALSA=$(usex alsa)
+		-DSDL_JACK=$(usex jack)
+		-DSDL_OSS=$(usex oss)
+		-DSDL_PIPEWIRE=$(usex pipewire)
+		-DSDL_PULSEAUDIO=$(usex pulseaudio)
+		-DSDL_SNDIO=$(usex sndio)
+
+		# input
+		-DSDL_HIDAPI_LIBUSB=$(usex usb)
+		-DSDL_IBUS=$(use ibus)
+		-DSDL_LIBUDEV=$(usex udev)
+
+		# video
+		-DSDL_COCOA=$(usex aqua)
+		-DSDL_DIRECTX=no
+		-DSDL_KMSDRM=$(usex kms)
+		-DSDL_OPENGL=$(usex opengl)
+		-DSDL_OPENGLES=$(usex opengl)
+		-DSDL_OPENVR=$(usex opengl) # only dependency is libglvnd
+		-DSDL_ROCKCHIP=no
+		-DSDL_RPI=no
+		-DSDL_VIVANTE=no
+		-DSDL_VULKAN=$(usex vulkan)
+		-DSDL_WAYLAND=$(usex wayland)
+		-DSDL_X11=$(usex X)
+		# SDL disallows this by default, allow it but warn in pkg_postinst
+		$(use !X && use !wayland && echo -DSDL_UNIX_CONSOLE_BUILD=yes)
+
+		# cpu instruction sets
+		-DSDL_ALTIVEC=$(usex cpu_flags_ppc_altivec)
+		-DSDL_AVX=$(usex cpu_flags_x86_avx)
+		-DSDL_AVX2=$(usex cpu_flags_x86_avx2)
+		-DSDL_AVX512F=$(usex cpu_flags_x86_avx512f)
+		-DSDL_MMX=$(usex cpu_flags_x86_mmx)
+		-DSDL_SSE=$(usex cpu_flags_x86_sse)
+		-DSDL_SSE2=$(usex cpu_flags_x86_sse2)
+		-DSDL_SSE3=$(usex cpu_flags_x86_sse3)
+		-DSDL_SSE4_1=$(usex cpu_flags_x86_sse4_1)
+		-DSDL_SSE4_2=$(usex cpu_flags_x86_sse4_2)
+	)
+
+	cmake-multilib_src_configure
+}
+
+src_compile() {
+	cmake-multilib_src_compile
+
+	if use doc; then
+		cd docs && doxygen || die
+	fi
+}
+
+src_test() {
+	unset "${!SDL_@}" # ignore users' preferences for tests
+
+	cmake-multilib_src_test
+}
+
+src_install() {
+	local DOCS=( {BUGS,WhatsNew}.txt {CREDITS,README}.md docs/*.md )
+	cmake-multilib_src_install
+
+	rm -r -- "${ED}"/usr/share/licenses || die
+
+	use doc && dodoc -r docs/output/html/
+}
+
+pkg_postinst() {
+	# skipping audio/video can make sense given many packages only use SDL
+	# for input, but still warn given off-by-default and may be unexpected
+	if use !X && use !aqua && use !kms && use !wayland; then
+		ewarn
+		ewarn "All typical display drivers (e.g. USE=wayland) are disabled,"
+		ewarn "applications using SDL for display may not function properly."
+	fi
+
+	if use !alsa && use !jack && use !oss && use !pipewire &&
+		use !pulseaudio && use !sndio; then
+		ewarn
+		ewarn "All typical audio drivers (e.g. USE=pipewire) are disabled,"
+		ewarn "applications using SDL for audio may not function properly."
+	fi
+}


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-06-03  2:50 Ionen Wolkens
  0 siblings, 0 replies; 25+ messages in thread
From: Ionen Wolkens @ 2025-06-03  2:50 UTC (permalink / raw
  To: gentoo-commits

commit:     a5c7300c9ee157555bd70fcdf97f010495f2d63b
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 02:32:21 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 02:48:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5c7300c

media-libs/libsdl3: add 3.2.16

Also use dot-a.eclass, even though USE=static-libs been removed
it still builds and installs libSDL3_test.a which does not have
a shared version.

Odds that something is using that library seem pretty low though,
but there also seem to be little reason to make it optional.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/libsdl3/Manifest              |   1 +
 media-libs/libsdl3/libsdl3-3.2.16.ebuild | 188 +++++++++++++++++++++++++++++++
 2 files changed, 189 insertions(+)

diff --git a/media-libs/libsdl3/Manifest b/media-libs/libsdl3/Manifest
index 8fc478346319..506f6c5c3ed7 100644
--- a/media-libs/libsdl3/Manifest
+++ b/media-libs/libsdl3/Manifest
@@ -1,3 +1,4 @@
 DIST SDL3-3.2.10.tar.gz 15876292 BLAKE2B 32e33d4209582fd0889969b30700f793562c7cb0afa3fc05befe421d10e101f558f9c817c7cc7855d793d78339a4c5b01129f24a5981a5651271e14d2e5aeff8 SHA512 e919749ded768ed15c2014efcacfb8ee6614d47727ceb45bbfd4248b36c3790640b4dcbd66de46e4f6870182e13d0d4ceb35da4eb064f9feabdde30ca6eae30d
 DIST SDL3-3.2.12.tar.gz 15886500 BLAKE2B 319e6e8f7348047d2aaa80ccd8b6a321e601a9bce58c338915b7c5a0e62b96d50ebd4de4ef47f9e5613f10c2c5f26220e769e19d8629cb590da92b42dd0731ab SHA512 661f588d0134b32d85eb565f8a03409a2561089595f125660a1815fa245bef58daf4f24b273d33227996858ed2d5ef4cc53003704be3f27dd81f207d8202a7e4
 DIST SDL3-3.2.14.tar.gz 15888107 BLAKE2B 1b0787538f388b11f45e4cc69ee25386021374b29808c54576640139e043f7ae51bcede6f4782a61f389eac4a03b72b43817b5f86d2eda7c28ee755ba3899904 SHA512 7e501bda73cc7b42b860e6ba6f9a0450fdb5014f5999afa64ccd6b4eb633edf6646fd1e251d58189649755a883d7dd51e5bcc53e841974180ed73d56fb8e29cd
+DIST SDL3-3.2.16.tar.gz 15892772 BLAKE2B b39912ca801dddb9c28143971658bf1fcfb92a4dbacb2ed0157d6615cfb9c61d8924880eb449f9ef59c0d917f2142cc430ba535272054e90af903a1f9e154e89 SHA512 3f739ae884f69626e7033438cfebc9f549b9d4236713980a1b2e5470bb9eda19a17f68177fcbca074ce9c3adc8f38aaa562fe30514879715ed74451045256781

diff --git a/media-libs/libsdl3/libsdl3-3.2.16.ebuild b/media-libs/libsdl3/libsdl3-3.2.16.ebuild
new file mode 100644
index 000000000000..8259eb80a848
--- /dev/null
+++ b/media-libs/libsdl3/libsdl3-3.2.16.ebuild
@@ -0,0 +1,188 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib dot-a
+
+DESCRIPTION="Simple Direct Media Layer"
+HOMEPAGE="https://www.libsdl.org/"
+SRC_URI="https://www.libsdl.org/release/SDL3-${PV}.tar.gz"
+S=${WORKDIR}/SDL3-${PV}
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="
+	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire
+	pulseaudio sndio test udev usb vulkan wayland
+	cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2
+	cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse
+	cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1
+	cpu_flags_x86_sse4_2
+"
+REQUIRED_USE="
+	ibus? ( dbus )
+	kms? ( opengl )
+	wayland? ( opengl )
+"
+RESTRICT="!test? ( test )"
+
+# dlopen/dbus-only: dbus, ibus, libudev, liburing, vulkan-loader
+RDEPEND="
+	virtual/libiconv[${MULTILIB_USEDEP}]
+	X? (
+		x11-libs/libX11[${MULTILIB_USEDEP}]
+		x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
+		x11-libs/libXcursor[${MULTILIB_USEDEP}]
+		x11-libs/libXext[${MULTILIB_USEDEP}]
+		x11-libs/libXfixes[${MULTILIB_USEDEP}]
+		x11-libs/libXi[${MULTILIB_USEDEP}]
+		x11-libs/libXrandr[${MULTILIB_USEDEP}]
+	)
+	alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
+	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
+	ibus? ( app-i18n/ibus )
+	io-uring? ( sys-libs/liburing:=[${MULTILIB_USEDEP}] )
+	jack? ( virtual/jack[${MULTILIB_USEDEP}] )
+	kms? (
+		media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
+		x11-libs/libdrm[${MULTILIB_USEDEP}]
+	)
+	opengl? ( media-libs/libglvnd[X?,${MULTILIB_USEDEP}] )
+	pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] )
+	pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
+	sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
+	udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
+	usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
+	wayland? (
+		dev-libs/wayland[${MULTILIB_USEDEP}]
+		gui-libs/libdecor[${MULTILIB_USEDEP}]
+		x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
+	)
+	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
+"
+DEPEND="
+	${RDEPEND}
+	X? ( x11-base/xorg-proto )
+	test? (
+		dev-util/vulkan-headers
+		media-libs/libglvnd
+	)
+	vulkan? ( dev-util/vulkan-headers )
+"
+BDEPEND="
+	doc? (
+		app-text/doxygen
+		media-gfx/graphviz
+	)
+	wayland? ( dev-util/wayland-scanner )
+"
+
+src_prepare() {
+	cmake_src_prepare
+
+	# unbundle libglvnd and vulkan headers
+	rm -r src/video/khronos || die
+	ln -s -- "${ESYSROOT}"/usr/include src/video/khronos || die
+}
+
+src_configure() {
+	lto-guarantee-fat
+
+	local mycmakeargs=(
+		-DSDL_ASSERTIONS=disabled
+		-DSDL_DBUS=$(usex dbus)
+		-DSDL_DEPS_SHARED=no # link rather than dlopen() where possible
+		-DSDL_LIBURING=$(usex io-uring)
+		-DSDL_RPATH=no
+		-DSDL_STATIC=no
+		-DSDL_TESTS=$(usex test)
+
+		# audio
+		-DSDL_ALSA=$(usex alsa)
+		-DSDL_JACK=$(usex jack)
+		-DSDL_OSS=$(usex oss)
+		-DSDL_PIPEWIRE=$(usex pipewire)
+		-DSDL_PULSEAUDIO=$(usex pulseaudio)
+		-DSDL_SNDIO=$(usex sndio)
+
+		# input
+		-DSDL_HIDAPI_LIBUSB=$(usex usb)
+		-DSDL_IBUS=$(use ibus)
+		-DSDL_LIBUDEV=$(usex udev)
+
+		# video
+		-DSDL_COCOA=$(usex aqua)
+		-DSDL_DIRECTX=no
+		-DSDL_KMSDRM=$(usex kms)
+		-DSDL_OPENGL=$(usex opengl)
+		-DSDL_OPENGLES=$(usex opengl)
+		-DSDL_OPENVR=$(usex opengl) # only dependency is libglvnd
+		-DSDL_ROCKCHIP=no
+		-DSDL_RPI=no
+		-DSDL_VIVANTE=no
+		-DSDL_VULKAN=$(usex vulkan)
+		-DSDL_WAYLAND=$(usex wayland)
+		-DSDL_X11=$(usex X)
+		# SDL disallows this by default, allow it but warn in pkg_postinst
+		$(use !X && use !wayland && echo -DSDL_UNIX_CONSOLE_BUILD=yes)
+
+		# cpu instruction sets
+		-DSDL_ALTIVEC=$(usex cpu_flags_ppc_altivec)
+		-DSDL_AVX=$(usex cpu_flags_x86_avx)
+		-DSDL_AVX2=$(usex cpu_flags_x86_avx2)
+		-DSDL_AVX512F=$(usex cpu_flags_x86_avx512f)
+		-DSDL_MMX=$(usex cpu_flags_x86_mmx)
+		-DSDL_SSE=$(usex cpu_flags_x86_sse)
+		-DSDL_SSE2=$(usex cpu_flags_x86_sse2)
+		-DSDL_SSE3=$(usex cpu_flags_x86_sse3)
+		-DSDL_SSE4_1=$(usex cpu_flags_x86_sse4_1)
+		-DSDL_SSE4_2=$(usex cpu_flags_x86_sse4_2)
+	)
+
+	cmake-multilib_src_configure
+}
+
+src_compile() {
+	cmake-multilib_src_compile
+
+	if use doc; then
+		cd docs && doxygen || die
+	fi
+}
+
+src_test() {
+	unset "${!SDL_@}" # ignore users' preferences for tests
+
+	cmake-multilib_src_test
+}
+
+src_install() {
+	local DOCS=( {BUGS,WhatsNew}.txt {CREDITS,README}.md docs/*.md )
+	cmake-multilib_src_install
+
+	strip-lto-bytecode
+
+	rm -r -- "${ED}"/usr/share/licenses || die
+
+	use doc && dodoc -r docs/output/html/
+}
+
+pkg_postinst() {
+	# skipping audio/video can make sense given many packages only use SDL
+	# for input, but still warn given off-by-default and may be unexpected
+	if use !X && use !aqua && use !kms && use !wayland; then
+		ewarn
+		ewarn "All typical display drivers (e.g. USE=wayland) are disabled,"
+		ewarn "applications using SDL for display may not function properly."
+	fi
+
+	if use !alsa && use !jack && use !oss && use !pipewire &&
+		use !pulseaudio && use !sndio; then
+		ewarn
+		ewarn "All typical audio drivers (e.g. USE=pipewire) are disabled,"
+		ewarn "applications using SDL for audio may not function properly."
+	fi
+}


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-06-03  3:40 Sam James
  0 siblings, 0 replies; 25+ messages in thread
From: Sam James @ 2025-06-03  3:40 UTC (permalink / raw
  To: gentoo-commits

commit:     3028c9470ef8d2dd5244c87bfde8054418202f7c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 03:39:42 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 03:39:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3028c947

media-libs/libsdl3: Keyword 3.2.16 x86, #950966

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

 media-libs/libsdl3/libsdl3-3.2.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libsdl3/libsdl3-3.2.16.ebuild b/media-libs/libsdl3/libsdl3-3.2.16.ebuild
index 8259eb80a848..9b20804be369 100644
--- a/media-libs/libsdl3/libsdl3-3.2.16.ebuild
+++ b/media-libs/libsdl3/libsdl3-3.2.16.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/SDL3-${PV}
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 
 IUSE="
 	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-06-11  7:27 Ionen Wolkens
  0 siblings, 0 replies; 25+ messages in thread
From: Ionen Wolkens @ 2025-06-11  7:27 UTC (permalink / raw
  To: gentoo-commits

commit:     3f97c28e35f10e5aff8f8b5b9f88632af00d7d3c
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 11 07:27:11 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Jun 11 07:27:16 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f97c28e

media-libs/libsdl3: drop 3.2.10, 3.2.12

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/libsdl3/Manifest              |   2 -
 media-libs/libsdl3/libsdl3-3.2.10.ebuild | 184 -------------------------------
 media-libs/libsdl3/libsdl3-3.2.12.ebuild | 184 -------------------------------
 3 files changed, 370 deletions(-)

diff --git a/media-libs/libsdl3/Manifest b/media-libs/libsdl3/Manifest
index 506f6c5c3ed7..52ab8e65abdc 100644
--- a/media-libs/libsdl3/Manifest
+++ b/media-libs/libsdl3/Manifest
@@ -1,4 +1,2 @@
-DIST SDL3-3.2.10.tar.gz 15876292 BLAKE2B 32e33d4209582fd0889969b30700f793562c7cb0afa3fc05befe421d10e101f558f9c817c7cc7855d793d78339a4c5b01129f24a5981a5651271e14d2e5aeff8 SHA512 e919749ded768ed15c2014efcacfb8ee6614d47727ceb45bbfd4248b36c3790640b4dcbd66de46e4f6870182e13d0d4ceb35da4eb064f9feabdde30ca6eae30d
-DIST SDL3-3.2.12.tar.gz 15886500 BLAKE2B 319e6e8f7348047d2aaa80ccd8b6a321e601a9bce58c338915b7c5a0e62b96d50ebd4de4ef47f9e5613f10c2c5f26220e769e19d8629cb590da92b42dd0731ab SHA512 661f588d0134b32d85eb565f8a03409a2561089595f125660a1815fa245bef58daf4f24b273d33227996858ed2d5ef4cc53003704be3f27dd81f207d8202a7e4
 DIST SDL3-3.2.14.tar.gz 15888107 BLAKE2B 1b0787538f388b11f45e4cc69ee25386021374b29808c54576640139e043f7ae51bcede6f4782a61f389eac4a03b72b43817b5f86d2eda7c28ee755ba3899904 SHA512 7e501bda73cc7b42b860e6ba6f9a0450fdb5014f5999afa64ccd6b4eb633edf6646fd1e251d58189649755a883d7dd51e5bcc53e841974180ed73d56fb8e29cd
 DIST SDL3-3.2.16.tar.gz 15892772 BLAKE2B b39912ca801dddb9c28143971658bf1fcfb92a4dbacb2ed0157d6615cfb9c61d8924880eb449f9ef59c0d917f2142cc430ba535272054e90af903a1f9e154e89 SHA512 3f739ae884f69626e7033438cfebc9f549b9d4236713980a1b2e5470bb9eda19a17f68177fcbca074ce9c3adc8f38aaa562fe30514879715ed74451045256781

diff --git a/media-libs/libsdl3/libsdl3-3.2.10.ebuild b/media-libs/libsdl3/libsdl3-3.2.10.ebuild
deleted file mode 100644
index 9418c4946834..000000000000
--- a/media-libs/libsdl3/libsdl3-3.2.10.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib
-
-DESCRIPTION="Simple Direct Media Layer"
-HOMEPAGE="https://www.libsdl.org/"
-SRC_URI="https://www.libsdl.org/release/SDL3-${PV}.tar.gz"
-S=${WORKDIR}/SDL3-${PV}
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="
-	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire
-	pulseaudio sndio test udev usb vulkan wayland
-	cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2
-	cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse
-	cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1
-	cpu_flags_x86_sse4_2
-"
-REQUIRED_USE="
-	ibus? ( dbus )
-	kms? ( opengl )
-	wayland? ( opengl )
-"
-RESTRICT="!test? ( test )"
-
-# dlopen/dbus-only: dbus, ibus, libudev, liburing, vulkan-loader
-RDEPEND="
-	virtual/libiconv[${MULTILIB_USEDEP}]
-	X? (
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
-		x11-libs/libXcursor[${MULTILIB_USEDEP}]
-		x11-libs/libXext[${MULTILIB_USEDEP}]
-		x11-libs/libXfixes[${MULTILIB_USEDEP}]
-		x11-libs/libXi[${MULTILIB_USEDEP}]
-		x11-libs/libXrandr[${MULTILIB_USEDEP}]
-	)
-	alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
-	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
-	ibus? ( app-i18n/ibus )
-	io-uring? ( sys-libs/liburing:=[${MULTILIB_USEDEP}] )
-	jack? ( virtual/jack[${MULTILIB_USEDEP}] )
-	kms? (
-		media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
-		x11-libs/libdrm[${MULTILIB_USEDEP}]
-	)
-	opengl? ( media-libs/libglvnd[X?,${MULTILIB_USEDEP}] )
-	pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] )
-	pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
-	sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
-	udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
-	usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
-	wayland? (
-		dev-libs/wayland[${MULTILIB_USEDEP}]
-		gui-libs/libdecor[${MULTILIB_USEDEP}]
-		x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
-	)
-	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
-"
-DEPEND="
-	${RDEPEND}
-	X? ( x11-base/xorg-proto )
-	test? (
-		dev-util/vulkan-headers
-		media-libs/libglvnd
-	)
-	vulkan? ( dev-util/vulkan-headers )
-"
-BDEPEND="
-	doc? (
-		app-text/doxygen
-		media-gfx/graphviz
-	)
-	wayland? ( dev-util/wayland-scanner )
-"
-
-src_prepare() {
-	cmake_src_prepare
-
-	# unbundle libglvnd and vulkan headers
-	rm -r src/video/khronos || die
-	ln -s -- "${ESYSROOT}"/usr/include src/video/khronos || die
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DSDL_ASSERTIONS=disabled
-		-DSDL_DBUS=$(usex dbus)
-		-DSDL_DEPS_SHARED=no # link rather than dlopen() where possible
-		-DSDL_LIBURING=$(usex io-uring)
-		-DSDL_RPATH=no
-		-DSDL_STATIC=no
-		-DSDL_TESTS=$(usex test)
-
-		# audio
-		-DSDL_ALSA=$(usex alsa)
-		-DSDL_JACK=$(usex jack)
-		-DSDL_OSS=$(usex oss)
-		-DSDL_PIPEWIRE=$(usex pipewire)
-		-DSDL_PULSEAUDIO=$(usex pulseaudio)
-		-DSDL_SNDIO=$(usex sndio)
-
-		# input
-		-DSDL_HIDAPI_LIBUSB=$(usex usb)
-		-DSDL_IBUS=$(use ibus)
-		-DSDL_LIBUDEV=$(usex udev)
-
-		# video
-		-DSDL_COCOA=$(usex aqua)
-		-DSDL_DIRECTX=no
-		-DSDL_KMSDRM=$(usex kms)
-		-DSDL_OPENGL=$(usex opengl)
-		-DSDL_OPENGLES=$(usex opengl)
-		-DSDL_OPENVR=$(usex opengl) # only dependency is libglvnd
-		-DSDL_ROCKCHIP=no
-		-DSDL_RPI=no
-		-DSDL_VIVANTE=no
-		-DSDL_VULKAN=$(usex vulkan)
-		-DSDL_WAYLAND=$(usex wayland)
-		-DSDL_X11=$(usex X)
-		# SDL disallows this by default, allow it but warn in pkg_postinst
-		$(use !X && use !wayland && echo -DSDL_UNIX_CONSOLE_BUILD=yes)
-
-		# cpu instruction sets
-		-DSDL_ALTIVEC=$(usex cpu_flags_ppc_altivec)
-		-DSDL_AVX=$(usex cpu_flags_x86_avx)
-		-DSDL_AVX2=$(usex cpu_flags_x86_avx2)
-		-DSDL_AVX512F=$(usex cpu_flags_x86_avx512f)
-		-DSDL_MMX=$(usex cpu_flags_x86_mmx)
-		-DSDL_SSE=$(usex cpu_flags_x86_sse)
-		-DSDL_SSE2=$(usex cpu_flags_x86_sse2)
-		-DSDL_SSE3=$(usex cpu_flags_x86_sse3)
-		-DSDL_SSE4_1=$(usex cpu_flags_x86_sse4_1)
-		-DSDL_SSE4_2=$(usex cpu_flags_x86_sse4_2)
-	)
-
-	cmake-multilib_src_configure
-}
-
-src_compile() {
-	cmake-multilib_src_compile
-
-	if use doc; then
-		cd docs && doxygen || die
-	fi
-}
-
-src_test() {
-	unset "${!SDL_@}" # ignore users' preferences for tests
-
-	cmake-multilib_src_test
-}
-
-src_install() {
-	local DOCS=( {BUGS,WhatsNew}.txt {CREDITS,README}.md docs/*.md )
-	cmake-multilib_src_install
-
-	rm -r -- "${ED}"/usr/share/licenses || die
-
-	use doc && dodoc -r docs/output/html/
-}
-
-pkg_postinst() {
-	# skipping audio/video can make sense given many packages only use SDL
-	# for input, but still warn given off-by-default and may be unexpected
-	if use !X && use !aqua && use !kms && use !wayland; then
-		ewarn
-		ewarn "All typical display drivers (e.g. USE=wayland) are disabled,"
-		ewarn "applications using SDL for display may not function properly."
-	fi
-
-	if use !alsa && use !jack && use !oss && use !pipewire &&
-		use !pulseaudio && use !sndio; then
-		ewarn
-		ewarn "All typical audio drivers (e.g. USE=pipewire) are disabled,"
-		ewarn "applications using SDL for audio may not function properly."
-	fi
-}

diff --git a/media-libs/libsdl3/libsdl3-3.2.12.ebuild b/media-libs/libsdl3/libsdl3-3.2.12.ebuild
deleted file mode 100644
index 9418c4946834..000000000000
--- a/media-libs/libsdl3/libsdl3-3.2.12.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib
-
-DESCRIPTION="Simple Direct Media Layer"
-HOMEPAGE="https://www.libsdl.org/"
-SRC_URI="https://www.libsdl.org/release/SDL3-${PV}.tar.gz"
-S=${WORKDIR}/SDL3-${PV}
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="
-	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire
-	pulseaudio sndio test udev usb vulkan wayland
-	cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2
-	cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse
-	cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1
-	cpu_flags_x86_sse4_2
-"
-REQUIRED_USE="
-	ibus? ( dbus )
-	kms? ( opengl )
-	wayland? ( opengl )
-"
-RESTRICT="!test? ( test )"
-
-# dlopen/dbus-only: dbus, ibus, libudev, liburing, vulkan-loader
-RDEPEND="
-	virtual/libiconv[${MULTILIB_USEDEP}]
-	X? (
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
-		x11-libs/libXcursor[${MULTILIB_USEDEP}]
-		x11-libs/libXext[${MULTILIB_USEDEP}]
-		x11-libs/libXfixes[${MULTILIB_USEDEP}]
-		x11-libs/libXi[${MULTILIB_USEDEP}]
-		x11-libs/libXrandr[${MULTILIB_USEDEP}]
-	)
-	alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
-	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
-	ibus? ( app-i18n/ibus )
-	io-uring? ( sys-libs/liburing:=[${MULTILIB_USEDEP}] )
-	jack? ( virtual/jack[${MULTILIB_USEDEP}] )
-	kms? (
-		media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
-		x11-libs/libdrm[${MULTILIB_USEDEP}]
-	)
-	opengl? ( media-libs/libglvnd[X?,${MULTILIB_USEDEP}] )
-	pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] )
-	pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
-	sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
-	udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
-	usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
-	wayland? (
-		dev-libs/wayland[${MULTILIB_USEDEP}]
-		gui-libs/libdecor[${MULTILIB_USEDEP}]
-		x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
-	)
-	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
-"
-DEPEND="
-	${RDEPEND}
-	X? ( x11-base/xorg-proto )
-	test? (
-		dev-util/vulkan-headers
-		media-libs/libglvnd
-	)
-	vulkan? ( dev-util/vulkan-headers )
-"
-BDEPEND="
-	doc? (
-		app-text/doxygen
-		media-gfx/graphviz
-	)
-	wayland? ( dev-util/wayland-scanner )
-"
-
-src_prepare() {
-	cmake_src_prepare
-
-	# unbundle libglvnd and vulkan headers
-	rm -r src/video/khronos || die
-	ln -s -- "${ESYSROOT}"/usr/include src/video/khronos || die
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DSDL_ASSERTIONS=disabled
-		-DSDL_DBUS=$(usex dbus)
-		-DSDL_DEPS_SHARED=no # link rather than dlopen() where possible
-		-DSDL_LIBURING=$(usex io-uring)
-		-DSDL_RPATH=no
-		-DSDL_STATIC=no
-		-DSDL_TESTS=$(usex test)
-
-		# audio
-		-DSDL_ALSA=$(usex alsa)
-		-DSDL_JACK=$(usex jack)
-		-DSDL_OSS=$(usex oss)
-		-DSDL_PIPEWIRE=$(usex pipewire)
-		-DSDL_PULSEAUDIO=$(usex pulseaudio)
-		-DSDL_SNDIO=$(usex sndio)
-
-		# input
-		-DSDL_HIDAPI_LIBUSB=$(usex usb)
-		-DSDL_IBUS=$(use ibus)
-		-DSDL_LIBUDEV=$(usex udev)
-
-		# video
-		-DSDL_COCOA=$(usex aqua)
-		-DSDL_DIRECTX=no
-		-DSDL_KMSDRM=$(usex kms)
-		-DSDL_OPENGL=$(usex opengl)
-		-DSDL_OPENGLES=$(usex opengl)
-		-DSDL_OPENVR=$(usex opengl) # only dependency is libglvnd
-		-DSDL_ROCKCHIP=no
-		-DSDL_RPI=no
-		-DSDL_VIVANTE=no
-		-DSDL_VULKAN=$(usex vulkan)
-		-DSDL_WAYLAND=$(usex wayland)
-		-DSDL_X11=$(usex X)
-		# SDL disallows this by default, allow it but warn in pkg_postinst
-		$(use !X && use !wayland && echo -DSDL_UNIX_CONSOLE_BUILD=yes)
-
-		# cpu instruction sets
-		-DSDL_ALTIVEC=$(usex cpu_flags_ppc_altivec)
-		-DSDL_AVX=$(usex cpu_flags_x86_avx)
-		-DSDL_AVX2=$(usex cpu_flags_x86_avx2)
-		-DSDL_AVX512F=$(usex cpu_flags_x86_avx512f)
-		-DSDL_MMX=$(usex cpu_flags_x86_mmx)
-		-DSDL_SSE=$(usex cpu_flags_x86_sse)
-		-DSDL_SSE2=$(usex cpu_flags_x86_sse2)
-		-DSDL_SSE3=$(usex cpu_flags_x86_sse3)
-		-DSDL_SSE4_1=$(usex cpu_flags_x86_sse4_1)
-		-DSDL_SSE4_2=$(usex cpu_flags_x86_sse4_2)
-	)
-
-	cmake-multilib_src_configure
-}
-
-src_compile() {
-	cmake-multilib_src_compile
-
-	if use doc; then
-		cd docs && doxygen || die
-	fi
-}
-
-src_test() {
-	unset "${!SDL_@}" # ignore users' preferences for tests
-
-	cmake-multilib_src_test
-}
-
-src_install() {
-	local DOCS=( {BUGS,WhatsNew}.txt {CREDITS,README}.md docs/*.md )
-	cmake-multilib_src_install
-
-	rm -r -- "${ED}"/usr/share/licenses || die
-
-	use doc && dodoc -r docs/output/html/
-}
-
-pkg_postinst() {
-	# skipping audio/video can make sense given many packages only use SDL
-	# for input, but still warn given off-by-default and may be unexpected
-	if use !X && use !aqua && use !kms && use !wayland; then
-		ewarn
-		ewarn "All typical display drivers (e.g. USE=wayland) are disabled,"
-		ewarn "applications using SDL for display may not function properly."
-	fi
-
-	if use !alsa && use !jack && use !oss && use !pipewire &&
-		use !pulseaudio && use !sndio; then
-		ewarn
-		ewarn "All typical audio drivers (e.g. USE=pipewire) are disabled,"
-		ewarn "applications using SDL for audio may not function properly."
-	fi
-}


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-06-18 16:56 Jakov Smolić
  0 siblings, 0 replies; 25+ messages in thread
From: Jakov Smolić @ 2025-06-18 16:56 UTC (permalink / raw
  To: gentoo-commits

commit:     03fb8a67e87de460f701782920159870328d73c4
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 18 16:56:05 2025 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Jun 18 16:56:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03fb8a67

media-libs/libsdl3: Keyword 3.2.16 riscv, #958331

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 media-libs/libsdl3/libsdl3-3.2.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libsdl3/libsdl3-3.2.16.ebuild b/media-libs/libsdl3/libsdl3-3.2.16.ebuild
index 9b20804be369..544709015a39 100644
--- a/media-libs/libsdl3/libsdl3-3.2.16.ebuild
+++ b/media-libs/libsdl3/libsdl3-3.2.16.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/SDL3-${PV}
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~riscv ~x86"
 
 IUSE="
 	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-06-18 19:03 Sam James
  0 siblings, 0 replies; 25+ messages in thread
From: Sam James @ 2025-06-18 19:03 UTC (permalink / raw
  To: gentoo-commits

commit:     dd688fe86cb4742d5f9de4c0b7eaa4c1e4971b4e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 18 19:02:54 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 18 19:02:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd688fe8

media-libs/libsdl3: Keyword 3.2.16 arm, #958331

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

 media-libs/libsdl3/libsdl3-3.2.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libsdl3/libsdl3-3.2.16.ebuild b/media-libs/libsdl3/libsdl3-3.2.16.ebuild
index 544709015a39..7f0401889fe7 100644
--- a/media-libs/libsdl3/libsdl3-3.2.16.ebuild
+++ b/media-libs/libsdl3/libsdl3-3.2.16.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/SDL3-${PV}
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~riscv ~x86"
 
 IUSE="
 	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-06-18 19:03 Sam James
  0 siblings, 0 replies; 25+ messages in thread
From: Sam James @ 2025-06-18 19:03 UTC (permalink / raw
  To: gentoo-commits

commit:     a115fb3f3e275195707167a8e3e12d79521f6914
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 18 19:03:00 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 18 19:03:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a115fb3f

media-libs/libsdl3: Keyword 3.2.16 arm64, #958331

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

 media-libs/libsdl3/libsdl3-3.2.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libsdl3/libsdl3-3.2.16.ebuild b/media-libs/libsdl3/libsdl3-3.2.16.ebuild
index 7f0401889fe7..2ee13ff02164 100644
--- a/media-libs/libsdl3/libsdl3-3.2.16.ebuild
+++ b/media-libs/libsdl3/libsdl3-3.2.16.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/SDL3-${PV}
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 
 IUSE="
 	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-07-14 19:07 Ionen Wolkens
  0 siblings, 0 replies; 25+ messages in thread
From: Ionen Wolkens @ 2025-07-14 19:07 UTC (permalink / raw
  To: gentoo-commits

commit:     ceef00e5f8fe6d5ca3a02ffb8019304646be4917
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 14 19:05:33 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jul 14 19:05:38 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceef00e5

media-libs/libsdl3: add 3.2.18

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/libsdl3/Manifest              |   1 +
 media-libs/libsdl3/libsdl3-3.2.18.ebuild | 188 +++++++++++++++++++++++++++++++
 2 files changed, 189 insertions(+)

diff --git a/media-libs/libsdl3/Manifest b/media-libs/libsdl3/Manifest
index 05f1a00eb8e7..f6165a5a5a23 100644
--- a/media-libs/libsdl3/Manifest
+++ b/media-libs/libsdl3/Manifest
@@ -1 +1,2 @@
 DIST SDL3-3.2.16.tar.gz 15892772 BLAKE2B b39912ca801dddb9c28143971658bf1fcfb92a4dbacb2ed0157d6615cfb9c61d8924880eb449f9ef59c0d917f2142cc430ba535272054e90af903a1f9e154e89 SHA512 3f739ae884f69626e7033438cfebc9f549b9d4236713980a1b2e5470bb9eda19a17f68177fcbca074ce9c3adc8f38aaa562fe30514879715ed74451045256781
+DIST SDL3-3.2.18.tar.gz 15894658 BLAKE2B 615dc401b691f088a368cc0becc731f3fecc2a0114531cdb6a29c932dc59558c1884f8cedf9aabe024c37360c79d018e1300d619de67a58389bacf4ac1128043 SHA512 15e9dbf42f04355a4a6464032cea60eb349b88bf4d9ca288a4d303ef14516031a3afc6dc3bc578cd544ac22785156ec0f3c75d733e117643f8d6d8d3e74ec756

diff --git a/media-libs/libsdl3/libsdl3-3.2.18.ebuild b/media-libs/libsdl3/libsdl3-3.2.18.ebuild
new file mode 100644
index 000000000000..2ee13ff02164
--- /dev/null
+++ b/media-libs/libsdl3/libsdl3-3.2.18.ebuild
@@ -0,0 +1,188 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib dot-a
+
+DESCRIPTION="Simple Direct Media Layer"
+HOMEPAGE="https://www.libsdl.org/"
+SRC_URI="https://www.libsdl.org/release/SDL3-${PV}.tar.gz"
+S=${WORKDIR}/SDL3-${PV}
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+IUSE="
+	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire
+	pulseaudio sndio test udev usb vulkan wayland
+	cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2
+	cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse
+	cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1
+	cpu_flags_x86_sse4_2
+"
+REQUIRED_USE="
+	ibus? ( dbus )
+	kms? ( opengl )
+	wayland? ( opengl )
+"
+RESTRICT="!test? ( test )"
+
+# dlopen/dbus-only: dbus, ibus, libudev, liburing, vulkan-loader
+RDEPEND="
+	virtual/libiconv[${MULTILIB_USEDEP}]
+	X? (
+		x11-libs/libX11[${MULTILIB_USEDEP}]
+		x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
+		x11-libs/libXcursor[${MULTILIB_USEDEP}]
+		x11-libs/libXext[${MULTILIB_USEDEP}]
+		x11-libs/libXfixes[${MULTILIB_USEDEP}]
+		x11-libs/libXi[${MULTILIB_USEDEP}]
+		x11-libs/libXrandr[${MULTILIB_USEDEP}]
+	)
+	alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
+	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
+	ibus? ( app-i18n/ibus )
+	io-uring? ( sys-libs/liburing:=[${MULTILIB_USEDEP}] )
+	jack? ( virtual/jack[${MULTILIB_USEDEP}] )
+	kms? (
+		media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
+		x11-libs/libdrm[${MULTILIB_USEDEP}]
+	)
+	opengl? ( media-libs/libglvnd[X?,${MULTILIB_USEDEP}] )
+	pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] )
+	pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
+	sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
+	udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
+	usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
+	wayland? (
+		dev-libs/wayland[${MULTILIB_USEDEP}]
+		gui-libs/libdecor[${MULTILIB_USEDEP}]
+		x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
+	)
+	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
+"
+DEPEND="
+	${RDEPEND}
+	X? ( x11-base/xorg-proto )
+	test? (
+		dev-util/vulkan-headers
+		media-libs/libglvnd
+	)
+	vulkan? ( dev-util/vulkan-headers )
+"
+BDEPEND="
+	doc? (
+		app-text/doxygen
+		media-gfx/graphviz
+	)
+	wayland? ( dev-util/wayland-scanner )
+"
+
+src_prepare() {
+	cmake_src_prepare
+
+	# unbundle libglvnd and vulkan headers
+	rm -r src/video/khronos || die
+	ln -s -- "${ESYSROOT}"/usr/include src/video/khronos || die
+}
+
+src_configure() {
+	lto-guarantee-fat
+
+	local mycmakeargs=(
+		-DSDL_ASSERTIONS=disabled
+		-DSDL_DBUS=$(usex dbus)
+		-DSDL_DEPS_SHARED=no # link rather than dlopen() where possible
+		-DSDL_LIBURING=$(usex io-uring)
+		-DSDL_RPATH=no
+		-DSDL_STATIC=no
+		-DSDL_TESTS=$(usex test)
+
+		# audio
+		-DSDL_ALSA=$(usex alsa)
+		-DSDL_JACK=$(usex jack)
+		-DSDL_OSS=$(usex oss)
+		-DSDL_PIPEWIRE=$(usex pipewire)
+		-DSDL_PULSEAUDIO=$(usex pulseaudio)
+		-DSDL_SNDIO=$(usex sndio)
+
+		# input
+		-DSDL_HIDAPI_LIBUSB=$(usex usb)
+		-DSDL_IBUS=$(use ibus)
+		-DSDL_LIBUDEV=$(usex udev)
+
+		# video
+		-DSDL_COCOA=$(usex aqua)
+		-DSDL_DIRECTX=no
+		-DSDL_KMSDRM=$(usex kms)
+		-DSDL_OPENGL=$(usex opengl)
+		-DSDL_OPENGLES=$(usex opengl)
+		-DSDL_OPENVR=$(usex opengl) # only dependency is libglvnd
+		-DSDL_ROCKCHIP=no
+		-DSDL_RPI=no
+		-DSDL_VIVANTE=no
+		-DSDL_VULKAN=$(usex vulkan)
+		-DSDL_WAYLAND=$(usex wayland)
+		-DSDL_X11=$(usex X)
+		# SDL disallows this by default, allow it but warn in pkg_postinst
+		$(use !X && use !wayland && echo -DSDL_UNIX_CONSOLE_BUILD=yes)
+
+		# cpu instruction sets
+		-DSDL_ALTIVEC=$(usex cpu_flags_ppc_altivec)
+		-DSDL_AVX=$(usex cpu_flags_x86_avx)
+		-DSDL_AVX2=$(usex cpu_flags_x86_avx2)
+		-DSDL_AVX512F=$(usex cpu_flags_x86_avx512f)
+		-DSDL_MMX=$(usex cpu_flags_x86_mmx)
+		-DSDL_SSE=$(usex cpu_flags_x86_sse)
+		-DSDL_SSE2=$(usex cpu_flags_x86_sse2)
+		-DSDL_SSE3=$(usex cpu_flags_x86_sse3)
+		-DSDL_SSE4_1=$(usex cpu_flags_x86_sse4_1)
+		-DSDL_SSE4_2=$(usex cpu_flags_x86_sse4_2)
+	)
+
+	cmake-multilib_src_configure
+}
+
+src_compile() {
+	cmake-multilib_src_compile
+
+	if use doc; then
+		cd docs && doxygen || die
+	fi
+}
+
+src_test() {
+	unset "${!SDL_@}" # ignore users' preferences for tests
+
+	cmake-multilib_src_test
+}
+
+src_install() {
+	local DOCS=( {BUGS,WhatsNew}.txt {CREDITS,README}.md docs/*.md )
+	cmake-multilib_src_install
+
+	strip-lto-bytecode
+
+	rm -r -- "${ED}"/usr/share/licenses || die
+
+	use doc && dodoc -r docs/output/html/
+}
+
+pkg_postinst() {
+	# skipping audio/video can make sense given many packages only use SDL
+	# for input, but still warn given off-by-default and may be unexpected
+	if use !X && use !aqua && use !kms && use !wayland; then
+		ewarn
+		ewarn "All typical display drivers (e.g. USE=wayland) are disabled,"
+		ewarn "applications using SDL for display may not function properly."
+	fi
+
+	if use !alsa && use !jack && use !oss && use !pipewire &&
+		use !pulseaudio && use !sndio; then
+		ewarn
+		ewarn "All typical audio drivers (e.g. USE=pipewire) are disabled,"
+		ewarn "applications using SDL for audio may not function properly."
+	fi
+}


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-07-14 19:07 Ionen Wolkens
  0 siblings, 0 replies; 25+ messages in thread
From: Ionen Wolkens @ 2025-07-14 19:07 UTC (permalink / raw
  To: gentoo-commits

commit:     8a82d83d53da797dc51d265d93a95510a548e03d
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 14 19:00:04 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jul 14 19:05:38 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a82d83d

media-libs/libsdl3: drop 3.2.14

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/libsdl3/Manifest              |   1 -
 media-libs/libsdl3/libsdl3-3.2.14.ebuild | 184 -------------------------------
 2 files changed, 185 deletions(-)

diff --git a/media-libs/libsdl3/Manifest b/media-libs/libsdl3/Manifest
index 52ab8e65abdc..05f1a00eb8e7 100644
--- a/media-libs/libsdl3/Manifest
+++ b/media-libs/libsdl3/Manifest
@@ -1,2 +1 @@
-DIST SDL3-3.2.14.tar.gz 15888107 BLAKE2B 1b0787538f388b11f45e4cc69ee25386021374b29808c54576640139e043f7ae51bcede6f4782a61f389eac4a03b72b43817b5f86d2eda7c28ee755ba3899904 SHA512 7e501bda73cc7b42b860e6ba6f9a0450fdb5014f5999afa64ccd6b4eb633edf6646fd1e251d58189649755a883d7dd51e5bcc53e841974180ed73d56fb8e29cd
 DIST SDL3-3.2.16.tar.gz 15892772 BLAKE2B b39912ca801dddb9c28143971658bf1fcfb92a4dbacb2ed0157d6615cfb9c61d8924880eb449f9ef59c0d917f2142cc430ba535272054e90af903a1f9e154e89 SHA512 3f739ae884f69626e7033438cfebc9f549b9d4236713980a1b2e5470bb9eda19a17f68177fcbca074ce9c3adc8f38aaa562fe30514879715ed74451045256781

diff --git a/media-libs/libsdl3/libsdl3-3.2.14.ebuild b/media-libs/libsdl3/libsdl3-3.2.14.ebuild
deleted file mode 100644
index 9418c4946834..000000000000
--- a/media-libs/libsdl3/libsdl3-3.2.14.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib
-
-DESCRIPTION="Simple Direct Media Layer"
-HOMEPAGE="https://www.libsdl.org/"
-SRC_URI="https://www.libsdl.org/release/SDL3-${PV}.tar.gz"
-S=${WORKDIR}/SDL3-${PV}
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="
-	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire
-	pulseaudio sndio test udev usb vulkan wayland
-	cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2
-	cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse
-	cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1
-	cpu_flags_x86_sse4_2
-"
-REQUIRED_USE="
-	ibus? ( dbus )
-	kms? ( opengl )
-	wayland? ( opengl )
-"
-RESTRICT="!test? ( test )"
-
-# dlopen/dbus-only: dbus, ibus, libudev, liburing, vulkan-loader
-RDEPEND="
-	virtual/libiconv[${MULTILIB_USEDEP}]
-	X? (
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
-		x11-libs/libXcursor[${MULTILIB_USEDEP}]
-		x11-libs/libXext[${MULTILIB_USEDEP}]
-		x11-libs/libXfixes[${MULTILIB_USEDEP}]
-		x11-libs/libXi[${MULTILIB_USEDEP}]
-		x11-libs/libXrandr[${MULTILIB_USEDEP}]
-	)
-	alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
-	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
-	ibus? ( app-i18n/ibus )
-	io-uring? ( sys-libs/liburing:=[${MULTILIB_USEDEP}] )
-	jack? ( virtual/jack[${MULTILIB_USEDEP}] )
-	kms? (
-		media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
-		x11-libs/libdrm[${MULTILIB_USEDEP}]
-	)
-	opengl? ( media-libs/libglvnd[X?,${MULTILIB_USEDEP}] )
-	pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] )
-	pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
-	sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
-	udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
-	usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
-	wayland? (
-		dev-libs/wayland[${MULTILIB_USEDEP}]
-		gui-libs/libdecor[${MULTILIB_USEDEP}]
-		x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
-	)
-	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
-"
-DEPEND="
-	${RDEPEND}
-	X? ( x11-base/xorg-proto )
-	test? (
-		dev-util/vulkan-headers
-		media-libs/libglvnd
-	)
-	vulkan? ( dev-util/vulkan-headers )
-"
-BDEPEND="
-	doc? (
-		app-text/doxygen
-		media-gfx/graphviz
-	)
-	wayland? ( dev-util/wayland-scanner )
-"
-
-src_prepare() {
-	cmake_src_prepare
-
-	# unbundle libglvnd and vulkan headers
-	rm -r src/video/khronos || die
-	ln -s -- "${ESYSROOT}"/usr/include src/video/khronos || die
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DSDL_ASSERTIONS=disabled
-		-DSDL_DBUS=$(usex dbus)
-		-DSDL_DEPS_SHARED=no # link rather than dlopen() where possible
-		-DSDL_LIBURING=$(usex io-uring)
-		-DSDL_RPATH=no
-		-DSDL_STATIC=no
-		-DSDL_TESTS=$(usex test)
-
-		# audio
-		-DSDL_ALSA=$(usex alsa)
-		-DSDL_JACK=$(usex jack)
-		-DSDL_OSS=$(usex oss)
-		-DSDL_PIPEWIRE=$(usex pipewire)
-		-DSDL_PULSEAUDIO=$(usex pulseaudio)
-		-DSDL_SNDIO=$(usex sndio)
-
-		# input
-		-DSDL_HIDAPI_LIBUSB=$(usex usb)
-		-DSDL_IBUS=$(use ibus)
-		-DSDL_LIBUDEV=$(usex udev)
-
-		# video
-		-DSDL_COCOA=$(usex aqua)
-		-DSDL_DIRECTX=no
-		-DSDL_KMSDRM=$(usex kms)
-		-DSDL_OPENGL=$(usex opengl)
-		-DSDL_OPENGLES=$(usex opengl)
-		-DSDL_OPENVR=$(usex opengl) # only dependency is libglvnd
-		-DSDL_ROCKCHIP=no
-		-DSDL_RPI=no
-		-DSDL_VIVANTE=no
-		-DSDL_VULKAN=$(usex vulkan)
-		-DSDL_WAYLAND=$(usex wayland)
-		-DSDL_X11=$(usex X)
-		# SDL disallows this by default, allow it but warn in pkg_postinst
-		$(use !X && use !wayland && echo -DSDL_UNIX_CONSOLE_BUILD=yes)
-
-		# cpu instruction sets
-		-DSDL_ALTIVEC=$(usex cpu_flags_ppc_altivec)
-		-DSDL_AVX=$(usex cpu_flags_x86_avx)
-		-DSDL_AVX2=$(usex cpu_flags_x86_avx2)
-		-DSDL_AVX512F=$(usex cpu_flags_x86_avx512f)
-		-DSDL_MMX=$(usex cpu_flags_x86_mmx)
-		-DSDL_SSE=$(usex cpu_flags_x86_sse)
-		-DSDL_SSE2=$(usex cpu_flags_x86_sse2)
-		-DSDL_SSE3=$(usex cpu_flags_x86_sse3)
-		-DSDL_SSE4_1=$(usex cpu_flags_x86_sse4_1)
-		-DSDL_SSE4_2=$(usex cpu_flags_x86_sse4_2)
-	)
-
-	cmake-multilib_src_configure
-}
-
-src_compile() {
-	cmake-multilib_src_compile
-
-	if use doc; then
-		cd docs && doxygen || die
-	fi
-}
-
-src_test() {
-	unset "${!SDL_@}" # ignore users' preferences for tests
-
-	cmake-multilib_src_test
-}
-
-src_install() {
-	local DOCS=( {BUGS,WhatsNew}.txt {CREDITS,README}.md docs/*.md )
-	cmake-multilib_src_install
-
-	rm -r -- "${ED}"/usr/share/licenses || die
-
-	use doc && dodoc -r docs/output/html/
-}
-
-pkg_postinst() {
-	# skipping audio/video can make sense given many packages only use SDL
-	# for input, but still warn given off-by-default and may be unexpected
-	if use !X && use !aqua && use !kms && use !wayland; then
-		ewarn
-		ewarn "All typical display drivers (e.g. USE=wayland) are disabled,"
-		ewarn "applications using SDL for display may not function properly."
-	fi
-
-	if use !alsa && use !jack && use !oss && use !pipewire &&
-		use !pulseaudio && use !sndio; then
-		ewarn
-		ewarn "All typical audio drivers (e.g. USE=pipewire) are disabled,"
-		ewarn "applications using SDL for audio may not function properly."
-	fi
-}


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-07-25  4:46 Sam James
  0 siblings, 0 replies; 25+ messages in thread
From: Sam James @ 2025-07-25  4:46 UTC (permalink / raw
  To: gentoo-commits

commit:     8d7226a2b862170356d9effd411085dd91d099c7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 25 04:44:08 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 25 04:44:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d7226a2

media-libs/libsdl3: Keyword 3.2.18 hppa, #958331

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

 media-libs/libsdl3/libsdl3-3.2.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libsdl3/libsdl3-3.2.18.ebuild b/media-libs/libsdl3/libsdl3-3.2.18.ebuild
index 2ee13ff02164..8952a996cd97 100644
--- a/media-libs/libsdl3/libsdl3-3.2.18.ebuild
+++ b/media-libs/libsdl3/libsdl3-3.2.18.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/SDL3-${PV}
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~x86"
 
 IUSE="
 	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-07-25  4:46 Sam James
  0 siblings, 0 replies; 25+ messages in thread
From: Sam James @ 2025-07-25  4:46 UTC (permalink / raw
  To: gentoo-commits

commit:     51ebc6dbe0ff645ce15d9fb98b15a44ee94a293c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 25 04:44:12 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 25 04:44:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51ebc6db

media-libs/libsdl3: Keyword 3.2.18 ppc, #958331

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

 media-libs/libsdl3/libsdl3-3.2.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libsdl3/libsdl3-3.2.18.ebuild b/media-libs/libsdl3/libsdl3-3.2.18.ebuild
index 8952a996cd97..135336e108a3 100644
--- a/media-libs/libsdl3/libsdl3-3.2.18.ebuild
+++ b/media-libs/libsdl3/libsdl3-3.2.18.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/SDL3-${PV}
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~riscv ~x86"
 
 IUSE="
 	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-07-25  4:46 Sam James
  0 siblings, 0 replies; 25+ messages in thread
From: Sam James @ 2025-07-25  4:46 UTC (permalink / raw
  To: gentoo-commits

commit:     1de4c39224fa0b21e56e569a4d9ec7d9c8c6bda6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 25 04:44:20 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 25 04:44:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1de4c392

media-libs/libsdl3: Keyword 3.2.18 ppc64, #958331

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

 media-libs/libsdl3/libsdl3-3.2.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libsdl3/libsdl3-3.2.18.ebuild b/media-libs/libsdl3/libsdl3-3.2.18.ebuild
index 135336e108a3..70a7c9f4815d 100644
--- a/media-libs/libsdl3/libsdl3-3.2.18.ebuild
+++ b/media-libs/libsdl3/libsdl3-3.2.18.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/SDL3-${PV}
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
 
 IUSE="
 	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-07-25  4:46 Sam James
  0 siblings, 0 replies; 25+ messages in thread
From: Sam James @ 2025-07-25  4:46 UTC (permalink / raw
  To: gentoo-commits

commit:     11e282959b888019cb72aa1ad443902b338c6909
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 25 04:44:30 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 25 04:44:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11e28295

media-libs/libsdl3: Keyword 3.2.18 sparc, #958331

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

 media-libs/libsdl3/libsdl3-3.2.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libsdl3/libsdl3-3.2.18.ebuild b/media-libs/libsdl3/libsdl3-3.2.18.ebuild
index 70a7c9f4815d..15046f0c6f95 100644
--- a/media-libs/libsdl3/libsdl3-3.2.18.ebuild
+++ b/media-libs/libsdl3/libsdl3-3.2.18.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/SDL3-${PV}
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
 
 IUSE="
 	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-08-05  1:30 Ionen Wolkens
  0 siblings, 0 replies; 25+ messages in thread
From: Ionen Wolkens @ 2025-08-05  1:30 UTC (permalink / raw
  To: gentoo-commits

commit:     fefc171d9ab53174e8f809a1319d3dcba4f72901
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  5 01:28:02 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Aug  5 01:30:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fefc171d

media-libs/libsdl3: add 3.2.20

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/libsdl3/Manifest              |   1 +
 media-libs/libsdl3/libsdl3-3.2.20.ebuild | 188 +++++++++++++++++++++++++++++++
 2 files changed, 189 insertions(+)

diff --git a/media-libs/libsdl3/Manifest b/media-libs/libsdl3/Manifest
index f6165a5a5a23..302cc45d1784 100644
--- a/media-libs/libsdl3/Manifest
+++ b/media-libs/libsdl3/Manifest
@@ -1,2 +1,3 @@
 DIST SDL3-3.2.16.tar.gz 15892772 BLAKE2B b39912ca801dddb9c28143971658bf1fcfb92a4dbacb2ed0157d6615cfb9c61d8924880eb449f9ef59c0d917f2142cc430ba535272054e90af903a1f9e154e89 SHA512 3f739ae884f69626e7033438cfebc9f549b9d4236713980a1b2e5470bb9eda19a17f68177fcbca074ce9c3adc8f38aaa562fe30514879715ed74451045256781
 DIST SDL3-3.2.18.tar.gz 15894658 BLAKE2B 615dc401b691f088a368cc0becc731f3fecc2a0114531cdb6a29c932dc59558c1884f8cedf9aabe024c37360c79d018e1300d619de67a58389bacf4ac1128043 SHA512 15e9dbf42f04355a4a6464032cea60eb349b88bf4d9ca288a4d303ef14516031a3afc6dc3bc578cd544ac22785156ec0f3c75d733e117643f8d6d8d3e74ec756
+DIST SDL3-3.2.20.tar.gz 15895143 BLAKE2B 343b7f7c4569607efbf1cadfcbc23f328fe78a5e9b8c07ad0010d7333f6654e2595252ab17d0dbfb5bf9b4e93914ffc1167bcb523c526d448001b700d8e7af81 SHA512 ce3fbf7cb04c90e1a8e7769538543b4ad98673e6a0801410c2505d686375bc33392330852db6b84d53d09535a29fea8addb2b9f3680f6887e57d99c12e61b4c8

diff --git a/media-libs/libsdl3/libsdl3-3.2.20.ebuild b/media-libs/libsdl3/libsdl3-3.2.20.ebuild
new file mode 100644
index 000000000000..15046f0c6f95
--- /dev/null
+++ b/media-libs/libsdl3/libsdl3-3.2.20.ebuild
@@ -0,0 +1,188 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib dot-a
+
+DESCRIPTION="Simple Direct Media Layer"
+HOMEPAGE="https://www.libsdl.org/"
+SRC_URI="https://www.libsdl.org/release/SDL3-${PV}.tar.gz"
+S=${WORKDIR}/SDL3-${PV}
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+IUSE="
+	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire
+	pulseaudio sndio test udev usb vulkan wayland
+	cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2
+	cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse
+	cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1
+	cpu_flags_x86_sse4_2
+"
+REQUIRED_USE="
+	ibus? ( dbus )
+	kms? ( opengl )
+	wayland? ( opengl )
+"
+RESTRICT="!test? ( test )"
+
+# dlopen/dbus-only: dbus, ibus, libudev, liburing, vulkan-loader
+RDEPEND="
+	virtual/libiconv[${MULTILIB_USEDEP}]
+	X? (
+		x11-libs/libX11[${MULTILIB_USEDEP}]
+		x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
+		x11-libs/libXcursor[${MULTILIB_USEDEP}]
+		x11-libs/libXext[${MULTILIB_USEDEP}]
+		x11-libs/libXfixes[${MULTILIB_USEDEP}]
+		x11-libs/libXi[${MULTILIB_USEDEP}]
+		x11-libs/libXrandr[${MULTILIB_USEDEP}]
+	)
+	alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
+	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
+	ibus? ( app-i18n/ibus )
+	io-uring? ( sys-libs/liburing:=[${MULTILIB_USEDEP}] )
+	jack? ( virtual/jack[${MULTILIB_USEDEP}] )
+	kms? (
+		media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
+		x11-libs/libdrm[${MULTILIB_USEDEP}]
+	)
+	opengl? ( media-libs/libglvnd[X?,${MULTILIB_USEDEP}] )
+	pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] )
+	pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
+	sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
+	udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
+	usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
+	wayland? (
+		dev-libs/wayland[${MULTILIB_USEDEP}]
+		gui-libs/libdecor[${MULTILIB_USEDEP}]
+		x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
+	)
+	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
+"
+DEPEND="
+	${RDEPEND}
+	X? ( x11-base/xorg-proto )
+	test? (
+		dev-util/vulkan-headers
+		media-libs/libglvnd
+	)
+	vulkan? ( dev-util/vulkan-headers )
+"
+BDEPEND="
+	doc? (
+		app-text/doxygen
+		media-gfx/graphviz
+	)
+	wayland? ( dev-util/wayland-scanner )
+"
+
+src_prepare() {
+	cmake_src_prepare
+
+	# unbundle libglvnd and vulkan headers
+	rm -r src/video/khronos || die
+	ln -s -- "${ESYSROOT}"/usr/include src/video/khronos || die
+}
+
+src_configure() {
+	lto-guarantee-fat
+
+	local mycmakeargs=(
+		-DSDL_ASSERTIONS=disabled
+		-DSDL_DBUS=$(usex dbus)
+		-DSDL_DEPS_SHARED=no # link rather than dlopen() where possible
+		-DSDL_LIBURING=$(usex io-uring)
+		-DSDL_RPATH=no
+		-DSDL_STATIC=no
+		-DSDL_TESTS=$(usex test)
+
+		# audio
+		-DSDL_ALSA=$(usex alsa)
+		-DSDL_JACK=$(usex jack)
+		-DSDL_OSS=$(usex oss)
+		-DSDL_PIPEWIRE=$(usex pipewire)
+		-DSDL_PULSEAUDIO=$(usex pulseaudio)
+		-DSDL_SNDIO=$(usex sndio)
+
+		# input
+		-DSDL_HIDAPI_LIBUSB=$(usex usb)
+		-DSDL_IBUS=$(use ibus)
+		-DSDL_LIBUDEV=$(usex udev)
+
+		# video
+		-DSDL_COCOA=$(usex aqua)
+		-DSDL_DIRECTX=no
+		-DSDL_KMSDRM=$(usex kms)
+		-DSDL_OPENGL=$(usex opengl)
+		-DSDL_OPENGLES=$(usex opengl)
+		-DSDL_OPENVR=$(usex opengl) # only dependency is libglvnd
+		-DSDL_ROCKCHIP=no
+		-DSDL_RPI=no
+		-DSDL_VIVANTE=no
+		-DSDL_VULKAN=$(usex vulkan)
+		-DSDL_WAYLAND=$(usex wayland)
+		-DSDL_X11=$(usex X)
+		# SDL disallows this by default, allow it but warn in pkg_postinst
+		$(use !X && use !wayland && echo -DSDL_UNIX_CONSOLE_BUILD=yes)
+
+		# cpu instruction sets
+		-DSDL_ALTIVEC=$(usex cpu_flags_ppc_altivec)
+		-DSDL_AVX=$(usex cpu_flags_x86_avx)
+		-DSDL_AVX2=$(usex cpu_flags_x86_avx2)
+		-DSDL_AVX512F=$(usex cpu_flags_x86_avx512f)
+		-DSDL_MMX=$(usex cpu_flags_x86_mmx)
+		-DSDL_SSE=$(usex cpu_flags_x86_sse)
+		-DSDL_SSE2=$(usex cpu_flags_x86_sse2)
+		-DSDL_SSE3=$(usex cpu_flags_x86_sse3)
+		-DSDL_SSE4_1=$(usex cpu_flags_x86_sse4_1)
+		-DSDL_SSE4_2=$(usex cpu_flags_x86_sse4_2)
+	)
+
+	cmake-multilib_src_configure
+}
+
+src_compile() {
+	cmake-multilib_src_compile
+
+	if use doc; then
+		cd docs && doxygen || die
+	fi
+}
+
+src_test() {
+	unset "${!SDL_@}" # ignore users' preferences for tests
+
+	cmake-multilib_src_test
+}
+
+src_install() {
+	local DOCS=( {BUGS,WhatsNew}.txt {CREDITS,README}.md docs/*.md )
+	cmake-multilib_src_install
+
+	strip-lto-bytecode
+
+	rm -r -- "${ED}"/usr/share/licenses || die
+
+	use doc && dodoc -r docs/output/html/
+}
+
+pkg_postinst() {
+	# skipping audio/video can make sense given many packages only use SDL
+	# for input, but still warn given off-by-default and may be unexpected
+	if use !X && use !aqua && use !kms && use !wayland; then
+		ewarn
+		ewarn "All typical display drivers (e.g. USE=wayland) are disabled,"
+		ewarn "applications using SDL for display may not function properly."
+	fi
+
+	if use !alsa && use !jack && use !oss && use !pipewire &&
+		use !pulseaudio && use !sndio; then
+		ewarn
+		ewarn "All typical audio drivers (e.g. USE=pipewire) are disabled,"
+		ewarn "applications using SDL for audio may not function properly."
+	fi
+}


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-08-10 22:47 Ionen Wolkens
  0 siblings, 0 replies; 25+ messages in thread
From: Ionen Wolkens @ 2025-08-10 22:47 UTC (permalink / raw
  To: gentoo-commits

commit:     a53593c46271d6adf465496998980cd20ce265f5
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 10 22:41:16 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Aug 10 22:41:16 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a53593c4

media-libs/libsdl3: Stabilize 3.2.20 amd64, #960687

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/libsdl3/libsdl3-3.2.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libsdl3/libsdl3-3.2.20.ebuild b/media-libs/libsdl3/libsdl3-3.2.20.ebuild
index 15046f0c6f95..24973303b2cd 100644
--- a/media-libs/libsdl3/libsdl3-3.2.20.ebuild
+++ b/media-libs/libsdl3/libsdl3-3.2.20.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/SDL3-${PV}
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
 
 IUSE="
 	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-08-10 23:35 Sam James
  0 siblings, 0 replies; 25+ messages in thread
From: Sam James @ 2025-08-10 23:35 UTC (permalink / raw
  To: gentoo-commits

commit:     bb1b3e9085110e44b90d038ff1ea1ddb743f3e97
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 10 23:35:03 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 10 23:35:03 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb1b3e90

media-libs/libsdl3: Stabilize 3.2.20 x86, #961304

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

 media-libs/libsdl3/libsdl3-3.2.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libsdl3/libsdl3-3.2.20.ebuild b/media-libs/libsdl3/libsdl3-3.2.20.ebuild
index 24973303b2cd..2f4871b850d2 100644
--- a/media-libs/libsdl3/libsdl3-3.2.20.ebuild
+++ b/media-libs/libsdl3/libsdl3-3.2.20.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/SDL3-${PV}
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
 
 IUSE="
 	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-09-02  3:45 Ionen Wolkens
  0 siblings, 0 replies; 25+ messages in thread
From: Ionen Wolkens @ 2025-09-02  3:45 UTC (permalink / raw
  To: gentoo-commits

commit:     0721dadc43986a2272fcf276e8bd2198f87401bc
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  2 02:47:08 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Sep  2 03:44:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0721dadc

media-libs/libsdl3: drop 3.2.16, 3.2.18

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/libsdl3/Manifest              |   2 -
 media-libs/libsdl3/libsdl3-3.2.16.ebuild | 188 -------------------------------
 media-libs/libsdl3/libsdl3-3.2.18.ebuild | 188 -------------------------------
 3 files changed, 378 deletions(-)

diff --git a/media-libs/libsdl3/Manifest b/media-libs/libsdl3/Manifest
index 302cc45d1784..8f75a2222864 100644
--- a/media-libs/libsdl3/Manifest
+++ b/media-libs/libsdl3/Manifest
@@ -1,3 +1 @@
-DIST SDL3-3.2.16.tar.gz 15892772 BLAKE2B b39912ca801dddb9c28143971658bf1fcfb92a4dbacb2ed0157d6615cfb9c61d8924880eb449f9ef59c0d917f2142cc430ba535272054e90af903a1f9e154e89 SHA512 3f739ae884f69626e7033438cfebc9f549b9d4236713980a1b2e5470bb9eda19a17f68177fcbca074ce9c3adc8f38aaa562fe30514879715ed74451045256781
-DIST SDL3-3.2.18.tar.gz 15894658 BLAKE2B 615dc401b691f088a368cc0becc731f3fecc2a0114531cdb6a29c932dc59558c1884f8cedf9aabe024c37360c79d018e1300d619de67a58389bacf4ac1128043 SHA512 15e9dbf42f04355a4a6464032cea60eb349b88bf4d9ca288a4d303ef14516031a3afc6dc3bc578cd544ac22785156ec0f3c75d733e117643f8d6d8d3e74ec756
 DIST SDL3-3.2.20.tar.gz 15895143 BLAKE2B 343b7f7c4569607efbf1cadfcbc23f328fe78a5e9b8c07ad0010d7333f6654e2595252ab17d0dbfb5bf9b4e93914ffc1167bcb523c526d448001b700d8e7af81 SHA512 ce3fbf7cb04c90e1a8e7769538543b4ad98673e6a0801410c2505d686375bc33392330852db6b84d53d09535a29fea8addb2b9f3680f6887e57d99c12e61b4c8

diff --git a/media-libs/libsdl3/libsdl3-3.2.16.ebuild b/media-libs/libsdl3/libsdl3-3.2.16.ebuild
deleted file mode 100644
index 2ee13ff02164..000000000000
--- a/media-libs/libsdl3/libsdl3-3.2.16.ebuild
+++ /dev/null
@@ -1,188 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib dot-a
-
-DESCRIPTION="Simple Direct Media Layer"
-HOMEPAGE="https://www.libsdl.org/"
-SRC_URI="https://www.libsdl.org/release/SDL3-${PV}.tar.gz"
-S=${WORKDIR}/SDL3-${PV}
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-
-IUSE="
-	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire
-	pulseaudio sndio test udev usb vulkan wayland
-	cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2
-	cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse
-	cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1
-	cpu_flags_x86_sse4_2
-"
-REQUIRED_USE="
-	ibus? ( dbus )
-	kms? ( opengl )
-	wayland? ( opengl )
-"
-RESTRICT="!test? ( test )"
-
-# dlopen/dbus-only: dbus, ibus, libudev, liburing, vulkan-loader
-RDEPEND="
-	virtual/libiconv[${MULTILIB_USEDEP}]
-	X? (
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
-		x11-libs/libXcursor[${MULTILIB_USEDEP}]
-		x11-libs/libXext[${MULTILIB_USEDEP}]
-		x11-libs/libXfixes[${MULTILIB_USEDEP}]
-		x11-libs/libXi[${MULTILIB_USEDEP}]
-		x11-libs/libXrandr[${MULTILIB_USEDEP}]
-	)
-	alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
-	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
-	ibus? ( app-i18n/ibus )
-	io-uring? ( sys-libs/liburing:=[${MULTILIB_USEDEP}] )
-	jack? ( virtual/jack[${MULTILIB_USEDEP}] )
-	kms? (
-		media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
-		x11-libs/libdrm[${MULTILIB_USEDEP}]
-	)
-	opengl? ( media-libs/libglvnd[X?,${MULTILIB_USEDEP}] )
-	pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] )
-	pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
-	sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
-	udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
-	usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
-	wayland? (
-		dev-libs/wayland[${MULTILIB_USEDEP}]
-		gui-libs/libdecor[${MULTILIB_USEDEP}]
-		x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
-	)
-	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
-"
-DEPEND="
-	${RDEPEND}
-	X? ( x11-base/xorg-proto )
-	test? (
-		dev-util/vulkan-headers
-		media-libs/libglvnd
-	)
-	vulkan? ( dev-util/vulkan-headers )
-"
-BDEPEND="
-	doc? (
-		app-text/doxygen
-		media-gfx/graphviz
-	)
-	wayland? ( dev-util/wayland-scanner )
-"
-
-src_prepare() {
-	cmake_src_prepare
-
-	# unbundle libglvnd and vulkan headers
-	rm -r src/video/khronos || die
-	ln -s -- "${ESYSROOT}"/usr/include src/video/khronos || die
-}
-
-src_configure() {
-	lto-guarantee-fat
-
-	local mycmakeargs=(
-		-DSDL_ASSERTIONS=disabled
-		-DSDL_DBUS=$(usex dbus)
-		-DSDL_DEPS_SHARED=no # link rather than dlopen() where possible
-		-DSDL_LIBURING=$(usex io-uring)
-		-DSDL_RPATH=no
-		-DSDL_STATIC=no
-		-DSDL_TESTS=$(usex test)
-
-		# audio
-		-DSDL_ALSA=$(usex alsa)
-		-DSDL_JACK=$(usex jack)
-		-DSDL_OSS=$(usex oss)
-		-DSDL_PIPEWIRE=$(usex pipewire)
-		-DSDL_PULSEAUDIO=$(usex pulseaudio)
-		-DSDL_SNDIO=$(usex sndio)
-
-		# input
-		-DSDL_HIDAPI_LIBUSB=$(usex usb)
-		-DSDL_IBUS=$(use ibus)
-		-DSDL_LIBUDEV=$(usex udev)
-
-		# video
-		-DSDL_COCOA=$(usex aqua)
-		-DSDL_DIRECTX=no
-		-DSDL_KMSDRM=$(usex kms)
-		-DSDL_OPENGL=$(usex opengl)
-		-DSDL_OPENGLES=$(usex opengl)
-		-DSDL_OPENVR=$(usex opengl) # only dependency is libglvnd
-		-DSDL_ROCKCHIP=no
-		-DSDL_RPI=no
-		-DSDL_VIVANTE=no
-		-DSDL_VULKAN=$(usex vulkan)
-		-DSDL_WAYLAND=$(usex wayland)
-		-DSDL_X11=$(usex X)
-		# SDL disallows this by default, allow it but warn in pkg_postinst
-		$(use !X && use !wayland && echo -DSDL_UNIX_CONSOLE_BUILD=yes)
-
-		# cpu instruction sets
-		-DSDL_ALTIVEC=$(usex cpu_flags_ppc_altivec)
-		-DSDL_AVX=$(usex cpu_flags_x86_avx)
-		-DSDL_AVX2=$(usex cpu_flags_x86_avx2)
-		-DSDL_AVX512F=$(usex cpu_flags_x86_avx512f)
-		-DSDL_MMX=$(usex cpu_flags_x86_mmx)
-		-DSDL_SSE=$(usex cpu_flags_x86_sse)
-		-DSDL_SSE2=$(usex cpu_flags_x86_sse2)
-		-DSDL_SSE3=$(usex cpu_flags_x86_sse3)
-		-DSDL_SSE4_1=$(usex cpu_flags_x86_sse4_1)
-		-DSDL_SSE4_2=$(usex cpu_flags_x86_sse4_2)
-	)
-
-	cmake-multilib_src_configure
-}
-
-src_compile() {
-	cmake-multilib_src_compile
-
-	if use doc; then
-		cd docs && doxygen || die
-	fi
-}
-
-src_test() {
-	unset "${!SDL_@}" # ignore users' preferences for tests
-
-	cmake-multilib_src_test
-}
-
-src_install() {
-	local DOCS=( {BUGS,WhatsNew}.txt {CREDITS,README}.md docs/*.md )
-	cmake-multilib_src_install
-
-	strip-lto-bytecode
-
-	rm -r -- "${ED}"/usr/share/licenses || die
-
-	use doc && dodoc -r docs/output/html/
-}
-
-pkg_postinst() {
-	# skipping audio/video can make sense given many packages only use SDL
-	# for input, but still warn given off-by-default and may be unexpected
-	if use !X && use !aqua && use !kms && use !wayland; then
-		ewarn
-		ewarn "All typical display drivers (e.g. USE=wayland) are disabled,"
-		ewarn "applications using SDL for display may not function properly."
-	fi
-
-	if use !alsa && use !jack && use !oss && use !pipewire &&
-		use !pulseaudio && use !sndio; then
-		ewarn
-		ewarn "All typical audio drivers (e.g. USE=pipewire) are disabled,"
-		ewarn "applications using SDL for audio may not function properly."
-	fi
-}

diff --git a/media-libs/libsdl3/libsdl3-3.2.18.ebuild b/media-libs/libsdl3/libsdl3-3.2.18.ebuild
deleted file mode 100644
index 15046f0c6f95..000000000000
--- a/media-libs/libsdl3/libsdl3-3.2.18.ebuild
+++ /dev/null
@@ -1,188 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake-multilib dot-a
-
-DESCRIPTION="Simple Direct Media Layer"
-HOMEPAGE="https://www.libsdl.org/"
-SRC_URI="https://www.libsdl.org/release/SDL3-${PV}.tar.gz"
-S=${WORKDIR}/SDL3-${PV}
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
-
-IUSE="
-	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire
-	pulseaudio sndio test udev usb vulkan wayland
-	cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2
-	cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse
-	cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1
-	cpu_flags_x86_sse4_2
-"
-REQUIRED_USE="
-	ibus? ( dbus )
-	kms? ( opengl )
-	wayland? ( opengl )
-"
-RESTRICT="!test? ( test )"
-
-# dlopen/dbus-only: dbus, ibus, libudev, liburing, vulkan-loader
-RDEPEND="
-	virtual/libiconv[${MULTILIB_USEDEP}]
-	X? (
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
-		x11-libs/libXcursor[${MULTILIB_USEDEP}]
-		x11-libs/libXext[${MULTILIB_USEDEP}]
-		x11-libs/libXfixes[${MULTILIB_USEDEP}]
-		x11-libs/libXi[${MULTILIB_USEDEP}]
-		x11-libs/libXrandr[${MULTILIB_USEDEP}]
-	)
-	alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
-	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
-	ibus? ( app-i18n/ibus )
-	io-uring? ( sys-libs/liburing:=[${MULTILIB_USEDEP}] )
-	jack? ( virtual/jack[${MULTILIB_USEDEP}] )
-	kms? (
-		media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
-		x11-libs/libdrm[${MULTILIB_USEDEP}]
-	)
-	opengl? ( media-libs/libglvnd[X?,${MULTILIB_USEDEP}] )
-	pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] )
-	pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
-	sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
-	udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
-	usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
-	wayland? (
-		dev-libs/wayland[${MULTILIB_USEDEP}]
-		gui-libs/libdecor[${MULTILIB_USEDEP}]
-		x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
-	)
-	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
-"
-DEPEND="
-	${RDEPEND}
-	X? ( x11-base/xorg-proto )
-	test? (
-		dev-util/vulkan-headers
-		media-libs/libglvnd
-	)
-	vulkan? ( dev-util/vulkan-headers )
-"
-BDEPEND="
-	doc? (
-		app-text/doxygen
-		media-gfx/graphviz
-	)
-	wayland? ( dev-util/wayland-scanner )
-"
-
-src_prepare() {
-	cmake_src_prepare
-
-	# unbundle libglvnd and vulkan headers
-	rm -r src/video/khronos || die
-	ln -s -- "${ESYSROOT}"/usr/include src/video/khronos || die
-}
-
-src_configure() {
-	lto-guarantee-fat
-
-	local mycmakeargs=(
-		-DSDL_ASSERTIONS=disabled
-		-DSDL_DBUS=$(usex dbus)
-		-DSDL_DEPS_SHARED=no # link rather than dlopen() where possible
-		-DSDL_LIBURING=$(usex io-uring)
-		-DSDL_RPATH=no
-		-DSDL_STATIC=no
-		-DSDL_TESTS=$(usex test)
-
-		# audio
-		-DSDL_ALSA=$(usex alsa)
-		-DSDL_JACK=$(usex jack)
-		-DSDL_OSS=$(usex oss)
-		-DSDL_PIPEWIRE=$(usex pipewire)
-		-DSDL_PULSEAUDIO=$(usex pulseaudio)
-		-DSDL_SNDIO=$(usex sndio)
-
-		# input
-		-DSDL_HIDAPI_LIBUSB=$(usex usb)
-		-DSDL_IBUS=$(use ibus)
-		-DSDL_LIBUDEV=$(usex udev)
-
-		# video
-		-DSDL_COCOA=$(usex aqua)
-		-DSDL_DIRECTX=no
-		-DSDL_KMSDRM=$(usex kms)
-		-DSDL_OPENGL=$(usex opengl)
-		-DSDL_OPENGLES=$(usex opengl)
-		-DSDL_OPENVR=$(usex opengl) # only dependency is libglvnd
-		-DSDL_ROCKCHIP=no
-		-DSDL_RPI=no
-		-DSDL_VIVANTE=no
-		-DSDL_VULKAN=$(usex vulkan)
-		-DSDL_WAYLAND=$(usex wayland)
-		-DSDL_X11=$(usex X)
-		# SDL disallows this by default, allow it but warn in pkg_postinst
-		$(use !X && use !wayland && echo -DSDL_UNIX_CONSOLE_BUILD=yes)
-
-		# cpu instruction sets
-		-DSDL_ALTIVEC=$(usex cpu_flags_ppc_altivec)
-		-DSDL_AVX=$(usex cpu_flags_x86_avx)
-		-DSDL_AVX2=$(usex cpu_flags_x86_avx2)
-		-DSDL_AVX512F=$(usex cpu_flags_x86_avx512f)
-		-DSDL_MMX=$(usex cpu_flags_x86_mmx)
-		-DSDL_SSE=$(usex cpu_flags_x86_sse)
-		-DSDL_SSE2=$(usex cpu_flags_x86_sse2)
-		-DSDL_SSE3=$(usex cpu_flags_x86_sse3)
-		-DSDL_SSE4_1=$(usex cpu_flags_x86_sse4_1)
-		-DSDL_SSE4_2=$(usex cpu_flags_x86_sse4_2)
-	)
-
-	cmake-multilib_src_configure
-}
-
-src_compile() {
-	cmake-multilib_src_compile
-
-	if use doc; then
-		cd docs && doxygen || die
-	fi
-}
-
-src_test() {
-	unset "${!SDL_@}" # ignore users' preferences for tests
-
-	cmake-multilib_src_test
-}
-
-src_install() {
-	local DOCS=( {BUGS,WhatsNew}.txt {CREDITS,README}.md docs/*.md )
-	cmake-multilib_src_install
-
-	strip-lto-bytecode
-
-	rm -r -- "${ED}"/usr/share/licenses || die
-
-	use doc && dodoc -r docs/output/html/
-}
-
-pkg_postinst() {
-	# skipping audio/video can make sense given many packages only use SDL
-	# for input, but still warn given off-by-default and may be unexpected
-	if use !X && use !aqua && use !kms && use !wayland; then
-		ewarn
-		ewarn "All typical display drivers (e.g. USE=wayland) are disabled,"
-		ewarn "applications using SDL for display may not function properly."
-	fi
-
-	if use !alsa && use !jack && use !oss && use !pipewire &&
-		use !pulseaudio && use !sndio; then
-		ewarn
-		ewarn "All typical audio drivers (e.g. USE=pipewire) are disabled,"
-		ewarn "applications using SDL for audio may not function properly."
-	fi
-}


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-09-23 15:30 Sam James
  0 siblings, 0 replies; 25+ messages in thread
From: Sam James @ 2025-09-23 15:30 UTC (permalink / raw
  To: gentoo-commits

commit:     8c9745bb7f77775fcc6ea1326f665b2ed2f12d5a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 23 15:29:26 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 23 15:29:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c9745bb

media-libs/libsdl3: Stabilize 3.2.22 x86, #963318

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

 media-libs/libsdl3/libsdl3-3.2.22.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libsdl3/libsdl3-3.2.22.ebuild b/media-libs/libsdl3/libsdl3-3.2.22.ebuild
index ab8b0ba00b05..3076a85c689d 100644
--- a/media-libs/libsdl3/libsdl3-3.2.22.ebuild
+++ b/media-libs/libsdl3/libsdl3-3.2.22.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/SDL3-${PV}
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
 
 IUSE="
 	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-09-23 17:46 Arthur Zamarin
  0 siblings, 0 replies; 25+ messages in thread
From: Arthur Zamarin @ 2025-09-23 17:46 UTC (permalink / raw
  To: gentoo-commits

commit:     7b8c262f95fe15f8fb5370a2ba972efc335763e3
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 23 17:46:33 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 23 17:46:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b8c262f

media-libs/libsdl3: Stabilize 3.2.22 amd64, #963318

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 media-libs/libsdl3/libsdl3-3.2.22.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libsdl3/libsdl3-3.2.22.ebuild b/media-libs/libsdl3/libsdl3-3.2.22.ebuild
index 3076a85c689d..2b769a21e14f 100644
--- a/media-libs/libsdl3/libsdl3-3.2.22.ebuild
+++ b/media-libs/libsdl3/libsdl3-3.2.22.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/SDL3-${PV}
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
 
 IUSE="
 	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire


^ permalink raw reply related	[flat|nested] 25+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/
@ 2025-10-02 19:09 Ionen Wolkens
  0 siblings, 0 replies; 25+ messages in thread
From: Ionen Wolkens @ 2025-10-02 19:09 UTC (permalink / raw
  To: gentoo-commits

commit:     7540dc785cb482801a5027b9d4c5ae3d1f6daa26
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  2 18:59:50 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Oct  2 19:09:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7540dc78

media-libs/libsdl3: add 3.2.24

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/libsdl3/Manifest              |   1 +
 media-libs/libsdl3/libsdl3-3.2.24.ebuild | 188 +++++++++++++++++++++++++++++++
 2 files changed, 189 insertions(+)

diff --git a/media-libs/libsdl3/Manifest b/media-libs/libsdl3/Manifest
index 182c13a341f0..b46b79045e19 100644
--- a/media-libs/libsdl3/Manifest
+++ b/media-libs/libsdl3/Manifest
@@ -1,2 +1,3 @@
 DIST SDL3-3.2.20.tar.gz 15895143 BLAKE2B 343b7f7c4569607efbf1cadfcbc23f328fe78a5e9b8c07ad0010d7333f6654e2595252ab17d0dbfb5bf9b4e93914ffc1167bcb523c526d448001b700d8e7af81 SHA512 ce3fbf7cb04c90e1a8e7769538543b4ad98673e6a0801410c2505d686375bc33392330852db6b84d53d09535a29fea8addb2b9f3680f6887e57d99c12e61b4c8
 DIST SDL3-3.2.22.tar.gz 15895755 BLAKE2B 10f8f09c944c6c8b8de3aa381b6f859f13bad95e92c5aa57ef5b1da503bb14e1bab155956a5342c771d4fda0edc9d320ecefd33851b0c89adb9786d17c1d1663 SHA512 e19f02c9b4c4f8029d9ba59c84c2cf90cacbcb4a8b79aff90316313cbfde5a54821e0e785300c04d71a498cf85e8fae9519aeb60abac4a1f78d185026cd88f66
+DIST SDL3-3.2.24.tar.gz 15896958 BLAKE2B 89f5cdf70982e61352cdd4be3942001c3ac1eeeb1b61ebd8fa61a01e6a9f39b7ddadbe3b5d34559b067f15cb38a9921729a9e4048579ae73d0b158b78d07c705 SHA512 7032a6ba17d9c6c495fc948733ad2aeaf8d94b7e594746763f49676c84ca13e7b2f8d45ea068f961ca487dbca3df1968a42926410dbc3a1d381997f46277babc

diff --git a/media-libs/libsdl3/libsdl3-3.2.24.ebuild b/media-libs/libsdl3/libsdl3-3.2.24.ebuild
new file mode 100644
index 000000000000..ab8b0ba00b05
--- /dev/null
+++ b/media-libs/libsdl3/libsdl3-3.2.24.ebuild
@@ -0,0 +1,188 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib dot-a
+
+DESCRIPTION="Simple Direct Media Layer"
+HOMEPAGE="https://www.libsdl.org/"
+SRC_URI="https://www.libsdl.org/release/SDL3-${PV}.tar.gz"
+S=${WORKDIR}/SDL3-${PV}
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+IUSE="
+	X alsa aqua dbus doc ibus io-uring jack kms opengl oss pipewire
+	pulseaudio sndio test udev usb vulkan wayland
+	cpu_flags_ppc_altivec cpu_flags_x86_avx cpu_flags_x86_avx2
+	cpu_flags_x86_avx512f cpu_flags_x86_mmx cpu_flags_x86_sse
+	cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1
+	cpu_flags_x86_sse4_2
+"
+REQUIRED_USE="
+	ibus? ( dbus )
+	kms? ( opengl )
+	wayland? ( opengl )
+"
+RESTRICT="!test? ( test )"
+
+# dlopen/dbus-only: dbus, ibus, libudev, liburing, vulkan-loader
+RDEPEND="
+	virtual/libiconv[${MULTILIB_USEDEP}]
+	X? (
+		x11-libs/libX11[${MULTILIB_USEDEP}]
+		x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
+		x11-libs/libXcursor[${MULTILIB_USEDEP}]
+		x11-libs/libXext[${MULTILIB_USEDEP}]
+		x11-libs/libXfixes[${MULTILIB_USEDEP}]
+		x11-libs/libXi[${MULTILIB_USEDEP}]
+		x11-libs/libXrandr[${MULTILIB_USEDEP}]
+	)
+	alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
+	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
+	ibus? ( app-i18n/ibus )
+	io-uring? ( sys-libs/liburing:=[${MULTILIB_USEDEP}] )
+	jack? ( virtual/jack[${MULTILIB_USEDEP}] )
+	kms? (
+		media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
+		x11-libs/libdrm[${MULTILIB_USEDEP}]
+	)
+	opengl? ( media-libs/libglvnd[X?,${MULTILIB_USEDEP}] )
+	pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] )
+	pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
+	sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] )
+	udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
+	usb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
+	wayland? (
+		dev-libs/wayland[${MULTILIB_USEDEP}]
+		gui-libs/libdecor[${MULTILIB_USEDEP}]
+		x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
+	)
+	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
+"
+DEPEND="
+	${RDEPEND}
+	X? ( x11-base/xorg-proto )
+	test? (
+		dev-util/vulkan-headers
+		media-libs/libglvnd
+	)
+	vulkan? ( dev-util/vulkan-headers )
+"
+BDEPEND="
+	doc? (
+		app-text/doxygen
+		media-gfx/graphviz
+	)
+	wayland? ( dev-util/wayland-scanner )
+"
+
+src_prepare() {
+	cmake_src_prepare
+
+	# unbundle libglvnd and vulkan headers
+	rm -r src/video/khronos || die
+	ln -s -- "${ESYSROOT}"/usr/include src/video/khronos || die
+}
+
+src_configure() {
+	lto-guarantee-fat
+
+	local mycmakeargs=(
+		-DSDL_ASSERTIONS=disabled
+		-DSDL_DBUS=$(usex dbus)
+		-DSDL_DEPS_SHARED=no # link rather than dlopen() where possible
+		-DSDL_LIBURING=$(usex io-uring)
+		-DSDL_RPATH=no
+		-DSDL_STATIC=no
+		-DSDL_TESTS=$(usex test)
+
+		# audio
+		-DSDL_ALSA=$(usex alsa)
+		-DSDL_JACK=$(usex jack)
+		-DSDL_OSS=$(usex oss)
+		-DSDL_PIPEWIRE=$(usex pipewire)
+		-DSDL_PULSEAUDIO=$(usex pulseaudio)
+		-DSDL_SNDIO=$(usex sndio)
+
+		# input
+		-DSDL_HIDAPI_LIBUSB=$(usex usb)
+		-DSDL_IBUS=$(use ibus)
+		-DSDL_LIBUDEV=$(usex udev)
+
+		# video
+		-DSDL_COCOA=$(usex aqua)
+		-DSDL_DIRECTX=no
+		-DSDL_KMSDRM=$(usex kms)
+		-DSDL_OPENGL=$(usex opengl)
+		-DSDL_OPENGLES=$(usex opengl)
+		-DSDL_OPENVR=no # not packaged, note needs opengl REQUIRED_USE if added
+		-DSDL_ROCKCHIP=no
+		-DSDL_RPI=no
+		-DSDL_VIVANTE=no
+		-DSDL_VULKAN=$(usex vulkan)
+		-DSDL_WAYLAND=$(usex wayland)
+		-DSDL_X11=$(usex X)
+		# SDL disallows this by default, allow it but warn in pkg_postinst
+		$(use !X && use !wayland && echo -DSDL_UNIX_CONSOLE_BUILD=yes)
+
+		# cpu instruction sets
+		-DSDL_ALTIVEC=$(usex cpu_flags_ppc_altivec)
+		-DSDL_AVX=$(usex cpu_flags_x86_avx)
+		-DSDL_AVX2=$(usex cpu_flags_x86_avx2)
+		-DSDL_AVX512F=$(usex cpu_flags_x86_avx512f)
+		-DSDL_MMX=$(usex cpu_flags_x86_mmx)
+		-DSDL_SSE=$(usex cpu_flags_x86_sse)
+		-DSDL_SSE2=$(usex cpu_flags_x86_sse2)
+		-DSDL_SSE3=$(usex cpu_flags_x86_sse3)
+		-DSDL_SSE4_1=$(usex cpu_flags_x86_sse4_1)
+		-DSDL_SSE4_2=$(usex cpu_flags_x86_sse4_2)
+	)
+
+	cmake-multilib_src_configure
+}
+
+src_compile() {
+	cmake-multilib_src_compile
+
+	if use doc; then
+		cd docs && doxygen || die
+	fi
+}
+
+src_test() {
+	unset "${!SDL_@}" # ignore users' preferences for tests
+
+	cmake-multilib_src_test
+}
+
+src_install() {
+	local DOCS=( {BUGS,WhatsNew}.txt {CREDITS,README}.md docs/*.md )
+	cmake-multilib_src_install
+
+	strip-lto-bytecode
+
+	rm -r -- "${ED}"/usr/share/licenses || die
+
+	use doc && dodoc -r docs/output/html/
+}
+
+pkg_postinst() {
+	# skipping audio/video can make sense given many packages only use SDL
+	# for input, but still warn given off-by-default and may be unexpected
+	if use !X && use !aqua && use !kms && use !wayland; then
+		ewarn
+		ewarn "All typical display drivers (e.g. USE=wayland) are disabled,"
+		ewarn "applications using SDL for display may not function properly."
+	fi
+
+	if use !alsa && use !jack && use !oss && use !pipewire &&
+		use !pulseaudio && use !sndio; then
+		ewarn
+		ewarn "All typical audio drivers (e.g. USE=pipewire) are disabled,"
+		ewarn "applications using SDL for audio may not function properly."
+	fi
+}


^ permalink raw reply related	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2025-10-02 19:09 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-03  2:50 [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl3/ Ionen Wolkens
  -- strict thread matches above, loose matches on Subject: below --
2025-10-02 19:09 Ionen Wolkens
2025-09-23 17:46 Arthur Zamarin
2025-09-23 15:30 Sam James
2025-09-02  3:45 Ionen Wolkens
2025-08-10 23:35 Sam James
2025-08-10 22:47 Ionen Wolkens
2025-08-05  1:30 Ionen Wolkens
2025-07-25  4:46 Sam James
2025-07-25  4:46 Sam James
2025-07-25  4:46 Sam James
2025-07-25  4:46 Sam James
2025-07-14 19:07 Ionen Wolkens
2025-07-14 19:07 Ionen Wolkens
2025-06-18 19:03 Sam James
2025-06-18 19:03 Sam James
2025-06-18 16:56 Jakov Smolić
2025-06-11  7:27 Ionen Wolkens
2025-06-03  3:40 Sam James
2025-05-14 18:44 Ionen Wolkens
2025-05-05  9:18 Ionen Wolkens
2025-04-09  0:52 Ionen Wolkens
2025-04-09  0:52 Ionen Wolkens
2025-04-01  3:16 Ionen Wolkens
2025-03-05  4:50 Ionen Wolkens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox