summaryrefslogtreecommitdiff
path: root/gui-libs/wf-copy-capture/wf-copy-capture-9999.ebuild
blob: a3f06a827bfb3fcd25e5d9a9e6cb690072723a7a (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
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3 meson

DESCRIPTION="Toplevel window capture plugin for Wayfire"
HOMEPAGE="https://github.com/soreau/wf-copy-capture"
EGIT_REPO_URI="https://github.com/soreau/wf-copy-capture.git"
EGIT_BRANCH="master"

LICENSE="MIT"
SLOT="0"
# Upstream has no test suite.
RESTRICT="test"

RDEPEND="
	dev-libs/wayland
	gui-libs/wf-config:=
	gui-libs/wlroots:0.20=
	>=gui-wm/wayfire-0.11.0:=
	x11-libs/pixman
"
DEPEND="
	${RDEPEND}
	>=dev-libs/wayland-protocols-1.37
	media-libs/glm
	x11-libs/libdrm
"
BDEPEND="
	dev-util/wayland-scanner
	virtual/pkgconfig
"

PATCHES=(
	"${FILESDIR}/${PN}-9999-optional-xwayland.patch"
)

pkg_postinst() {
	elog "Add copy-capture to the plugins list in the [core] section of wayfire.ini."
	elog "Restart Wayfire to enable the window capture protocols."
}