[Midnightbsd-cvs] [MidnightBSD/mports] 720dec: x11-toolkits/qt5-gamepad: make the SDL2 backend an...
Lucas Holt
noreply at github.com
Sat Sep 5 19:53:41 EDT 2026
Branch: refs/heads/x11-toolkits/qt5-gamepad
Home: https://github.com/MidnightBSD/mports
Commit: 720dec4c148c519a3cb3a89b8597236db354f325
https://github.com/MidnightBSD/mports/commit/720dec4c148c519a3cb3a89b8597236db354f325
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-09-05 (Sat, 05 Sep 2026)
Changed paths:
M x11-toolkits/qt5-gamepad/Makefile
M x11-toolkits/qt5-gamepad/pkg-plist
Log Message:
-----------
x11-toolkits/qt5-gamepad: make the SDL2 backend an option
qtgamepad auto-detects sdl2 through pkg-config, so the sdl2 backend
plugin was built whenever sdl2 happened to be installed on the builder
and skipped otherwise. The plugin was never in pkg-plist, so it was
built and then discarded, and `bmake check-fake` reported
lib/qt5/plugins/gamepads/libsdl2gamepad.so and
lib/cmake/Qt5Gamepad/Qt5Gamepad_QSdl2GamepadBackendPlugin.cmake as
missing from the packing list on any host that had sdl2.
Add an SDL2 option, off by default, that pins the feature explicitly
rather than leaving it to detection, and list the two files under
%%SDL2%%. This follows the backend-option pattern already used by
accessibility/qt5-speech.
No PORTREVISION bump: the default package is unchanged. A builder
without sdl2 never built the plugin, and a builder with sdl2 built it
but left it out of the package, so the packaged contents were evdev-only
either way.
Verified on amd64, on a host that has sdl2 installed:
- default: only libevdevgamepad.so is staged, no sdl2 plugin and no
Sdl2 cmake file, and the package has zero sdl2 entries
- OPTIONS_SET=SDL2: both plugins stage, LIB_DEPENDS picks up
libSDL2.so:devel/sdl20, and both sdl2 files land in the package
- check-fake reports no missing-from-plist entries for either build
(the remaining Qt5GamepadConfig.cmake.bak orphan is a separate,
pre-existing issue across the qt5 ports)
AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>
Claude-Session: https://claude.ai/code/session_01RfjmwisLNPFuZeaQCUJn4A
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list