mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
media-plugins/obs-vkcapture: drop 1.5.3-r1
Closes: https://github.com/gentoo/gentoo/pull/45940 Signed-off-by: Kai Krakow <kai@kaishome.de> Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST obs-vkcapture-1.5.3.tar.gz 61087 BLAKE2B 969ecb51e5403a23d6ac16af8cd51d422f621e2392c93e93f353fd6bd596a76d0a4ba7e586931beed6578fb0d61c5efed58fa3ce1fb58f64b021bc240d7b597e SHA512 fdc3e1dd3d86b2ef6e5721e235abad4e45a3b03ad386f237c6bcf168f23f125e2cf2a4d10d040a53fadb5633a426d13d3152080ebc70fbbccf49cfb1d9f385fb
|
||||
DIST obs-vkcapture-1.5.5.tar.gz 62059 BLAKE2B 066a0b31dc472ff8c46a20a994d852711bc88b7e0aa0863e6c9b3b885917d7e42af2fe95a6977925c4b0b05e80da359964bd867160600868eb5b5d8c95cbe411 SHA512 6cdc876db1e3cbb147bcc835b9ee076fc4c81b8495a59b7abdbedaacf6d70a9661de71d077be0773be72ba0c8b1a5d0a05708e7282fbafa9fd4d3cab94a38d5e
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake-multilib
|
||||
|
||||
DESCRIPTION="OBS Linux Vulkan/OpenGL game capture"
|
||||
HOMEPAGE="https://github.com/nowrep/obs-vkcapture"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/nowrep/obs-vkcapture.git"
|
||||
else
|
||||
SRC_URI="https://github.com/nowrep/obs-vkcapture/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="X wayland"
|
||||
|
||||
REQUIRED_USE="|| ( X wayland )"
|
||||
|
||||
COMMON_DEPENDS="
|
||||
>=media-video/obs-studio-30.2.0
|
||||
>=media-libs/libglvnd-1.7.0[X=,${MULTILIB_USEDEP}]
|
||||
X? (
|
||||
x11-libs/libxcb:=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
wayland? (
|
||||
>=dev-libs/wayland-1.22.0
|
||||
)
|
||||
"
|
||||
DEPEND="${COMMON_DEPENDS}
|
||||
>=media-libs/vulkan-loader-1.3[X=,wayland=,${MULTILIB_USEDEP}]
|
||||
media-libs/vulkan-layers[X=,wayland=,${MULTILIB_USEDEP}]
|
||||
dev-util/vulkan-headers
|
||||
wayland? (
|
||||
>=dev-util/wayland-scanner-1.22.0
|
||||
)
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
)
|
||||
"
|
||||
RDEPEND="${COMMON_DEPENDS}"
|
||||
|
||||
QA_SONAME="
|
||||
/usr/lib/libVkLayer_obs_vkcapture.so
|
||||
/usr/lib64/libVkLayer_obs_vkcapture.so
|
||||
"
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ $(</sys/module/nvidia_drm/parameters/modeset) != Y ]] 2>/dev/null; then
|
||||
elog "This plugin needs nvidia-drm with modeset configured properly"
|
||||
elog "to capture windows. To enable, edit /etc/modprobe.d/nvidia.conf"
|
||||
elog "and uncomment the nvidia-drm options to enable modeset."
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "This plugin can only capture the game window if you add one of the"
|
||||
elog "following launcher options to the game (Steam as an example):"
|
||||
elog " - OBS_VKCAPTURE=1 %command% (recommended, Vulkan)"
|
||||
elog " - obs-gamecapture %command% (generic, OpenGL and Vulkan)"
|
||||
elog
|
||||
elog "HINT: This may currently not work on wayland with"
|
||||
elog "x11-drivers/nvidia-drivers[kernel-open]"
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
if ! multilib_is_native_abi; then
|
||||
local mycmakeargs+=(
|
||||
-DBUILD_PLUGIN=OFF
|
||||
)
|
||||
fi
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user