commit: 3f2596da8b0008abaad4fd03d96d05e1334dbf87
Author: Kostadin Shishmanov <kocelfc <AT> tutanota <DOT> com>
AuthorDate: Thu Jun 8 05:45:46 2023 +0000
Commit: Kostadin Shishmanov <kocelfc <AT> tutanota <DOT> com>
CommitDate: Thu Jun 8 05:45:46 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f2596da
media-video/obs-vkcapture-9999: enable multilib, update EAPI 7 -> 8
Signed-off-by: Kostadin Shishmanov <kocelfc <AT> tutanota.com>
.../obs-vkcapture/obs-vkcapture-9999.ebuild | 25 ++++++++++++++++------
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a/media-video/obs-vkcapture/obs-vkcapture-9999.ebuild
b/media-video/obs-vkcapture/obs-vkcapture-9999.ebuild
index 7c3049cab..685b7e336 100644
--- a/media-video/obs-vkcapture/obs-vkcapture-9999.ebuild
+++ b/media-video/obs-vkcapture/obs-vkcapture-9999.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
CMAKE_REMOVE_MODULES_LIST=( FindFreetype )
-inherit xdg cmake
+inherit xdg cmake-multilib
if [[ ${PV} == 9999 ]]; then
inherit git-r3
@@ -25,20 +25,22 @@ IUSE=""
BDEPEND="
dev-util/vulkan-headers
media-libs/shaderc
- media-libs/vulkan-loader
+ media-libs/vulkan-loader[${MULTILIB_USEDEP}]
>=media-video/obs-studio-27[wayland]
- x11-libs/libdrm
+ x11-libs/libdrm[${MULTILIB_USEDEP}]
"
RDEPEND="
- media-libs/libglvnd
+ media-libs/libglvnd[${MULTILIB_USEDEP}]
>=media-video/obs-studio-27[wayland]
- x11-libs/libdrm
- x11-libs/libxcb:=
+ x11-libs/libdrm[${MULTILIB_USEDEP}]
+ x11-libs/libxcb:=[${MULTILIB_USEDEP}]
"
QA_SONAME="
/usr/lib64/libVkLayer_obs_vkcapture.so
/usr/lib64/libobs_glcapture.so
+ /usr/lib/libVkLayer_obs_vkcapture.so
+ /usr/lib/libobs_glcapture.so
"
src_unpack() {
@@ -48,3 +50,12 @@ src_unpack() {
git-r3_src_unpack
fi
}
+
+multilib_src_configure() {
+if ! multilib_is_native_abi; then
+ local mycmakeargs+=(
+ -DBUILD_PLUGIN=OFF
+ )
+fi
+ cmake_src_configure
+}