media-plugins/obs-wlrobs: Enable dmabuf
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Ryan Fox <flewkey@2a03.party>
This commit is contained in:
parent
2e8031362a
commit
d5c5a21ea6
@ -1,2 +1,2 @@
|
||||
EBUILD obs-wlrobs-9999.ebuild 930 BLAKE2B f76c5c8a584543c5cef010b9184b13023fd6d081191d12f9912bf7d0fb04a3ccdbdd3df25b9135cd0dadd1314a4deaa08e65c04f6dbb0b194561bbc12b2c62e5 SHA512 85fcddd686225000763d894166dbfbea463187473d540d90838ae834a85aff6a53dcc5ed8a751831aef6785137889ea98397f616e3493b30ff271257b9aa23bb
|
||||
EBUILD obs-wlrobs-9999.ebuild 627 BLAKE2B 695be9f27ab1bfc2b66249df94df2478c9afe99d52e6877bf3194ef4e49ef9342156d6feea4635948fb4df9875fd7776688e3d58e99180c3e9b02f40ebf0d9d0 SHA512 d45674b1e265f2623824508a2a43b221b48d310fea30581d1c8d259412bb9941ec7483a775b044e20304c70ad66583168ddca8aac7f3a287837813f0ca504265
|
||||
MISC metadata.xml 345 BLAKE2B 4c47c3d3ce1aa4ba13b79092d98582ff58e2f71ed462515a0ecdb3eeb718e0fc35aa742c7d9d6f2c1048534e42c385b2f36c44ec810cdcb13bbea21b72c8514d SHA512 96821029966ea9a6d780ff71f8213457be0e359c6f0fec44f63148ae6781023e6153a94ee1ab950df1aac5d839febff1a9a05a74991029fdcfa3c72ea5a0b05f
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@ -11,15 +11,12 @@ DESCRIPTION="Allows screen capture on wlroots-based Wayland compositors"
|
||||
HOMEPAGE="https://hg.sr.ht/~scoopta/wlrobs"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="dmabuf +scpy"
|
||||
IUSE="+dmabuf +scpy"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/wayland
|
||||
media-video/obs-studio
|
||||
dmabuf? (
|
||||
x11-libs/libdrm
|
||||
virtual/opengl
|
||||
)
|
||||
dmabuf? ( x11-libs/libdrm )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
@ -34,12 +31,3 @@ src_configure() {
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local install_path="/usr/lib/obs-plugins/"
|
||||
if $(uname -m | grep "64"); then
|
||||
install_path="/usr/lib64/obs-plugins/"
|
||||
fi
|
||||
dodir "/usr/$(get_libdir)/obs-plugins"
|
||||
cp "${S}-build/libwlrobs.so" "${D}/usr/$(get_libdir)/obs-plugins/libwlrobs.so" || die "Failed to install"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user