aboutsummaryrefslogtreecommitdiff
path: root/gui-wm
diff options
context:
space:
mode:
authorEfe İzbudak <efe.izbudak@metu.edu.tr>2022-12-11 05:04:01 -0500
committerEfe İzbudak <efe.izbudak@metu.edu.tr>2022-12-11 13:12:00 +0300
commit27ca486742d2ccb55bace57904179ca7be3d7939 (patch)
tree22ee833cc0c85b4e6f23d88b364e576dd3092d74 /gui-wm
parentdev-vcs/gitqlient: 1.6.0 version bump (diff)
downloadguru-27ca486742d2ccb55bace57904179ca7be3d7939.tar.gz
guru-27ca486742d2ccb55bace57904179ca7be3d7939.tar.bz2
guru-27ca486742d2ccb55bace57904179ca7be3d7939.zip
gui-wm/dwl: add 0.4
Signed-off-by: Efe İzbudak <efe.izbudak@metu.edu.tr>
Diffstat (limited to 'gui-wm')
-rw-r--r--gui-wm/dwl/Manifest1
-rw-r--r--gui-wm/dwl/dwl-0.4.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/gui-wm/dwl/Manifest b/gui-wm/dwl/Manifest
index 6da9d682f..778b772f2 100644
--- a/gui-wm/dwl/Manifest
+++ b/gui-wm/dwl/Manifest
@@ -1 +1,2 @@
DIST dwl-0.3.1.tar.gz 51347 BLAKE2B 754dcf17de405f4a3f69478444fe46199f4e67fd7a7801e02131676e23e7324b49d6f31da629a6ab977262a210b95adcb8407c37b81031aac3ee6d2427f27a10 SHA512 c6bcaf26d6f67f7712f907331c947afc84a5c5b990f5ec6d568d65f624a2cafd1617055ed514cd7e8a331abcd4c37ed574672dcbeeb890607d8eb38e7a304215
+DIST dwl-0.4.tar.gz 53966 BLAKE2B 52034e31f0d3454e0b4e50e844be342795bd3fd354f6734aa8a11311e72d67029c8e60487db8c67783ba89746856b0d1eeb428a76489aec24da291cdda0aa156 SHA512 40324b14cbe13bbfa322672ef505288760b3fe98fdf6ea0c927e13a2a60145e98b5d481a43084a08b52b0f2292d5e79d87ca82554d31aa00d557ac872e5635b0
diff --git a/gui-wm/dwl/dwl-0.4.ebuild b/gui-wm/dwl/dwl-0.4.ebuild
new file mode 100644
index 000000000..622deba6b
--- /dev/null
+++ b/gui-wm/dwl/dwl-0.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic savedconfig toolchain-funcs desktop
+
+DESCRIPTION="dwm for Wayland"
+HOMEPAGE="https://github.com/djpohly/dwl"
+SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}-rc2.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P}-rc1"
+
+LICENSE="CC0-1.0 GPL-3 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+RDEPEND="
+ dev-libs/libinput
+ dev-libs/wayland
+ gui-libs/wlroots:0/16[X(-)?]
+ x11-libs/libxkbcommon
+ X? ( x11-libs/libxcb )
+"
+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
+
+ domenu "${FILESDIR}"/dwl.desktop
+
+ einstalldocs
+
+ save_config config.h
+}