repo/gentoo:master commit in: media-libs/libsdl3/
"Ionen Wolkens" <[email protected]> Tue, 04 Aug 2026 01:24:18 +0000 (UTC)
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1785806512.923c1fad0e19a2d7487702f13bdcfa1cf696eea3.ionen@gentoo> |
commit: 923c1fad0e19a2d7487702f13bdcfa1cf696eea3
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 4 01:13:45 2026 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Aug 4 01:21:52 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=923c1fad
media-libs/libsdl3: drop 3.4.10
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
media-libs/libsdl3/Manifest | 1 -
media-libs/libsdl3/libsdl3-3.4.10.ebuild | 196 -------------------------------
2 files changed, 197 deletions(-)
diff --git a/media-libs/libsdl3/Manifest b/media-libs/libsdl3/Manifest
index 00998f8452cd..b286d3beb48d 100644
--- a/media-libs/libsdl3/Manifest
+++ b/media-libs/libsdl3/Manifest
@@ -1,3 +1,2 @@
DIST SDL3-3.2.30.tar.gz 15908113 BLAKE2B 3c0c1435662ce7a5891d28f476c92c4113b3967a9c3a0e36f8fd46069c8352c9b8f518122a761af4e64c374f3afc8476e57b19b7cb02ba282911f304ee21782a SHA512 ccb24c98095013404a7b470591aab6f7d45511580d895d6ce393df669a91d8faa1bf987a52b948fdf2c114ac41805cf6fa20eddacd470172029e1ebb7405e317
-DIST SDL3-3.4.10.tar.gz 15606216 BLAKE2B c4c652e6c023ef6e8d4f1f81f0ffc2db0d620b5899a9ef23a6d46a8feaeef851135ca276435938188172939e5c4ec7a7d46738af65b5eb3bac60cc1cdc351afa SHA512 a66366071aa5dcc5949c3f48b2041dff8850cd05917c1ba5f6ae251e9eef3277d31884fe020251388051887c8c1587cd80457a02bdb96c11eb41065ac9f69958
DIST SDL3-3.4.12.tar.gz 15629574 BLAKE2B 5c11979ae2a0640e43a953f7d4a49c1ce37f0e3b4bca47041705162cbf50f6d818f152861e150293b9b288769f3f6def66d4629c1eb9cf175338b2a6f88fce82 SHA512 c53cb5d82f6a9b7221bfd4f64d5352fd0c91837b7cb88ccf4898657b241189e25b7d405aa0c5c42ee25bad9a19c1da5c2daca6f8fde493ae26cb3e5f2883c0f5
diff --git a/media-libs/libsdl3/libsdl3-3.4.10.ebuild b/media-libs/libsdl3/libsdl3-3.4.10.ebuild
deleted file mode 100644
index 5d658b5f56da..000000000000
--- a/media-libs/libsdl3/libsdl3-3.4.10.ebuild
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright 2025-2026 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 ~loong ppc ppc64 ~riscv ~sparc x86"
-
-IUSE="
- X alsa aqua bidi 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}]
- x11-libs/libXtst[${MULTILIB_USEDEP}]
- )
- alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
- bidi? ( dev-libs/fribidi[${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 )
-"
-
-CMAKE_QA_COMPAT_SKIP=1 #964577
-
-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_DEPS_SHARED=no # link rather than dlopen() where possible
- -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_LIBTHAI=no # not packaged
- -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)
-
- # misc
- -DSDL_DBUS=$(usex dbus)
- -DSDL_FRIBIDI=$(usex bidi)
- -DSDL_LIBURING=$(usex io-uring)
-
- # 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
-}