summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2020-04-26 12:15:01 -0400
committerAaron Bauman <bman@gentoo.org>2020-06-05 21:53:01 -0400
commit10ac27bddb656c6668844805b09907fefdc353c9 (patch)
tree697df97f2974b95427ef536e5c98f4560e987b81 /gui-wm/hikari/hikari-1.2.0.ebuild
parentdev-libs/libucl: revert retired package + new proxy-maintainer (diff)
downloadgentoo-10ac27bddb656c6668844805b09907fefdc353c9.tar.gz
gentoo-10ac27bddb656c6668844805b09907fefdc353c9.tar.bz2
gentoo-10ac27bddb656c6668844805b09907fefdc353c9.zip
gui-wm/hikari: new wayland window manager
Closes: https://bugs.gentoo.org/719672 hikari is a minimalistic wayland window manager based on wlroots trying inspired by the simplicity of CWM in the X days. It aims stay out of your way and focus more on the task than the windows. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Aisha Tammy <gentoo@aisha.cc> Closes: https://github.com/gentoo/gentoo/pull/15531 Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'gui-wm/hikari/hikari-1.2.0.ebuild')
-rw-r--r--gui-wm/hikari/hikari-1.2.0.ebuild55
1 files changed, 55 insertions, 0 deletions
diff --git a/gui-wm/hikari/hikari-1.2.0.ebuild b/gui-wm/hikari/hikari-1.2.0.ebuild
new file mode 100644
index 00000000000..7297d36915d
--- /dev/null
+++ b/gui-wm/hikari/hikari-1.2.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="wayland compositor inspired by CWM"
+HOMEPAGE="https://hikari.acmelabs.space/"
+SRC_URI="https://hikari.acmelabs.space/releases/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="gamma layershell screencopy +X"
+
+DEPEND="
+ dev-libs/glib
+ dev-libs/libinput:=
+ dev-libs/libucl
+ gui-libs/wlroots
+ x11-libs/cairo:=[X,svg]
+ x11-libs/pango:=[X]
+ x11-libs/pixman
+ x11-libs/libxkbcommon:=[X]
+"
+
+RDEPEND="
+ ${DEPEND}
+ x11-misc/xkeyboard-config
+"
+
+BDEPEND="
+ ${DEPEND}
+ app-text/pandoc
+ virtual/pkgconfig
+ dev-libs/wayland-protocols
+"
+
+# keep this as others OS's are using this as reference
+PATCHES=(
+ "${FILESDIR}/${P}-gnu-make.patch"
+)
+
+src_compile() {
+ emake VERSION="{PV}" \
+ WITH_POSIX_C_SOURCE=1 \
+ WITH_GAMMACONTROL=$(usex gamma 1 0) \
+ WITH_LAYERSHELL=$(usex layershell 1 0) \
+ WITH_SCREENCOPY=$(usex screencopy 1 0) \
+ WITH_XWAYLAND=$(usex X 1 0) \
+ all
+}
+
+src_install() {
+ emake PREFIX=${D}/usr ETC_PREFIX=${D}/etc install
+}