@@ -, +, @@ --- media-libs/libsdl2/libsdl2-2.0.9.ebuild | 15 +++++++++++++-- media-libs/libsdl2/metadata.xml | 2 ++ profiles/arch/alpha/package.use.mask | 4 ++++ profiles/arch/arm/package.use.mask | 4 ++++ profiles/arch/arm64/package.use.mask | 4 ++++ profiles/arch/ia64/package.use.mask | 6 +++++- profiles/arch/sparc/package.use.mask | 4 ++++ profiles/default/linux/musl/arm/package.use.mask | 6 ++++++ .../default/linux/musl/arm64/package.use.mask | 6 ++++++ .../default/linux/uclibc/arm/package.use.mask | 6 +++++- 10 files changed, 53 insertions(+), 4 deletions(-) create mode 100644 profiles/default/linux/musl/arm/package.use.mask create mode 100644 profiles/default/linux/musl/arm64/package.use.mask --- a/media-libs/libsdl2/libsdl2-2.0.9.ebuild +++ a/media-libs/libsdl2/libsdl2-2.0.9.ebuild @@ -13,10 +13,12 @@ LICENSE="ZLIB" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="cpu_flags_x86_3dnow alsa altivec aqua custom-cflags dbus gles haptic libsamplerate +joystick kms cpu_flags_x86_mmx nas opengl oss pulseaudio +sound cpu_flags_x86_sse cpu_flags_x86_sse2 static-libs +threads tslib udev +video video_cards_vc4 vulkan wayland X xinerama xscreensaver" +IUSE="cpu_flags_x86_3dnow alsa altivec aqua custom-cflags dbus fcitx4 gles haptic ibus libsamplerate +joystick kms cpu_flags_x86_mmx nas opengl oss pulseaudio +sound cpu_flags_x86_sse cpu_flags_x86_sse2 static-libs +threads tslib udev +video video_cards_vc4 vulkan wayland X xinerama xscreensaver" REQUIRED_USE=" alsa? ( sound ) + fcitx4? ( dbus ) gles? ( video ) + ibus? ( dbus ) nas? ( sound ) opengl? ( video ) pulseaudio? ( sound ) @@ -28,7 +30,9 @@ REQUIRED_USE=" CDEPEND=" alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] ) + fcitx4? ( app-i18n/fcitx:4 ) gles? ( >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},gles2] ) + ibus? ( app-i18n/ibus ) kms? ( >=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}] >=media-libs/mesa-9.0.0[${MULTILIB_USEDEP},gbm] @@ -63,6 +67,7 @@ CDEPEND=" RDEPEND="${CDEPEND} vulkan? ( media-libs/vulkan-loader )" DEPEND="${CDEPEND} + ibus? ( dev-libs/glib:2[${MULTILIB_USEDEP}] ) vulkan? ( dev-util/vulkan-headers ) X? ( x11-base/xorg-proto ) virtual/pkgconfig" @@ -96,6 +101,11 @@ src_prepare() { multilib_src_configure() { use custom-cflags || strip-flags + local CPPFLAGS="${CPPFLAGS}" + if use ibus; then + append-cppflags -I/usr/include/ibus-1.0 -I/usr/include/glib-2.0 -I/usr/$(get_libdir)/glib-2.0/include + fi + # sorted by `./configure --help` local myeconfargs=( $(use_enable static-libs static) @@ -161,7 +171,8 @@ multilib_src_configure() { $(use_enable vulkan video-vulkan) $(use_enable udev libudev) $(use_enable dbus) - --disable-ibus + $(use_enable ibus) + $(use_enable fcitx4 fcitx) $(use_enable tslib input-tslib) --disable-directx --disable-rpath --- a/media-libs/libsdl2/metadata.xml +++ a/media-libs/libsdl2/metadata.xml @@ -24,8 +24,10 @@ Perl, PHP, Pike, Python, and Ruby. + Enable support for app-i18n/fcitx 4 include OpenGL ES support Enable the haptic (force feedback) subsystem + Enable support for app-i18n/ibus Control joystick support (disable at your own risk) Build the KMSDRM video driver Control audio support (disable at your own risk) --- a/profiles/arch/alpha/package.use.mask +++ a/profiles/arch/alpha/package.use.mask @@ -1,6 +1,10 @@ # Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Arfrever Frehtes Taifersar Arahesis (04 Nov 2018) +# app-i18n/fcitx:4 not keyworded. +media-libs/libsdl2 fcitx4 + # Thomas Deutschmann (15 Oct 2018) # Requires app-text/mecab which isn't yet keyworded # on alpha, bug 668674 --- a/profiles/arch/arm/package.use.mask +++ a/profiles/arch/arm/package.use.mask @@ -1,6 +1,10 @@ # Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Arfrever Frehtes Taifersar Arahesis (04 Nov 2018) +# app-i18n/fcitx:4 not keyworded. +media-libs/libsdl2 fcitx4 + # Aaron W. Swenson (19 Oct 2018) # Requires sys-devel/clang which isn’t keyworded for ARM. dev-db/postgresql llvm --- a/profiles/arch/arm64/package.use.mask +++ a/profiles/arch/arm64/package.use.mask @@ -1,6 +1,10 @@ # Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Arfrever Frehtes Taifersar Arahesis (04 Nov 2018) +# app-i18n/fcitx:4 not keyworded. +media-libs/libsdl2 fcitx4 + # Thomas Deutschmann (12 Oct 2018) # Requires www-client/firefox which isn't yet keyworded on ARM64 dev-ruby/capybara test --- a/profiles/arch/ia64/package.use.mask +++ a/profiles/arch/ia64/package.use.mask @@ -1,6 +1,10 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Arfrever Frehtes Taifersar Arahesis (04 Nov 2018) +# app-i18n/fcitx:4 not keyworded. +media-libs/libsdl2 fcitx4 + # Sergei Trofimovich (13 Oct 2018) # USE=debug needs support for target-specific _FPU_MASK_IM. ia64 # does not define those. --- a/profiles/arch/sparc/package.use.mask +++ a/profiles/arch/sparc/package.use.mask @@ -1,6 +1,10 @@ # Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Arfrever Frehtes Taifersar Arahesis (04 Nov 2018) +# app-i18n/fcitx:4 not keyworded. +media-libs/libsdl2 fcitx4 + # Virgil Dupras (08 Oct 2018) # app-text/mupdf sparc keyword was dropped in bug #631970 net-print/cups-filters pdf --- a/profiles/default/linux/musl/arm/package.use.mask +++ a/profiles/default/linux/musl/arm/package.use.mask @@ -0,0 +1,6 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Arfrever Frehtes Taifersar Arahesis (04 Nov 2018) +# app-i18n/fcitx:4 not keyworded. +media-libs/libsdl2 fcitx4 --- a/profiles/default/linux/musl/arm64/package.use.mask +++ a/profiles/default/linux/musl/arm64/package.use.mask @@ -0,0 +1,6 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Arfrever Frehtes Taifersar Arahesis (04 Nov 2018) +# app-i18n/fcitx:4 not keyworded. +media-libs/libsdl2 fcitx4 --- a/profiles/default/linux/uclibc/arm/package.use.mask +++ a/profiles/default/linux/uclibc/arm/package.use.mask @@ -1,6 +1,10 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Arfrever Frehtes Taifersar Arahesis (04 Nov 2018) +# app-i18n/fcitx:4 not keyworded. +media-libs/libsdl2 fcitx4 + # Thomas Deutschmann (28 Nov 2017) # Requires dev-libs/mongo-c-driver which isn't keyworded >=app-admin/rsyslog-8.31 mongodb --