commit: 080530ea7b0bac6eed72fb8dd220983cd1489849
Author: Saveliy Boyarchuk <sav.boyar <AT> gmail <DOT> com>
AuthorDate: Mon Jul 14 17:20:40 2025 +0000
Commit: Saveliy Boyarchuk <sav.boyar <AT> gmail <DOT> com>
CommitDate: Mon Jul 14 17:22:05 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=080530ea
gui-wm/maomaowm: add 0.7.2
Signed-off-by: Saveliy Boyarchuk <sav.boyar <AT> gmail.com>
gui-wm/maomaowm/Manifest | 1 +
gui-wm/maomaowm/maomaowm-0.7.2.ebuild | 73 +++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
diff --git a/gui-wm/maomaowm/Manifest b/gui-wm/maomaowm/Manifest
index 61732a3566..d37975da33 100644
--- a/gui-wm/maomaowm/Manifest
+++ b/gui-wm/maomaowm/Manifest
@@ -1 +1,2 @@
DIST maomaowm-0.7.1.tar.gz 144356 BLAKE2B
33b83b8b51d89daca4e33feb96619bfeb10ce9c47a52bfb68f18b562f0e6d4c817246dd13d928c83a79a2d124e3d5ad100f01f8037cf449b2466a8f263defb32
SHA512
1cc7f631256c9daada70876e4d69ef91cdadd0883b2d10eb3b7a2a7f51c53e586f055b4b9baa622423e86b2703be4b8299dccdd1dd5a192e10b75333cb07b798
+DIST maomaowm-0.7.2.tar.gz 146162 BLAKE2B
81c479a3f3ecd6e1663f70f9365834b8f2c94caf5070bab8f56929329f634427cc7493508bd7f330da1ef8b741291fff5045d7d7c3e5d7b1acecc63bee705a27
SHA512
409efb8a23a9892102a569ee0fe3b72b35b494260f1cdf4320de7dbfee069c8ef9425abbc36c629531bc554c3661dfbfbf6a5e3b14d4a136ad15cd080c356ff3
diff --git a/gui-wm/maomaowm/maomaowm-0.7.2.ebuild
b/gui-wm/maomaowm/maomaowm-0.7.2.ebuild
new file mode 100644
index 0000000000..b2f10e52d1
--- /dev/null
+++ b/gui-wm/maomaowm/maomaowm-0.7.2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/DreamMaoMao/maomaowm.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/DreamMaoMao/${PN}/archive/${PV}.tar.gz ->
${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64"
+fi
+
+DESCRIPTION="wayland compositor based on wlroots and scenefx(dwl but no
suckless)"
+HOMEPAGE="https://github.com/DreamMaoMao/maomaowm.git"
+
+LICENSE="CC0-1.0 GPL-3+ MIT"
+SLOT="0"
+IUSE="X"
+
+COMMON_DEPEND="
+ >=gui-libs/wlroots-0.19:=[libinput,session,X?]
+ <gui-libs/wlroots-0.20:=[X?]
+"
+
+COMMON_DEPEND+="
+ dev-libs/libinput:=
+ dev-libs/wayland
+ >=gui-libs/scenefx-0.4.1
+ dev-libs/libpcre2
+ x11-libs/libxkbcommon
+ X? (
+ x11-libs/libxcb:=
+ x11-libs/xcb-util-wm
+ )
+"
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ X? (
+ x11-base/xwayland
+ )
+"
+
+# uses <linux/input-event-codes.h>
+DEPEND="
+ ${COMMON_DEPEND}
+ sys-kernel/linux-headers
+"
+
+BDEPEND="
+ >=dev-libs/wayland-protocols-1.32
+ >=dev-util/wayland-scanner-1.23
+ >=dev-build/meson-0.60.0
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature X xwayland)
+ )
+ meson_src_configure
+}
+
+src_compile() {
+ meson_src_compile
+}
+
+src_install() {
+ meson_src_install
+}