Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 670248 | Differences between
and this patch

Collapse All | Expand All

(-)a/media-libs/libsdl2/libsdl2-2.0.12-r2.ebuild (-3 / +14 lines)
Lines 13-22 LICENSE="ZLIB" Link Here
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
14
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
15
15
16
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 gles2 haptic jack +joystick kms libsamplerate nas opengl oss pulseaudio +sound static-libs +threads tslib udev +video video_cards_vc4 vulkan wayland X xinerama xscreensaver"
16
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 fcitx4 gles2 haptic ibus jack +joystick kms libsamplerate nas opengl oss pulseaudio +sound static-libs +threads tslib udev +video video_cards_vc4 vulkan wayland X xinerama xscreensaver"
17
REQUIRED_USE="
17
REQUIRED_USE="
18
	alsa? ( sound )
18
	alsa? ( sound )
19
	fcitx4? ( dbus )
19
	gles2? ( video )
20
	gles2? ( video )
21
	ibus? ( dbus )
20
	jack? ( sound )
22
	jack? ( sound )
21
	nas? ( sound )
23
	nas? ( sound )
22
	opengl? ( video )
24
	opengl? ( video )
Lines 29-35 REQUIRED_USE=" Link Here
29
CDEPEND="
31
CDEPEND="
30
	alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
32
	alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
31
	dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] )
33
	dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] )
34
	fcitx4? ( app-i18n/fcitx:4 )
32
	gles2? ( >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},gles2] )
35
	gles2? ( >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},gles2] )
36
	ibus? ( app-i18n/ibus )
33
	jack? ( virtual/jack[${MULTILIB_USEDEP}] )
37
	jack? ( virtual/jack[${MULTILIB_USEDEP}] )
34
	kms? (
38
	kms? (
35
		>=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}]
39
		>=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}]
Lines 65-70 CDEPEND=" Link Here
65
RDEPEND="${CDEPEND}
69
RDEPEND="${CDEPEND}
66
	vulkan? ( media-libs/vulkan-loader )"
70
	vulkan? ( media-libs/vulkan-loader )"
67
DEPEND="${CDEPEND}
71
DEPEND="${CDEPEND}
72
	ibus? ( dev-libs/glib:2[${MULTILIB_USEDEP}] )
68
	vulkan? ( dev-util/vulkan-headers )
73
	vulkan? ( dev-util/vulkan-headers )
69
	X? ( x11-base/xorg-proto )
74
	X? ( x11-base/xorg-proto )
