Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-video/obs-vkcapture/
Date: Sat, 11 Sep 2021 14:43:35
Message-Id: 1631362293.8c4d2fe52d9eedf9619f0f2c83ba01cebce02d81.arthurzam@gentoo
1 commit: 8c4d2fe52d9eedf9619f0f2c83ba01cebce02d81
2 Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
3 AuthorDate: Sat Sep 11 12:11:33 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 11 12:11:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c4d2fe5
7
8 media-video/obs-vkcapture: new package
9
10 Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
11
12 media-video/obs-vkcapture/Manifest | 1 +
13 media-video/obs-vkcapture/metadata.xml | 16 +++++++++
14 media-video/obs-vkcapture/obs-vkcapture-1.0.ebuild | 41 ++++++++++++++++++++++
15 .../obs-vkcapture/obs-vkcapture-9999.ebuild | 41 ++++++++++++++++++++++
16 4 files changed, 99 insertions(+)
17
18 diff --git a/media-video/obs-vkcapture/Manifest b/media-video/obs-vkcapture/Manifest
19 new file mode 100644
20 index 000000000..04b82890c
21 --- /dev/null
22 +++ b/media-video/obs-vkcapture/Manifest
23 @@ -0,0 +1 @@
24 +DIST obs-vkcapture.tar.gz 84852 BLAKE2B 632d8db777b80e1efca48ca93edb9e400fed9edcfd7caf1108ba6f7481e1fdcfab2db715797e0019dec2fd65ed9ee3095285f2332609a848fa9a50585740eab9 SHA512 c2da876a9c13cb172bbcc122ada04e2b65278d292e1addfd591e50529cf64eabd43ac7902106b87095019f64536a7adb946d7c63b1125a4eb90da4908753c423
25
26 diff --git a/media-video/obs-vkcapture/metadata.xml b/media-video/obs-vkcapture/metadata.xml
27 new file mode 100644
28 index 000000000..b8381693d
29 --- /dev/null
30 +++ b/media-video/obs-vkcapture/metadata.xml
31 @@ -0,0 +1,16 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="person">
36 + <name>Adel Kara Slimane</name>
37 + <email>adel.ks@×××××××××.com</email>
38 + </maintainer>
39 + <upstream>
40 + <maintainer>
41 + <name>David Rosca</name>
42 + <email>nowrep@×××××.com</email>
43 + </maintainer>
44 + <remote-id type="github">nowrep/obs-vkcapture</remote-id>
45 + <bugs-to>https://github.com/nowrep/obs-vkcapture/issues</bugs-to>
46 + </upstream>
47 +</pkgmetadata>
48
49 diff --git a/media-video/obs-vkcapture/obs-vkcapture-1.0.ebuild b/media-video/obs-vkcapture/obs-vkcapture-1.0.ebuild
50 new file mode 100644
51 index 000000000..48c6e845f
52 --- /dev/null
53 +++ b/media-video/obs-vkcapture/obs-vkcapture-1.0.ebuild
54 @@ -0,0 +1,41 @@
55 +# Copyright 1999-2021 Gentoo Authors
56 +# Distributed under the terms of the GNU General Public License v2
57 +
58 +EAPI=7
59 +
60 +CMAKE_REMOVE_MODULES_LIST=( FindFreetype )
61 +
62 +inherit xdg cmake
63 +
64 +
65 +if [[ ${PV} == 9999 ]]; then
66 + inherit git-r3
67 + EGIT_REPO_URI="https://github.com/nowrep/obs-vkcapture"
68 +else
69 + SRC_URI="https://github.com/nowrep/obs-vkcapture/archive/refs/tags/v${PV}.tar.gz -> obs-vkcapture.tar.gz"
70 + KEYWORDS="~amd64"
71 +fi
72 +
73 +DESCRIPTION="OBS Linux Vulkan/OpenGL game capture"
74 +HOMEPAGE="https://github.com/nowrep/obs-vkcapture"
75 +
76 +LICENSE="GPL-2"
77 +SLOT="0"
78 +IUSE=""
79 +
80 +DEPEND="
81 + >=media-video/obs-studio-27
82 +"
83 +RDEPEND="${DEPEND}"
84 +
85 +src_unpack() {
86 + default
87 +
88 + if [[ ${PV} == 9999 ]]; then
89 + git-r3_src_unpack
90 + fi
91 +}
92 +
93 +src_configure() {
94 + cmake_src_configure
95 +}
96
97 diff --git a/media-video/obs-vkcapture/obs-vkcapture-9999.ebuild b/media-video/obs-vkcapture/obs-vkcapture-9999.ebuild
98 new file mode 100644
99 index 000000000..48c6e845f
100 --- /dev/null
101 +++ b/media-video/obs-vkcapture/obs-vkcapture-9999.ebuild
102 @@ -0,0 +1,41 @@
103 +# Copyright 1999-2021 Gentoo Authors
104 +# Distributed under the terms of the GNU General Public License v2
105 +
106 +EAPI=7
107 +
108 +CMAKE_REMOVE_MODULES_LIST=( FindFreetype )
109 +
110 +inherit xdg cmake
111 +
112 +
113 +if [[ ${PV} == 9999 ]]; then
114 + inherit git-r3
115 + EGIT_REPO_URI="https://github.com/nowrep/obs-vkcapture"
116 +else
117 + SRC_URI="https://github.com/nowrep/obs-vkcapture/archive/refs/tags/v${PV}.tar.gz -> obs-vkcapture.tar.gz"
118 + KEYWORDS="~amd64"
119 +fi
120 +
121 +DESCRIPTION="OBS Linux Vulkan/OpenGL game capture"
122 +HOMEPAGE="https://github.com/nowrep/obs-vkcapture"
123 +
124 +LICENSE="GPL-2"
125 +SLOT="0"
126 +IUSE=""
127 +
128 +DEPEND="
129 + >=media-video/obs-studio-27
130 +"
131 +RDEPEND="${DEPEND}"
132 +
133 +src_unpack() {
134 + default
135 +
136 + if [[ ${PV} == 9999 ]]; then
137 + git-r3_src_unpack
138 + fi
139 +}
140 +
141 +src_configure() {
142 + cmake_src_configure
143 +}