commit: 8c4d2fe52d9eedf9619f0f2c83ba01cebce02d81 Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com> AuthorDate: Sat Sep 11 12:11:33 2021 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sat Sep 11 12:11:33 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c4d2fe5
media-video/obs-vkcapture: new package Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com> 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(+) 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <name>Adel Kara Slimane</name> + <email>adel...@zegrapher.com</email> + </maintainer> + <upstream> + <maintainer> + <name>David Rosca</name> + <email>now...@gmail.com</email> + </maintainer> + <remote-id type="github">nowrep/obs-vkcapture</remote-id> + <bugs-to>https://github.com/nowrep/obs-vkcapture/issues</bugs-to> + </upstream> +</pkgmetadata> 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 +}