mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
gui-apps/wl-mirror: enable capturing with libgbm
See-Also: https://github.com/Ferdi265/wl-mirror/issues/65#issuecomment-2780740755 Signed-off-by: Mazunki Hoksaas <rolferen@gmail.com>
This commit is contained in:
parent
6bf1de2fc3
commit
7d1e0da1de
@ -12,4 +12,7 @@
|
||||
<upstream>
|
||||
<remote-id type="github">Ferdi265/wl-mirror</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="gbm">Enable capturing with libgbm (generally more efficient).</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -13,13 +13,16 @@ SRC_URI="https://github.com/Ferdi265/wl-mirror/releases/download/v${PV}/wl-mirro
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+examples man"
|
||||
IUSE="+examples +gbm man"
|
||||
|
||||
DEPEND="
|
||||
gui-libs/wlroots
|
||||
dev-libs/wayland-protocols
|
||||
dev-libs/wayland
|
||||
media-libs/libglvnd
|
||||
gbm? (
|
||||
media-libs/mesa[opengl]
|
||||
)
|
||||
dev-util/wayland-scanner
|
||||
man? (
|
||||
app-text/scdoc
|
||||
@ -33,6 +36,7 @@ src_configure() {
|
||||
-DFORCE_SYSTEM_WL_PROTOCOLS=ON
|
||||
-DFORCE_SYSTEM_WLR_PROTOCOLS=OFF
|
||||
-DINSTALL_EXAMPLE_SCRIPTS=$(usex examples ON OFF)
|
||||
-DWITH_GBM=$(usex gbm ON OFF)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
Loading…
x
Reference in New Issue
Block a user