From e6a87a69cb71ed2bae65be13138a8f2952d47a6e Mon Sep 17 00:00:00 2001 From: HAZARD Date: Sat, 1 Aug 2026 20:34:11 -0300 Subject: [PATCH] gui-wm/mangowm: update DESCRIPTION, HOMEPAGE Signed-off-by: HAZARD --- gui-wm/mangowm/mangowm-0.15.5.ebuild | 73 +++++++++++-------------- gui-wm/mangowm/mangowm-9999.ebuild | 80 +++++++++++++--------------- 2 files changed, 68 insertions(+), 85 deletions(-) diff --git a/gui-wm/mangowm/mangowm-0.15.5.ebuild b/gui-wm/mangowm/mangowm-0.15.5.ebuild index 8163ec142f..ae0d0127f7 100644 --- a/gui-wm/mangowm/mangowm-0.15.5.ebuild +++ b/gui-wm/mangowm/mangowm-0.15.5.ebuild @@ -1,83 +1,72 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2026 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/mangowm/mango.git" +MY_PN="mango" +MY_P=${MY_PN}-${PV} + +if [[ ${PV} == *9999 ]]; then inherit git-r3 + EGIT_REPO_URI="https://github.com/mangowm/mango.git" else SRC_URI="https://github.com/mangowm/mango/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/mango-${PV}" + S="${WORKDIR}/${MY_P}" KEYWORDS="~amd64" fi -DESCRIPTION="wayland compositor based on wlroots and scenefx(dwl but no suckless)" -HOMEPAGE="https://github.com/mangowm/mango https://mangowm.github.io" +DESCRIPTION="A fast, feature-rich Wayland compositor built on dwl" +HOMEPAGE=" + https://github.com/mangowm/mango + https://mangowm.github.io +" LICENSE="CC0-1.0 GPL-3+ MIT" SLOT="0" -IUSE="X" -COMMON_DEPEND=" +IUSE="X asan" + +RDEPEND=" >=gui-libs/wlroots-0.20:=[libinput,session,X?] =gui-libs/scenefx-0.5:0.5 -COMMON_DEPEND+=" - dev-libs/libinput:= - dev-libs/wayland - >=gui-libs/scenefx-0.5 - dev-libs/libpcre2 - x11-libs/libxkbcommon dev-libs/cJSON + dev-libs/libinput:= + dev-libs/libpcre2 + dev-libs/wayland + + x11-libs/cairo + x11-libs/libxkbcommon + x11-libs/pango + x11-libs/pixman + X? ( + x11-base/xwayland x11-libs/libxcb:= x11-libs/xcb-util-wm ) " -RDEPEND=" - ${COMMON_DEPEND} - x11-libs/pixman - x11-libs/cairo - x11-libs/pango - X? ( - x11-base/xwayland - ) -" - -# uses DEPEND=" - ${COMMON_DEPEND} + ${RDEPEND} sys-kernel/linux-headers " BDEPEND=" + >=dev-build/meson-0.60.0 >=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_use asan) + ) + meson_src_configure } - -src_compile() { - meson_src_compile -} - -src_install() { - meson_src_install -} - -pkg_postinst() { - elog "Default config path is \$XDG_CONFIG_DIR/mango" - elog "For example configuration you can check /etc/mango directory" -} diff --git a/gui-wm/mangowm/mangowm-9999.ebuild b/gui-wm/mangowm/mangowm-9999.ebuild index 51180ca1e1..7e1ac3a73c 100644 --- a/gui-wm/mangowm/mangowm-9999.ebuild +++ b/gui-wm/mangowm/mangowm-9999.ebuild @@ -1,83 +1,77 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2026 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/mangowm/mango.git" +MY_PN="mango" +MY_P=${MY_PN}-${PV} + +if [[ ${PV} == *9999 ]]; then inherit git-r3 + EGIT_REPO_URI="https://github.com/mangowm/mango.git" else - SRC_URI="https://github.com/mangowm/mango/archive/${PV}.tar.gz" - S="${WORKDIR}/mango-${PV}" + SRC_URI="https://github.com/mangowm/mango/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${MY_P}" KEYWORDS="~amd64" fi -DESCRIPTION="wayland compositor based on wlroots and scenefx(dwl but no suckless)" -HOMEPAGE="https://github.com/mangowm/mango https://mangowm.github.io" +DESCRIPTION="A fast, feature-rich Wayland compositor built on dwl" +HOMEPAGE=" + https://github.com/mangowm/mango + https://mangowm.github.io +" LICENSE="CC0-1.0 GPL-3+ MIT" SLOT="0" -IUSE="X" -COMMON_DEPEND=" +DOCS=( + README.md + .github/CONTRIBUTING.md +) + +IUSE="X asan" + +RDEPEND=" >=gui-libs/wlroots-0.20:=[libinput,session,X?] =gui-libs/scenefx-0.5:0.5 -COMMON_DEPEND+=" - dev-libs/libinput:= - dev-libs/wayland - >=gui-libs/scenefx-0.5 - dev-libs/libpcre2 - x11-libs/libxkbcommon dev-libs/cJSON + dev-libs/libinput:= + dev-libs/libpcre2 + dev-libs/wayland + + x11-libs/cairo + x11-libs/libxkbcommon + x11-libs/pango + x11-libs/pixman + X? ( + x11-base/xwayland x11-libs/libxcb:= x11-libs/xcb-util-wm ) " -RDEPEND=" - ${COMMON_DEPEND} - x11-libs/pixman - x11-libs/cairo - x11-libs/pango - X? ( - x11-base/xwayland - ) -" - -# uses DEPEND=" - ${COMMON_DEPEND} + ${RDEPEND} sys-kernel/linux-headers " BDEPEND=" + >=dev-build/meson-0.60.0 >=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_use asan) + ) + meson_src_configure } - -src_compile() { - meson_src_compile -} - -src_install() { - meson_src_install -} - -pkg_postinst() { - elog "Default config path was changed to \$XDG_CONFIG_DIR/mango" - elog "For example configuration you can check /etc/mango directory" -}