mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
Closes: https://bugs.gentoo.org/814461 Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
55 lines
997 B
Bash
55 lines
997 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
CMAKE_REMOVE_MODULES_LIST=( FindFreetype )
|
|
|
|
inherit xdg cmake
|
|
|
|
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
|
|
>=media-video/obs-studio-27[wayland]
|
|
x11-libs/libdrm
|
|
"
|
|
RDEPEND="
|
|
media-libs/libglvnd
|
|
>=media-video/obs-studio-27[wayland]
|
|
x11-libs/libdrm
|
|
x11-libs/libxcb:=
|
|
"
|
|
|
|
QA_SONAME="
|
|
/usr/lib64/libVkLayer_obs_vkcapture.so
|
|
/usr/lib64/libobs_glcapture.so
|
|
"
|
|
|
|
src_unpack() {
|
|
default
|
|
|
|
if [[ ${PV} == 9999 ]]; then
|
|
git-r3_src_unpack
|
|
fi
|
|
}
|
|
|
|
src_configure() {
|
|
cmake_src_configure
|
|
}
|