gui-wm/mangowm: add 0.15.2

Signed-off-by: Saveliy Boyarchuk <sav.boyar@gmail.com>
This commit is contained in:
Saveliy Boyarchuk
2026-07-13 10:30:25 +03:00
parent b46ade961f
commit ef7fbed1ca
2 changed files with 82 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST mangowm-0.14.4.tar.gz 506823 BLAKE2B 5c8e2efcea36855f409c4545c1f4f143e68348783e981d94db8baba1068c44ac4bb907de62959146462ae91f82b4321ef3db5112b7abb925ac2d03804948276b SHA512 f8efc986ceedfd9d0b6525335936cf482de1c2e21462ed72bc231e4b9497e5998850a524c84044ad8afb2bba9bff98e60472ec75303df6d5943949cdb52fc9e3
DIST mangowm-0.15.2.tar.gz 499929 BLAKE2B 701799ed221a5a848df6975d7cf20342e4bce0f26e49033ed70389316d37ffb14f59b2cd3d99b5654d3c61b44da7240ecf78339ec75e43f80ef3081a28000e80 SHA512 01e1ad89bae5c8dc2ee8537e07b789fc6188980e5c338c0db953f1a80d8e33e8729f82520187cfa7c44c64cc89ae8464a5332355ec605e89954714b72fdd7193

View File

@@ -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/mangowm/mango.git"
inherit git-r3
else
SRC_URI="https://github.com/mangowm/mango/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/mango-${PV}"
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"
LICENSE="CC0-1.0 GPL-3+ MIT"
SLOT="0"
IUSE="X"
COMMON_DEPEND="
>=gui-libs/wlroots-0.20:=[libinput,session,X?]
<gui-libs/wlroots-0.21:=[X?]
"
COMMON_DEPEND+="
dev-libs/libinput:=
dev-libs/wayland
>=gui-libs/scenefx-0.5
dev-libs/libpcre2
x11-libs/libxkbcommon
dev-libs/cJSON
X? (
x11-libs/libxcb:=
x11-libs/xcb-util-wm
)
"
RDEPEND="
${COMMON_DEPEND}
x11-libs/pixman
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 "Default config path is \$XDG_CONFIG_DIR/mango"
elog "For example configuration you can check /etc/mango directory"
}