Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-wm/hikari/
Date: Sat, 31 Oct 2020 15:59:03
Message-Id: 1604159923.8d4c4096f265600feda2364a311cb015d06a9f29.juippis@gentoo
1 commit: 8d4c4096f265600feda2364a311cb015d06a9f29
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Wed Oct 28 13:53:10 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 31 15:58:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d4c4096
7
8 gui-wm/hikari: version bump to 2.2.2
9
10 should really fix the direct CC calls
11
12 Closes: https://bugs.gentoo.org/745375
13 Closes: https://bugs.gentoo.org/745399
14
15 Package-Manager: Portage-3.0.8, Repoman-3.0.1
16 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
17 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
18
19 gui-wm/hikari/Manifest | 1 +
20 gui-wm/hikari/hikari-2.2.2.ebuild | 66 +++++++++++++++++++++++++++++++++++++++
21 2 files changed, 67 insertions(+)
22
23 diff --git a/gui-wm/hikari/Manifest b/gui-wm/hikari/Manifest
24 index fc829c5c34f..02e31abef73 100644
25 --- a/gui-wm/hikari/Manifest
26 +++ b/gui-wm/hikari/Manifest
27 @@ -1 +1,2 @@
28 DIST hikari-2.2.1.tar.gz 1019168 BLAKE2B aa2ea50b665b3e5d62deba9565cab0d24694046d37dcd9aaa85d3581efbce339ea3f02630155fc731a7eb20dc7b4e4a301e5c6abfd1499ef962e6ef012184ca6 SHA512 640d4ef19cb445613e43fb3363ff00f13937ab256155129bbeba7adcd5f8aed1e4ddbcc6af13809c54ce14dc0d51933cc2763c8a990f44e49d6bfbf9daf62d80
29 +DIST hikari-2.2.2.tar.gz 1019277 BLAKE2B 3cf76f0849cbc80493b6f078ec32b2a6f8e47f12ff3a015132e662dc2382f4071661126bf111550e5ab31eee69c54adaf10ec6ef64b681d7859771a180d30652 SHA512 53b1cb8b8e5fdbabcdcb5ba8af31f1cc66e89c8e94d217b7d1f89f0c733fb7969a251ef5090296b7aeca064aafc60d12878f3f2dbffa17e1fb24609e5549b4f1
30
31 diff --git a/gui-wm/hikari/hikari-2.2.2.ebuild b/gui-wm/hikari/hikari-2.2.2.ebuild
32 new file mode 100644
33 index 00000000000..2d87cfd595d
34 --- /dev/null
35 +++ b/gui-wm/hikari/hikari-2.2.2.ebuild
36 @@ -0,0 +1,66 @@
37 +# Copyright 2019-2020 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=7
41 +
42 +inherit multiprocessing toolchain-funcs
43 +
44 +DESCRIPTION="Wayland compositor inspired by CWM"
45 +HOMEPAGE="https://hikari.acmelabs.space/"
46 +SRC_URI="https://hikari.acmelabs.space/releases/${P}.tar.gz"
47 +KEYWORDS="~amd64 ~x86"
48 +
49 +LICENSE="MIT"
50 +SLOT="0"
51 +IUSE="gamma layershell screencopy suid virtual-io +X"
52 +
53 +DEPEND="
54 + dev-libs/libinput:=
55 + dev-libs/libucl
56 + >=gui-libs/wlroots-0.11.0[X?]
57 + media-libs/libglvnd
58 + x11-libs/cairo[X?,svg]
59 + x11-libs/libxkbcommon[X?]
60 + x11-libs/pango[X?]
61 + x11-libs/pixman
62 + sys-libs/pam
63 +"
64 +
65 +RDEPEND="
66 + ${DEPEND}
67 + x11-misc/xkeyboard-config
68 +"
69 +
70 +BDEPEND="
71 + dev-libs/wayland-protocols
72 + sys-devel/bmake
73 + virtual/pkgconfig
74 +"
75 +
76 +PATCHES=( "${FILESDIR}"/${PN}-2.2.1-pkgconfig.patch )
77 +
78 +pkg_setup() {
79 + export MAKE=bmake
80 + tc-export CC PKG_CONFIG
81 +}
82 +
83 +src_compile() {
84 +
85 + ${MAKE} -j$(makeopts_jobs) VERSION="{PV}" \
86 + CC="$(tc-getCC)" \
87 + CFLAGS_EXTRA="${CFLAGS}" \
88 + LDFLAGS_EXTRA="${LDFLAGS}" \
89 + -DWITH_POSIX_C_SOURCE \
90 + $(usex gamma -DWITH_GAMMACONTROL "") \
91 + $(usex layershell -DWITH_LAYERSHELL "") \
92 + $(usex screencopy -DWITH_SCREENCOPY "") \
93 + $(usex suid -DWITH_SUID "") \
94 + $(usex virtual-io -DWITH_VIRTUAL_INPUT "") \
95 + $(usex X -DWITH_XWAYLAND "") \
96 + all || die
97 +}
98 +
99 +src_install() {
100 + ${MAKE} DESTDIR="${D}" PREFIX=/usr ETC_PREFIX=/ install || die
101 + doman share/man/man1/hikari.1
102 +}