commit:     5f2d7aba0b1d190d2f662e38b00e40c4842efb3d
Author:     Saveliy Boyarchuk <sav.boyar <AT> gmail <DOT> com>
AuthorDate: Sat Aug  9 15:32:21 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Aug  9 15:34:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5f2d7aba

gui-wm/mangowc: add 0.8.1

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

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

diff --git a/gui-wm/mangowc/Manifest b/gui-wm/mangowc/Manifest
index 6e774d2eb2..942de8f690 100644
--- a/gui-wm/mangowc/Manifest
+++ b/gui-wm/mangowc/Manifest
@@ -1 +1,2 @@
 DIST mangowc-0.8.0.tar.gz 643340 BLAKE2B 
aa3c358bb12c0b87ec262b420cac2992eb935889b66cfd4186ad09efa93e54919ea4c5c6638e49d9d295888274cd69869ba44f5f4f45694a3d74e6ecd0af703b
 SHA512 
be4b212e9f261a23afb61bc57f398712a7a76d2d8c6f511e6d2cb12040144eff0580474fdd414c7f2be1941451840c9a64248f0a8d074a3e8096e0974557669b
+DIST mangowc-0.8.1.tar.gz 643785 BLAKE2B 
40cd430ac9b16c5631ee15ec0e77482d214a45d680d793bf3546834104ee4ea27c68bc30ee5d12bd400657cb98767af6204dd4f78d0029a9dcf3cda35fa77b93
 SHA512 
7aacec7f03fb8c2fd4d0ad9fa3fd0265dd2db01b2d1414235c3b83e2a53b8202b041e4cdbe7ce63d87fa1bd3177e9c16595a894431ed6bce2d8776668801c040

diff --git a/gui-wm/mangowc/mangowc-0.8.1.ebuild 
b/gui-wm/mangowc/mangowc-0.8.1.ebuild
new file mode 100644
index 0000000000..098c0c594c
--- /dev/null
+++ b/gui-wm/mangowc/mangowc-0.8.1.ebuild
@@ -0,0 +1,80 @@
+# 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"
+       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
+}
+
+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