mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-21 07:52:21 -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>
|
<upstream>
|
||||||
<remote-id type="github">Ferdi265/wl-mirror</remote-id>
|
<remote-id type="github">Ferdi265/wl-mirror</remote-id>
|
||||||
</upstream>
|
</upstream>
|
||||||
|
<use>
|
||||||
|
<flag name="gbm">Enable capturing with libgbm (generally more efficient).</flag>
|
||||||
|
</use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -13,13 +13,16 @@ SRC_URI="https://github.com/Ferdi265/wl-mirror/releases/download/v${PV}/wl-mirro
|
|||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
IUSE="+examples man"
|
IUSE="+examples +gbm man"
|
||||||
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
gui-libs/wlroots
|
gui-libs/wlroots
|
||||||
dev-libs/wayland-protocols
|
dev-libs/wayland-protocols
|
||||||
dev-libs/wayland
|
dev-libs/wayland
|
||||||
media-libs/libglvnd
|
media-libs/libglvnd
|
||||||
|
gbm? (
|
||||||
|
media-libs/mesa[opengl]
|
||||||
|
)
|
||||||
dev-util/wayland-scanner
|
dev-util/wayland-scanner
|
||||||
man? (
|
man? (
|
||||||
app-text/scdoc
|
app-text/scdoc
|
||||||
@ -33,6 +36,7 @@ src_configure() {
|
|||||||
-DFORCE_SYSTEM_WL_PROTOCOLS=ON
|
-DFORCE_SYSTEM_WL_PROTOCOLS=ON
|
||||||
-DFORCE_SYSTEM_WLR_PROTOCOLS=OFF
|
-DFORCE_SYSTEM_WLR_PROTOCOLS=OFF
|
||||||
-DINSTALL_EXAMPLE_SCRIPTS=$(usex examples ON OFF)
|
-DINSTALL_EXAMPLE_SCRIPTS=$(usex examples ON OFF)
|
||||||
|
-DWITH_GBM=$(usex gbm ON OFF)
|
||||||
)
|
)
|
||||||
|
|
||||||
cmake_src_configure
|
cmake_src_configure
|
Loading…
x
Reference in New Issue
Block a user