aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKostadin Shishmanov <kocelfc@tutanota.com>2024-02-17 17:02:42 +0200
committerKostadin Shishmanov <kocelfc@tutanota.com>2024-02-17 17:02:42 +0200
commit23af0d48f52a6321a7dadb016ae2e3df2ae92a2b (patch)
treef49daef993470da078241f5b7165825c55a5b72b /media-video
parentsci-electronics/slang: add missing patch file to slang-5.0 (diff)
downloadguru-23af0d48f52a6321a7dadb016ae2e3df2ae92a2b.tar.gz
guru-23af0d48f52a6321a7dadb016ae2e3df2ae92a2b.tar.bz2
guru-23af0d48f52a6321a7dadb016ae2e3df2ae92a2b.zip
media-video/obs-vkcapture: add 1.4.9
Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/obs-vkcapture/Manifest1
-rw-r--r--media-video/obs-vkcapture/obs-vkcapture-1.4.5.ebuild1
-rw-r--r--media-video/obs-vkcapture/obs-vkcapture-1.4.9.ebuild60
-rw-r--r--media-video/obs-vkcapture/obs-vkcapture-9999.ebuild1
4 files changed, 61 insertions, 2 deletions
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