summaryrefslogtreecommitdiff
path: root/gui-libs/wf-overview/wf-overview-0.1.0_p20260228.ebuild
blob: 0474877bfd427828fd242aff20f2c2efb4a8bb95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="Experimental window overview and workspace carousel for Wayfire"
HOMEPAGE="https://github.com/okcomput3/wf-overview"
WF_OVERVIEW_COMMIT="240721d3d84c303ab29aeb674d0e84802f69ad80"
SRC_URI="https://github.com/okcomput3/wf-overview/archive/${WF_OVERVIEW_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${WF_OVERVIEW_COMMIT}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"

RDEPEND="
	dev-libs/wayland
	gui-libs/wf-config:0=
	gui-libs/wlroots:0.20
	>=gui-wm/wayfire-0.11.0:0=
	<gui-wm/wayfire-0.12
	media-libs/libglvnd
	x11-libs/cairo
	x11-libs/pango
"
DEPEND="${RDEPEND}
	dev-cpp/nlohmann_json
	media-libs/glm
"
BDEPEND="virtual/pkgconfig"

PATCHES=(
	"${FILESDIR}/${PN}-${PV}-wayfire-api.patch"
	"${FILESDIR}/${PN}-${PV}-shell-integration.patch"
	"${FILESDIR}/${PN}-${PV}-output-lifecycle.patch"
)

src_install() {
	meson_src_install
	dodoc "${FILESDIR}/README.gentoo"
	docinto upstream
	dodoc README.md
	docinto examples
	dodoc "${FILESDIR}/overview.ini"
}

pkg_postinst() {
	elog "This is an experimental snapshot. The Wayfire plugin name is overview."
	elog "Add overview to your existing core/plugins list to opt in."
	elog "The default shortcut is Super+Ctrl+O; the built-in panel is disabled."
	elog "Read README.gentoo and the qualification notes before enabling it."
}