summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbaldr333 <ra@afu.re>2025-08-02 21:32:10 -0400
committerbaldr333 <ra@afu.re>2025-08-02 21:34:00 -0400
commit4598ad52938cb30583b07d937d4efbc9f0eee2a2 (patch)
tree4ea0f90880dc128401f43aebe0be6cf0ba60fded
parentb4b1efa132645d0cba42cd9800c1f48201cc123c (diff)
add dwl-9999.ebuild & dwlb-9999.ebuild
-rw-r--r--gui-wm/dwl/Manifest1
-rw-r--r--gui-wm/dwl/dwl-9999.ebuild56
-rw-r--r--gui-wm/dwlb/Manifest1
-rw-r--r--gui-wm/dwlb/dwlb-9999.ebuild33
4 files changed, 91 insertions, 0 deletions
diff --git a/gui-wm/dwl/Manifest b/gui-wm/dwl/Manifest
new file mode 100644
index 0000000..a1718b2
--- /dev/null
+++ b/gui-wm/dwl/Manifest
@@ -0,0 +1 @@
+EBUILD dwl-9999.ebuild 1026 BLAKE2B 45be32def012133d45f6d15991f55aec8a270c668bf9563775a3b33aa7546211c16fd2f00ebe6b7d57edc79baff48f8f047528ef730cd2f5e9576ed754e30671 SHA512 8443caa0906ccc84a4151ec1e92cdbf2ac99e4cb83be5e2c586430f1606f6b949334ac873a2011b7aa4e0da343f882c46f24516008b627dc0e5401727a792b87
diff --git a/gui-wm/dwl/dwl-9999.ebuild b/gui-wm/dwl/dwl-9999.ebuild
new file mode 100644
index 0000000..53cfbe4
--- /dev/null
+++ b/gui-wm/dwl/dwl-9999.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit savedconfig toolchain-funcs git-r3
+
+EGIT_REPO_URI="https://git.afu.re/dwl"
+
+DESCRIPTION="dwm for Wayland"
+HOMEPAGE="https://git.afu.re/dwl"
+
+LICENSE="CC0-1.0 GPL-3+ MIT"
+SLOT="0"
+IUSE="X"
+
+COMMON_DEPEND="~gui-libs/wlroots-9999:=[libinput,session,X?]
+ dev-libs/libinput:=
+ dev-libs/wayland
+ x11-libs/libxkbcommon
+ X? (
+ x11-libs/libxcb:=
+ x11-libs/xcb-util-wm
+ )
+"
+RDEPEND="${COMMON_DEPEND}
+ X? (
+ x11-base/xwayland
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sys-kernel/linux-headers
+"
+BDEPEND="
+ >=dev-libs/wayland-protocols-1.32
+ >=dev-util/wayland-scanner-1.23
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ restore_config config.h
+ default
+}
+
+src_compile() {
+ emake PKG_CONFIG="$(tc-getPKG_CONFIG)" CC="$(tc-getCC)" \
+ XWAYLAND="$(usev X -DXWAYLAND)" XLIBS="$(usev X "xcb xcb-icccm")" dwl
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+ dodoc CHANGELOG.md README.md
+
+ save_config config.h
+}
+
diff --git a/gui-wm/dwlb/Manifest b/gui-wm/dwlb/Manifest
new file mode 100644
index 0000000..dca3310
--- /dev/null
+++ b/gui-wm/dwlb/Manifest
@@ -0,0 +1 @@
+EBUILD dwlb-9999.ebuild 576 BLAKE2B 4099428c6273736d5586e0996b7643aecb37adaadd3aa619f49c913ab6f10e8418c35940fb682b7fc3f4e6c88944fe5ecbb19efa4274346de70ff92a6bcc7adf SHA512 449744245ac3aa4acdcacf237ddfec4ff2475c6c8d53fd77f28493bc03dc2b63aec9a1f3e7ee8572edb7774458243703a4d032b8407238398d2b060f73e0e077
diff --git a/gui-wm/dwlb/dwlb-9999.ebuild b/gui-wm/dwlb/dwlb-9999.ebuild
new file mode 100644
index 0000000..d519d4a
--- /dev/null
+++ b/gui-wm/dwlb/dwlb-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A fast, feature-complete bar for dwl"
+HOMEPAGE="https://github.com/kolunmi/dwlb"
+EGIT_REPO_URI="https://github.com/kolunmi/dwlb.git"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="
+ dev-libs/wayland
+ x11-libs/pixman
+ media-libs/fcft
+"
+RDEPEND="${DEPEND}"
+
+inherit git-r3
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ # Do NOT call "emake install" because it tries to install to /usr/local/bin
+ dobin dwlb
+ dodoc README.md
+}
+