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

Signed-off-by: Saveliy Boyarchuk <sav.boyar@gmail.com>
This commit is contained in:
Saveliy Boyarchuk
2025-07-04 02:22:49 +03:00
parent 3a2e565a08
commit 999d645ea3
4 changed files with 173 additions and 0 deletions

1
gui-wm/maomaowm/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST maomaowm-0.7.1.tar.gz 144356 BLAKE2B 33b83b8b51d89daca4e33feb96619bfeb10ce9c47a52bfb68f18b562f0e6d4c817246dd13d928c83a79a2d124e3d5ad100f01f8037cf449b2466a8f263defb32 SHA512 1cc7f631256c9daada70876e4d69ef91cdadd0883b2d10eb3b7a2a7f51c53e586f055b4b9baa622423e86b2703be4b8299dccdd1dd5a192e10b75333cb07b798

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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>sav.boyar@gmail.com</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>