From 8c4d2fe52d9eedf9619f0f2c83ba01cebce02d81 Mon Sep 17 00:00:00 2001 From: Adel KARA SLIMANE Date: Sat, 11 Sep 2021 14:11:33 +0200 Subject: media-video/obs-vkcapture: new package Signed-off-by: Adel KARA SLIMANE --- media-video/obs-vkcapture/Manifest | 1 + media-video/obs-vkcapture/metadata.xml | 16 +++++++++ media-video/obs-vkcapture/obs-vkcapture-1.0.ebuild | 41 ++++++++++++++++++++++ .../obs-vkcapture/obs-vkcapture-9999.ebuild | 41 ++++++++++++++++++++++ 4 files changed, 99 insertions(+) create mode 100644 media-video/obs-vkcapture/Manifest create mode 100644 media-video/obs-vkcapture/metadata.xml create mode 100644 media-video/obs-vkcapture/obs-vkcapture-1.0.ebuild create mode 100644 media-video/obs-vkcapture/obs-vkcapture-9999.ebuild (limited to 'media-video') diff --git a/media-video/obs-vkcapture/Manifest b/media-video/obs-vkcapture/Manifest new file mode 100644 index 000000000..04b82890c --- /dev/null +++ b/media-video/obs-vkcapture/Manifest @@ -0,0 +1 @@ +DIST obs-vkcapture.tar.gz 84852 BLAKE2B 632d8db777b80e1efca48ca93edb9e400fed9edcfd7caf1108ba6f7481e1fdcfab2db715797e0019dec2fd65ed9ee3095285f2332609a848fa9a50585740eab9 SHA512 c2da876a9c13cb172bbcc122ada04e2b65278d292e1addfd591e50529cf64eabd43ac7902106b87095019f64536a7adb946d7c63b1125a4eb90da4908753c423 diff --git a/media-video/obs-vkcapture/metadata.xml b/media-video/obs-vkcapture/metadata.xml new file mode 100644 index 000000000..b8381693d --- /dev/null +++ b/media-video/obs-vkcapture/metadata.xml @@ -0,0 +1,16 @@ + + + + + Adel Kara Slimane + adel.ks@zegrapher.com + + + + David Rosca + nowrep@gmail.com + + nowrep/obs-vkcapture + https://github.com/nowrep/obs-vkcapture/issues + + diff --git a/media-video/obs-vkcapture/obs-vkcapture-1.0.ebuild b/media-video/obs-vkcapture/obs-vkcapture-1.0.ebuild new file mode 100644 index 000000000..48c6e845f --- /dev/null +++ b/media-video/obs-vkcapture/obs-vkcapture-1.0.ebuild @@ -0,0 +1,41 @@ +# 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 -> obs-vkcapture.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="" + +DEPEND=" + >=media-video/obs-studio-27 +" +RDEPEND="${DEPEND}" + +src_unpack() { + default + + if [[ ${PV} == 9999 ]]; then + git-r3_src_unpack + fi +} + +src_configure() { + cmake_src_configure +} diff --git a/media-video/obs-vkcapture/obs-vkcapture-9999.ebuild b/media-video/obs-vkcapture/obs-vkcapture-9999.ebuild new file mode 100644 index 000000000..48c6e845f --- /dev/null +++ b/media-video/obs-vkcapture/obs-vkcapture-9999.ebuild @@ -0,0 +1,41 @@ +# 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 -> obs-vkcapture.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="" + +DEPEND=" + >=media-video/obs-studio-27 +" +RDEPEND="${DEPEND}" + +src_unpack() { + default + + if [[ ${PV} == 9999 ]]; then + git-r3_src_unpack + fi +} + +src_configure() { + cmake_src_configure +} -- cgit v1.2.3-65-gdbad