blob: 685b7e33623319c8c3c675674349132e317146f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CMAKE_REMOVE_MODULES_LIST=( FindFreetype )
inherit xdg cmake-multilib
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/nowrep/obs-vkcapture"
else
SRC_URI="https://github.com/nowrep/obs-vkcapture/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="OBS Linux Vulkan/OpenGL game capture"
HOMEPAGE="https://github.com/nowrep/obs-vkcapture"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
BDEPEND="
dev-util/vulkan-headers
media-libs/shaderc
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
>=media-video/obs-studio-27[wayland]
x11-libs/libdrm[${MULTILIB_USEDEP}]
"
RDEPEND="
media-libs/libglvnd[${MULTILIB_USEDEP}]
>=media-video/obs-studio-27[wayland]
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() {
default
if [[ ${PV} == 9999 ]]; then
git-r3_src_unpack
fi
}
multilib_src_configure() {
if ! multilib_is_native_abi; then
local mycmakeargs+=(
-DBUILD_PLUGIN=OFF
)
fi
cmake_src_configure
}
|