|
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 |