Сравнение wlroots-0.15.1 с wlroots-0.15.1-r1
/usr/portage/gui-libs/wlroots/wlroots-0.15.1-r1.ebuild 2023-10-09 14:52:31.176368393 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
... | ... | |
19 | 19 |
fi |
20 | 20 | |
21 | 21 |
LICENSE="MIT" |
22 |
IUSE="vulkan x11-backend X" |
|
22 |
IUSE="tinywl vulkan x11-backend X" |
|
23 | 23 | |
24 | 24 |
DEPEND=" |
25 | 25 |
>=dev-libs/libinput-1.14.0:0= |
... | ... | |
54 | 54 |
virtual/pkgconfig |
55 | 55 |
" |
56 | 56 | |
57 |
PATCHES=( "${FILESDIR}"/wlroots-0.15.1-tinywl-dont-crash-upon-missing-keyboard.patch ) |
|
58 | ||
57 | 59 |
src_configure() { |
58 | 60 |
# xcb-util-errors is not on Gentoo Repository (and upstream seems inactive?) |
59 | 61 |
local emesonargs=( |
60 | 62 |
"-Dxcb-errors=disabled" |
61 |
"-Dexamples=false" |
|
63 |
$(meson_use tinywl examples) |
|
62 | 64 |
-Drenderers=$(usex vulkan 'gles2,vulkan' gles2) |
63 | 65 |
-Dxwayland=$(usex X enabled disabled) |
64 | 66 |
-Dbackends=drm,libinput$(usex x11-backend ',x11' '') |
... | ... | |
67 | 69 |
meson_src_configure |
68 | 70 |
} |
69 | 71 | |
72 |
src_install() { |
|
73 |
meson_src_install |
|
74 | ||
75 |
if use tinywl; then |
|
76 |
dobin "${BUILD_DIR}"/tinywl/tinywl |
|
77 |
fi |
|
78 |
} |
|
79 | ||
70 | 80 |
pkg_postinst() { |
71 | 81 |
elog "You must be in the input group to allow your compositor" |
72 | 82 |
elog "to access input devices via libinput." |