1 |
commit: f2149e93f05dc6ddae75d9baddb1a63dd0458cdb |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 14 05:13:18 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 14 05:43:04 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2149e93 |
7 |
|
8 |
gui-wm/hikari: add 2.3.3 |
9 |
|
10 |
Using with wlroots:0/15 currently segfaults with nvidia's GBM, |
11 |
but looking around this isn't hikari's fault (happens with sway |
12 |
as well), and supporting this new buggy GBM implementation is |
13 |
low priority -- so bumping anyway. |
14 |
|
15 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
16 |
|
17 |
gui-wm/hikari/Manifest | 1 + |
18 |
gui-wm/hikari/hikari-2.3.3.ebuild | 72 +++++++++++++++++++++++++++++++++++++++ |
19 |
2 files changed, 73 insertions(+) |
20 |
|
21 |
diff --git a/gui-wm/hikari/Manifest b/gui-wm/hikari/Manifest |
22 |
index 3fc840736892..c255c9d71b50 100644 |
23 |
--- a/gui-wm/hikari/Manifest |
24 |
+++ b/gui-wm/hikari/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST hikari-2.3.2.tar.gz 1022093 BLAKE2B 8e4df4377728cc1feab3509588a9f2d5138af6e3175682672eedce4ca45d5bb9b7e56568a860871b319b3ff1213468f38f0b6253927f6ab4b905dd495c05c53e SHA512 b7485be089064dd19c4614f60066b3f7b2f322328fa771d4383db27656695746fb00ab534cc754929141c23b7556992391529e537e0522080177068f3d0e2954 |
27 |
+DIST hikari-2.3.3.tar.gz 1022191 BLAKE2B 8b1d0f03460a170f2288c97790dc437a4bd4eafc6973e87c15ca44b1d032ab02ef1d75406fe15be6bb14f67c07945b16be47ec1e41d43b51961a1c69a4a67f9b SHA512 15b6244ef46b29ad069475e8fadbafb01a65c8f96d1f89dd315d36f79dfea9a542936a5472e42237000f506094c7e08be37961c92a7eeed31477f4ed548f39f3 |
28 |
|
29 |
diff --git a/gui-wm/hikari/hikari-2.3.3.ebuild b/gui-wm/hikari/hikari-2.3.3.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..aa2351de6ddc |
32 |
--- /dev/null |
33 |
+++ b/gui-wm/hikari/hikari-2.3.3.ebuild |
34 |
@@ -0,0 +1,72 @@ |
35 |
+# Copyright 2019-2022 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=8 |
39 |
+ |
40 |
+inherit multiprocessing toolchain-funcs |
41 |
+ |
42 |
+DESCRIPTION="Wayland compositor inspired by CWM" |
43 |
+HOMEPAGE="https://hikari.acmelabs.space/" |
44 |
+SRC_URI="https://hikari.acmelabs.space/releases/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="X suid" |
50 |
+ |
51 |
+COMMON_DEPEND=" |
52 |
+ dev-libs/glib:2 |
53 |
+ dev-libs/libinput:= |
54 |
+ dev-libs/libucl |
55 |
+ dev-libs/wayland |
56 |
+ gui-libs/wlroots:0/15[X?] |
57 |
+ sys-libs/pam |
58 |
+ x11-libs/cairo |
59 |
+ x11-libs/libxkbcommon |
60 |
+ x11-libs/pango |
61 |
+ x11-libs/pixman" |
62 |
+RDEPEND=" |
63 |
+ ${COMMON_DEPEND} |
64 |
+ x11-misc/xkeyboard-config" |
65 |
+DEPEND=" |
66 |
+ ${COMMON_DEPEND} |
67 |
+ dev-libs/wayland-protocols" |
68 |
+BDEPEND=" |
69 |
+ dev-util/wayland-scanner |
70 |
+ sys-devel/bmake |
71 |
+ virtual/pkgconfig" |
72 |
+ |
73 |
+src_compile() { |
74 |
+ tc-export CC PKG_CONFIG |
75 |
+ |
76 |
+ local bmake=( |
77 |
+ bmake -j$(makeopts_jobs) |
78 |
+ ETC_PREFIX="${EPREFIX}" |
79 |
+ CFLAGS_EXTRA="${CFLAGS} ${CPPFLAGS}" |
80 |
+ LDFLAGS_EXTRA="${LDFLAGS}" |
81 |
+ VERSION=${PV} |
82 |
+ -DWITH_GAMMACONTROL |
83 |
+ -DWITH_LAYERSHELL |
84 |
+ -DWITH_POSIX_C_SOURCE |
85 |
+ -DWITH_SCREENCOPY |
86 |
+ -DWITH_VIRTUAL_INPUT |
87 |
+ $(usev X -DWITH_XWAYLAND) |
88 |
+ ) |
89 |
+ |
90 |
+ # empty flags to avoid duplicates (some parts use only _EXTRA, others both) |
91 |
+ echo "${bmake[*]}" |
92 |
+ CFLAGS= LDFLAGS= "${bmake[@]}" || die |
93 |
+} |
94 |
+ |
95 |
+src_install() { |
96 |
+ local bmake=( |
97 |
+ bmake install |
98 |
+ DESTDIR="${D}" |
99 |
+ PREFIX="${EPREFIX}"/usr |
100 |
+ ETC_PREFIX="${EPREFIX}" |
101 |
+ $(usev suid -DWITH_SUID) |
102 |
+ ) |
103 |
+ |
104 |
+ echo "${bmake[*]}" |
105 |
+ "${bmake[@]}" || die |
106 |
+} |