media-video/obs-vkcapture: add 1.4.1

Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
This commit is contained in:
Kostadin Shishmanov
2023-07-10 13:46:14 +03:00
parent 4befb34275
commit 7012a0ada4
2 changed files with 62 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST obs-vkcapture-1.2.0.tar.gz 51934 BLAKE2B 0b80cf2850f056ce9f3f0e8165fef893bfad0648a4366cebcdbeecb98e7df491e5078247d97ac0ba0dd88cbf1db6278aed3f9e282595392c55340b31bb45c2a4 SHA512 e30aeb24af467a9f8a343985b77ea5cd4e39fdcdec067f3c65f7dd9b8915a933bff1ee5127e4a7a4eaa0e740f97f31af669cb5a75155bbd9937d694d739a6d7d
DIST obs-vkcapture-1.3.3.tar.gz 53301 BLAKE2B bfa51f847978d2abc1393e92aaf6a54ef48781778651652808449546f5ae043514d4798d75fc58a991eec7a0bb5d0e0e09efee9a2df049682f5714261f6e5f46 SHA512 d4d234eff53ff9d0e53e6478b378fce8376b22dc4088c1366e194eeb826db5f24f5c3ce26925423e29f4979ef2b0c081ed69d208a8af27810636a2c9538e98e7
DIST obs-vkcapture-1.4.0.tar.gz 57914 BLAKE2B b92f89a4d6fd3fa97bd6f681d58671d190ac73705c7861c0d4147ae980a7585f329b9cf1f8d26f67754c55c4004f70e53c71515c0a8473b848f0226d049a3a4d SHA512 8b487a09d54ada2482f218eb0b7d22228ca8bdb8ed7b71e8b9456554e48a2d2de80fc94ce336de1b574842b9839c402a98902039696df36a002e3f9e850b936d
DIST obs-vkcapture-1.4.1.tar.gz 57996 BLAKE2B d39bdb0376124495298668f4ac2ade83fa757d3361ab2e177a4f3847b0d1e5a093747f4d4e3b3de2abfe588cc174b9a5ce17ce2b6eeb61420c5fe1f13b07a7dd SHA512 3fa64486df0966f8e33262f821833a9a37a9d2a0e27fb9c6ffc9393e5c829444b995155aa54ddc60ab2cb07ca4f7f01c6581dc6c550335a26fddebd46ff604df

View File

@@ -0,0 +1,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
}