commit:     cc96a7e63f8df3f5827a205a12e5dcd2c94b67c2
Author:     Dex Conner <cantcuckthis <AT> danwin1210 <DOT> de>
AuthorDate: Wed Apr  6 05:45:26 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Apr  6 05:45:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cc96a7e6

gui-wm/dwl: add 0.3

Signed-off-by: Dex Conner <cantcuckthis <AT> danwin1210.de>

 gui-wm/dwl/Manifest       |  1 +
 gui-wm/dwl/dwl-0.3.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/gui-wm/dwl/Manifest b/gui-wm/dwl/Manifest
index 619213fdf..058421339 100644
--- a/gui-wm/dwl/Manifest
+++ b/gui-wm/dwl/Manifest
@@ -1 +1,2 @@
 DIST dwl-0.2.1.tar.gz 49275 BLAKE2B 
e99acc86e937e288fbaf4532fc446d7b6820fec5316b8417824369a142481c67f3a2567733e2836b3dfeb88658f42c8df9db6d3283a3d23082451e868d4f8150
 SHA512 
caac92082c97d36a8f1ff3b3cf9762ee16e43595223acedb752646de9c78240718a4d118513e8314b0089f7073d6cea5d6a8313fd0d2eeeeb8f9d3b06b0d78af
+DIST dwl-0.3.tar.gz 48523 BLAKE2B 
4064d01641f833a12a9b4cde304efded878a1037f19f477d765366cf41f16358576ddc6e210fb13d91f2acd4874395685aa680a150e034e5fe79ea8202ee3ab3
 SHA512 
2575c782df55e70f27db5b9ff50f8b47979354f4e9c1a6b37638221db13573790344996cc884e317f3738d848a4209257ae6abe5c173a556b8d2690391e04691

diff --git a/gui-wm/dwl/dwl-0.3.ebuild b/gui-wm/dwl/dwl-0.3.ebuild
new file mode 100644
index 000000000..285f36ac7
--- /dev/null
+++ b/gui-wm/dwl/dwl-0.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic savedconfig toolchain-funcs
+
+DESCRIPTION="dwm for Wayland"
+HOMEPAGE="https://github.com/djpohly/dwl";
+SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="CC0-1.0 GPL-3 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+RDEPEND="
+       dev-libs/libinput
+       dev-libs/wayland
+       gui-libs/wlroots[X(-)?]
+       x11-libs/libxcb
+       x11-libs/libxkbcommon
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       dev-libs/wayland-protocols
+       dev-util/wayland-scanner
+       virtual/pkgconfig
+"
+
+src_prepare() {
+       default
+
+       restore_config config.h
+}
+
+src_configure() {
+       use X && append-cppflags -DXWAYLAND
+       tc-export CC
+}
+
+src_install() {
+       emake PREFIX="${ED}/usr" install
+
+       insinto /usr/share/wayland-sessions
+       doins "${FILESDIR}"/dwl.desktop
+
+       einstalldocs
+
+       save_config config.h
+}

Reply via email to