# 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." }