commit:     999d645ea374f773dc07880930c2246701acad60
Author:     Saveliy Boyarchuk <sav.boyar <AT> gmail <DOT> com>
AuthorDate: Thu Jul  3 23:22:49 2025 +0000
Commit:     Saveliy Boyarchuk <sav.boyar <AT> gmail <DOT> com>
CommitDate: Thu Jul  3 23:22:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=999d645e

gui-wm/maomaowm: new package, add 0.7.1, 9999

Signed-off-by: Saveliy Boyarchuk <sav.boyar <AT> gmail.com>

 gui-wm/maomaowm/Manifest              |  1 +
 gui-wm/maomaowm/maomaowm-0.7.1.ebuild | 73 +++++++++++++++++++++++++++++++++++
 gui-wm/maomaowm/maomaowm-9999.ebuild  | 73 +++++++++++++++++++++++++++++++++++
 gui-wm/maomaowm/metadata.xml          | 26 +++++++++++++
 4 files changed, 173 insertions(+)

diff --git a/gui-wm/maomaowm/Manifest b/gui-wm/maomaowm/Manifest
new file mode 100644
index 0000000000..61732a3566
--- /dev/null
+++ b/gui-wm/maomaowm/Manifest
@@ -0,0 +1 @@
+DIST maomaowm-0.7.1.tar.gz 144356 BLAKE2B 
33b83b8b51d89daca4e33feb96619bfeb10ce9c47a52bfb68f18b562f0e6d4c817246dd13d928c83a79a2d124e3d5ad100f01f8037cf449b2466a8f263defb32
 SHA512 
1cc7f631256c9daada70876e4d69ef91cdadd0883b2d10eb3b7a2a7f51c53e586f055b4b9baa622423e86b2703be4b8299dccdd1dd5a192e10b75333cb07b798

diff --git a/gui-wm/maomaowm/maomaowm-0.7.1.ebuild 
b/gui-wm/maomaowm/maomaowm-0.7.1.ebuild
new file mode 100644
index 0000000000..b2f10e52d1
--- /dev/null
+++ b/gui-wm/maomaowm/maomaowm-0.7.1.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
+}

diff --git a/gui-wm/maomaowm/maomaowm-9999.ebuild 
b/gui-wm/maomaowm/maomaowm-9999.ebuild
new file mode 100644
index 0000000000..698053528e
--- /dev/null
+++ b/gui-wm/maomaowm/maomaowm-9999.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";
+       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
+}

diff --git a/gui-wm/maomaowm/metadata.xml b/gui-wm/maomaowm/metadata.xml
new file mode 100644
index 0000000000..c0f012a7ad
--- /dev/null
+++ b/gui-wm/maomaowm/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Saveliy Boyarchuk (Yappaholic)</name>
+       </maintainer>
+       <longdescription lang="en">
+               Maomaowm is a Wayland compositor, forked from dwl.
+
+               maomaowm supports customizable complete animations, flexible 
window layouts
+               (scroller, dwindle, master, etc.), rich window states, 
scratchpads,
+               window effects and powerful external configuration with live 
reloading.
+       </longdescription>
+       <use>
+               <flag name="X">Enable support for X11 applications 
(XWayland)</flag>
+       </use>
+       <upstream>
+               <remote-id type="github">DreamMaoMao/maomaowm</remote-id>
+               <maintainer status="active">
+                       <name>DreamMaoMao</name>
+               </maintainer>
+               
<bugs-to>https://github.com/DreamMaoMao/maomaowm/issues</bugs-to>
+               
<changelog>https://github.com/DreamMaoMao/maomaowm/releases</changelog>
+       </upstream>
+</pkgmetadata>

Reply via email to