70
"
75
"
Lines 92-98 src_prepare() { Link Here
92
97
93
	# Unbundle some headers.
98
	# Unbundle some headers.
94
	rm -r src/video/khronos || die
99
	rm -r src/video/khronos || die
95
	ln -s "${SYSROOT}${EPREFIX}"/usr/include src/video/khronos || die
100
	ln -s "${ESYSROOT}/usr/include" src/video/khronos || die
96
101
97
	AT_M4DIR="/usr/share/aclocal acinclude" eautoreconf
102
	AT_M4DIR="/usr/share/aclocal acinclude" eautoreconf
98
}
103
}
Lines 100-105 src_prepare() { Link Here
100
multilib_src_configure() {
105
multilib_src_configure() {
101
	use custom-cflags || strip-flags
106
	use custom-cflags || strip-flags
102
107
108
	local CPPFLAGS="${CPPFLAGS}"
109
	if use ibus; then
110
		append-cppflags -I"${ESYSROOT}/usr/include/ibus-1.0" -I"${ESYSROOT}/usr/include/glib-2.0" -I"${ESYSROOT}/usr/$(get_libdir)/glib-2.0/include"
111
	fi
112
103
	# sorted by `./configure --help`
113
	# sorted by `./configure --help`
104
	local myeconfargs=(
114
	local myeconfargs=(
105
		$(use_enable static-libs static)
115
		$(use_enable static-libs static)
Lines 166-172 multilib_src_configure() { Link Here
166
		$(use_enable vulkan video-vulkan)
176
		$(use_enable vulkan video-vulkan)
167
		$(use_enable udev libudev)
177
		$(use_enable udev libudev)
168
		$(use_enable dbus)
178
		$(use_enable dbus)
169
		--disable-ibus
179
		$(use_enable ibus)
180
		$(use_enable fcitx4 fcitx)
170
		$(use_enable tslib input-tslib)
181
		$(use_enable tslib input-tslib)
171
		--disable-directx
182
		--disable-directx
172
		--disable-rpath
183
		--disable-rpath
(-)a/media-libs/libsdl2/metadata.xml (+2 lines)
Lines 24-31 Link Here
24
		Perl, PHP, Pike, Python, and Ruby.
24
		Perl, PHP, Pike, Python, and Ruby.
25
	</longdescription>
25
	</longdescription>
26
	<use>
26
	<use>
27
		<flag name="fcitx4">Enable support for <pkg>app-i18n/fcitx</pkg> 4</flag>
27
		<flag name="gles2">include OpenGL ES 2.0 support</flag>
28
		<flag name="gles2">include OpenGL ES 2.0 support</flag>
28
		<flag name="haptic">Enable the haptic (force feedback) subsystem</flag>
29
		<flag name="haptic">Enable the haptic (force feedback) subsystem</flag>
30
		<flag name="ibus">Enable support for <pkg>app-i18n/ibus</pkg></flag>
29
		<flag name="joystick">Control joystick support (disable at your own risk)</flag>
31
		<flag name="joystick">Control joystick support (disable at your own risk)</flag>
30
		<flag name="kms">Build the KMSDRM video driver</flag>
32
		<flag name="kms">Build the KMSDRM video driver</flag>
31
		<flag name="sound">Control audio support (disable at your own risk)</flag>
33
		<flag name="sound">Control audio support (disable at your own risk)</flag>
(-)a/profiles/arch/alpha/package.use.mask (+4 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2020 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
# Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com> (2020-10-01)
5
# app-i18n/fcitx:4 not keyworded.
6
media-libs/libsdl2 fcitx4
7
4
# Sergei Trofimovich <slyfox@gentoo.org> (2020-09-18)
8
# Sergei Trofimovich <slyfox@gentoo.org> (2020-09-18)
5
# media-libs/libilbc is not ported to alpha
9
# media-libs/libilbc is not ported to alpha
6
net-analyzer/wireshark ilbc
10
net-analyzer/wireshark ilbc
(-)a/profiles/arch/arm/package.use.mask (+4 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2020 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
# Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com> (2020-10-01)
5
# app-i18n/fcitx:4 not keyworded.
6
media-libs/libsdl2 fcitx4
7
4
# Adam Feldman <NP-Hardass@gentoo.org> (2020-09-05)
8
# Adam Feldman <NP-Hardass@gentoo.org> (2020-09-05)
5
# dev-util/dogtail is not keyworded for arm
9
# dev-util/dogtail is not keyworded for arm
6
app-text/atril test
10
app-text/atril test
(-)a/profiles/arch/arm64/package.use.stable.mask (+4 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2020 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
# Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com> (2020-10-01)
5
# app-i18n/fcitx:4 not stable.
6
media-libs/libsdl2 fcitx4
7
4
# Sam James <sam@gentoo.org> (2020-08-19)
8
# Sam James <sam@gentoo.org> (2020-08-19)
5
# Unstable dependencies for qemu
9
# Unstable dependencies for qemu
6
# bug #738056
10
# bug #738056
(-)a/profiles/arch/ia64/package.use.mask (+4 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2020 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
# Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com> (2020-10-01)
5
# app-i18n/fcitx:4 not keyworded.
6
media-libs/libsdl2 fcitx4
7
4
# Sergei Trofimovich <slyfox@gentoo.org> (2020-09-18)
8
# Sergei Trofimovich <slyfox@gentoo.org> (2020-09-18)
5
# media-libs/libilbc is not ported to ia64
9
# media-libs/libilbc is not ported to ia64
6
net-analyzer/wireshark ilbc
10
net-analyzer/wireshark ilbc
(-)a/profiles/arch/sparc/package.use.mask (-1 / +4 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2020 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
# Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com> (2020-10-01)
5
# app-i18n/fcitx:4 not keyworded.
6
media-libs/libsdl2 fcitx4
7
4
# Matt Turner <mattst88@gentoo.org> (2020-08-11)
8
# Matt Turner <mattst88@gentoo.org> (2020-08-11)
5
# No drivers on this architecture support Vulkan
9
# No drivers on this architecture support Vulkan
6
media-libs/mesa vulkan vulkan-overlay zink
10
media-libs/mesa vulkan vulkan-overlay zink
7
- 

Return to bug 670248