summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-10-25 23:32:45 +0100
committerJames Le Cuirot <chewi@gentoo.org>2021-10-25 23:33:35 +0100
commit0b59213ced616965912bd61163ea8412ddd6d8f2 (patch)
tree7567913bd204c80cf7e14996f16225450210c8b6 /media-libs/libsdl2
parentmedia-libs/libsdl2: add USE flags hidapi, libusb (diff)
downloadgentoo-0b59213ced616965912bd61163ea8412ddd6d8f2.tar.gz
gentoo-0b59213ced616965912bd61163ea8412ddd6d8f2.tar.bz2
gentoo-0b59213ced616965912bd61163ea8412ddd6d8f2.zip
Revert "media-libs/libsdl2: add USE flags hidapi, libusb"
This reverts commit a5b38687c0accc7a1bd5782da18c402bc683d0da. I overlooked a few things when reviewing this. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-libs/libsdl2')
-rw-r--r--media-libs/libsdl2/libsdl2-2.0.16.ebuild7
-rw-r--r--media-libs/libsdl2/metadata.xml2
2 files changed, 1 insertions, 8 deletions
diff --git a/media-libs/libsdl2/libsdl2-2.0.16.ebuild b/media-libs/libsdl2/libsdl2-2.0.16.ebuild
index 1d0b78dd975f..e1bab222dedb 100644
--- a/media-libs/libsdl2/libsdl2-2.0.16.ebuild
+++ b/media-libs/libsdl2/libsdl2-2.0.16.ebuild
@@ -14,7 +14,7 @@ LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
-IUSE="alsa aqua cpu_flags_ppc_altivec cpu_flags_x86_3dnow cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 custom-cflags dbus doc fcitx4 gles1 gles2 haptic hidapi ibus jack +joystick kms libsamplerate libusb nas opengl oss pipewire pulseaudio sndio +sound static-libs +threads udev +video video_cards_vc4 vulkan wayland X xinerama xscreensaver"
+IUSE="alsa aqua cpu_flags_ppc_altivec cpu_flags_x86_3dnow cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 custom-cflags dbus doc fcitx4 gles1 gles2 haptic ibus jack +joystick kms libsamplerate nas opengl oss pipewire pulseaudio sndio +sound static-libs +threads udev +video video_cards_vc4 vulkan wayland X xinerama xscreensaver"
REQUIRED_USE="
alsa? ( sound )
fcitx4? ( dbus )
@@ -23,7 +23,6 @@ REQUIRED_USE="
haptic? ( joystick )
ibus? ( dbus )
jack? ( sound )
- libusb? ( hidapi )
nas? ( sound )
opengl? ( video )
pulseaudio? ( sound )
@@ -39,7 +38,6 @@ CDEPEND="
fcitx4? ( app-i18n/fcitx:4 )
gles1? ( media-libs/mesa[${MULTILIB_USEDEP},gles1] )
gles2? ( >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},gles2] )
- hidapi? ( dev-libs/hidapi[${MULTILIB_USEDEP}] )
ibus? ( app-i18n/ibus )
jack? ( virtual/jack[${MULTILIB_USEDEP}] )
kms? (
@@ -47,7 +45,6 @@ CDEPEND="
>=media-libs/mesa-9.0.0[${MULTILIB_USEDEP},gbm]
)
libsamplerate? ( media-libs/libsamplerate[${MULTILIB_USEDEP}] )
- libusb? ( virtual/libusb:1[${MULTILIB_USEDEP}] )
nas? (
>=media-libs/nas-1.9.4[${MULTILIB_USEDEP}]
>=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}]
@@ -153,8 +150,6 @@ multilib_src_configure() {
$(use_enable alsa)
--disable-alsa-shared
$(use_enable jack)
- $(use_enable hidapi)
- $(use_enable libusb hidapi-libusb)
--disable-jack-shared
--disable-esd
$(use_enable pipewire)
diff --git a/media-libs/libsdl2/metadata.xml b/media-libs/libsdl2/metadata.xml
index b7129a681bd9..d6b6433df9a4 100644
--- a/media-libs/libsdl2/metadata.xml
+++ b/media-libs/libsdl2/metadata.xml
@@ -28,11 +28,9 @@
<flag name="gles1">include OpenGL ES 1.0 support</flag>
<flag name="gles2">include OpenGL ES 2.0 support</flag>
<flag name="haptic">Enable the haptic (force feedback) subsystem</flag>
- <flag name="hidapi">Enable HID support via <pkg>dev-libs/hidapi</pkg></flag>
<flag name="ibus">Enable support for <pkg>app-i18n/ibus</pkg></flag>
<flag name="joystick">Control joystick support (disable at your own risk)</flag>
<flag name="kms">Build the KMSDRM video driver</flag>
- <flag name="libusb">Enable raw HID access via <pkg>virtual/libusb</pkg></flag>
<flag name="sndio">Enable support for the <pkg>media-sound/sndio</pkg> backend</flag>
<flag name="pipewire">Enable support for the <pkg>media-video/pipewire</pkg> audio backend</flag>
<flag name="sound">Control audio support (disable at your own risk)</flag>