From 23af0d48f52a6321a7dadb016ae2e3df2ae92a2b Mon Sep 17 00:00:00 2001 From: Kostadin Shishmanov Date: Sat, 17 Feb 2024 17:02:42 +0200 Subject: media-video/obs-vkcapture: add 1.4.9 Signed-off-by: Kostadin Shishmanov --- media-video/obs-vkcapture/Manifest | 1 + .../obs-vkcapture/obs-vkcapture-1.4.5.ebuild | 1 - .../obs-vkcapture/obs-vkcapture-1.4.9.ebuild | 60 ++++++++++++++++++++++ .../obs-vkcapture/obs-vkcapture-9999.ebuild | 1 - 4 files changed, 61 insertions(+), 2 deletions(-) create mode 100644 media-video/obs-vkcapture/obs-vkcapture-1.4.9.ebuild (limited to 'media-video') diff --git a/media-video/obs-vkcapture/Manifest b/media-video/obs-vkcapture/Manifest index 2445094df..7a5ac655b 100644 --- a/media-video/obs-vkcapture/Manifest +++ b/media-video/obs-vkcapture/Manifest @@ -1 +1,2 @@ DIST obs-vkcapture-1.4.5.tar.gz 58958 BLAKE2B cbe2b506c8f5e51088ff2eac5cd12e1490114735957354c935d210f353c95b9dd1819f25ed15b4d4b0c6bf5ec636f236c153ebf392886ac5ffafd555f358239f SHA512 37e72d9dc01fc63dde666d90f17ef04e309771cbcf5e6fbd3e4115f9e88a788ca03bca0970182d9a1014d916b0a51fe799f70f2dc4579831bf3327764d33764c +DIST obs-vkcapture-1.4.9.tar.gz 60230 BLAKE2B 6b83fb66476cde0f6979d571506efa4706a1273dcc545f85751d0e343cdd53c3131261bea64b16551c52c7a8ddc40482e508dcd8597a7e958a6d01079805fb01 SHA512 1a9da496cd2b1ce2d678ac118845709efdff13b2ddce8816b20c9c4b210b652b674f5e10da5c51a5fd648dce7d52305afa83ff984da5148ce8ca04d43da0c7a1 diff --git a/media-video/obs-vkcapture/obs-vkcapture-1.4.5.ebuild b/media-video/obs-vkcapture/obs-vkcapture-1.4.5.ebuild index 685b7e336..f09feca24 100644 --- a/media-video/obs-vkcapture/obs-vkcapture-1.4.5.ebuild +++ b/media-video/obs-vkcapture/obs-vkcapture-1.4.5.ebuild @@ -20,7 +20,6 @@ HOMEPAGE="https://github.com/nowrep/obs-vkcapture" LICENSE="GPL-2" SLOT="0" -IUSE="" BDEPEND=" dev-util/vulkan-headers diff --git a/media-video/obs-vkcapture/obs-vkcapture-1.4.9.ebuild b/media-video/obs-vkcapture/obs-vkcapture-1.4.9.ebuild new file mode 100644 index 000000000..f09feca24 --- /dev/null +++ b/media-video/obs-vkcapture/obs-vkcapture-1.4.9.ebuild @@ -0,0 +1,60 @@ +# 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" + +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 +} diff --git a/media-video/obs-vkcapture/obs-vkcapture-9999.ebuild b/media-video/obs-vkcapture/obs-vkcapture-9999.ebuild index 685b7e336..f09feca24 100644 --- a/media-video/obs-vkcapture/obs-vkcapture-9999.ebuild +++ b/media-video/obs-vkcapture/obs-vkcapture-9999.ebuild @@ -20,7 +20,6 @@ HOMEPAGE="https://github.com/nowrep/obs-vkcapture" LICENSE="GPL-2" SLOT="0" -IUSE="" BDEPEND=" dev-util/vulkan-headers -- cgit v1.2.3-65-gdbad