mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 14:03:33 -04:00
gui-wm/mangowc: add 0.12.1
Signed-off-by: Saveliy Boyarchuk <sav.boyar@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
81
gui-wm/mangowc/mangowc-0.12.1.ebuild
Normal file
81
gui-wm/mangowc/mangowc-0.12.1.ebuild
Normal 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/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"
|
||||
}
|
||||
Reference in New Issue
Block a user