commit:     01665408dcfec80242efcc4ee9a14a680efb2636
Author:     Saveliy Boyarchuk <sav.boyar <AT> gmail <DOT> com>
AuthorDate: Wed Feb 11 11:16:39 2026 +0000
Commit:     Saveliy Boyarchuk <sav.boyar <AT> gmail <DOT> com>
CommitDate: Wed Feb 11 11:16:57 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=01665408

gui-wm/mangowc: add 0.12.1

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

 gui-wm/mangowc/Manifest              |  1 +
 gui-wm/mangowc/mangowc-0.12.1.ebuild | 81 ++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/gui-wm/mangowc/Manifest b/gui-wm/mangowc/Manifest
index 5f526dcc10..ee8708a2b2 100644
--- a/gui-wm/mangowc/Manifest
+++ b/gui-wm/mangowc/Manifest
@@ -1 +1,2 @@
 DIST mangowc-0.12.0.tar.gz 411340 BLAKE2B 
37a1b73d81eb4ef72f47f610be4dfd118eadecdfb87d9fa4c1c9500cf81b702699b2749a3d59fa0cf0d02c7a632ca1c23a19800267d8b214ecc2e6b0bc7a89e8
 SHA512 
056b913bf857dcafe31bf1d06eafd2566960ee5b9dd6a45fdf850844f6456bcfa130028d5b7a46c694f271954ec089e15bfd181527313336cedf3442de84a27c
+DIST mangowc-0.12.1.tar.gz 413299 BLAKE2B 
aff127984c5f04c551733c9ce90d9381cd8bd8804b231f936fbb2782aac6e88b6725b71a7a5cb12d917eef625f4a57e7972d351cfc59289866db83767fc3e960
 SHA512 
a681b60f1380349818529797172ed75d504a72ea26b2a921c897a220f3d9167b1e9da05755c3126fbd3cf9f71d1050f549db0e0f5584b43d9f91f056692f8dce

diff --git a/gui-wm/mangowc/mangowc-0.12.1.ebuild 
b/gui-wm/mangowc/mangowc-0.12.1.ebuild
new file mode 100644
index 0000000000..7864d9627a
--- /dev/null
+++ b/gui-wm/mangowc/mangowc-0.12.1.ebuild
@@ -0,0 +1,81 @@
+# 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/mangowc.git";
+       inherit git-r3
+else
+       SRC_URI="https://github.com/DreamMaoMao/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+       S="${WORKDIR}/${PN}-${PV}"
+       KEYWORDS="~amd64"
+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
+}
+
+pkg_postinst() {
+       elog "If you have installed maomaowm before, be sure to remove the 
package,"
+       elog "since maomaowm was renamed to mangowc."
+       elog ""
+       elog "Default config path was changed to \$XDG_CONFIG_DIR/mango"
+}

Reply via email to