commit:     358456b0f86540ee7aed0a268cdf14905003c730
Author:     Kostadin Shishmanov <kocelfc <AT> tutanota <DOT> com>
AuthorDate: Sat Jun 10 16:32:21 2023 +0000
Commit:     Kostadin Shishmanov <kocelfc <AT> tutanota <DOT> com>
CommitDate: Sat Jun 10 16:32:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=358456b0

media-video/obs-vaapi: new package, add 0.2.0, 9999

Signed-off-by: Kostadin Shishmanov <kocelfc <AT> tutanota.com>

 media-video/obs-vaapi/Manifest               |  1 +
 media-video/obs-vaapi/metadata.xml           | 11 ++++++++++
 media-video/obs-vaapi/obs-vaapi-0.2.0.ebuild | 33 ++++++++++++++++++++++++++++
 media-video/obs-vaapi/obs-vaapi-9999.ebuild  | 33 ++++++++++++++++++++++++++++
 4 files changed, 78 insertions(+)

diff --git a/media-video/obs-vaapi/Manifest b/media-video/obs-vaapi/Manifest
new file mode 100644
index 000000000..1896710fe
--- /dev/null
+++ b/media-video/obs-vaapi/Manifest
@@ -0,0 +1 @@
+DIST obs-vaapi-0.2.0.tar.gz 14798 BLAKE2B 
7ce063193be6ecf75e36836c4540066b27be513e54bdd3299c719b21301448e948561cc5e778ef36df8cb0380e6db24ec7e5a259bdbb18d3877eaeeb977ca36b
 SHA512 
4274ad96c599efc415145853b812f34b0ae921d54b2661d4d383f8346835e6848ae3eed2f0547939fd229341a4b0a3cd47145a4796fa41d9c3639ff92ae398c3

diff --git a/media-video/obs-vaapi/metadata.xml 
b/media-video/obs-vaapi/metadata.xml
new file mode 100644
index 000000000..2f9abce74
--- /dev/null
+++ b/media-video/obs-vaapi/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Kostadin Shishmanov</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">fzwoch/obs-vaapi</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/media-video/obs-vaapi/obs-vaapi-0.2.0.ebuild 
b/media-video/obs-vaapi/obs-vaapi-0.2.0.ebuild
new file mode 100644
index 000000000..339a16c63
--- /dev/null
+++ b/media-video/obs-vaapi/obs-vaapi-0.2.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="OBS Studio VAAPI support via GStreamer"
+HOMEPAGE="https://github.com/fzwoch/obs-vaapi";
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/fzwoch/obs-vaapi";
+else
+       
SRC_URI="https://github.com/fzwoch/obs-vaapi/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="video_cards_amdgpu video_cards_intel"
+RDEPEND=">=media-libs/gst-plugins-bad-1.22.3-r3[vaapi]
+       media-video/obs-studio
+       video_cards_amdgpu? ( media-libs/mesa[vaapi,video_cards_radeonsi] )
+       video_cards_intel? ( media-libs/libva-intel-media-driver )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       local emesonargs+=(
+       --libdir=/usr/$(get_libdir)/obs-plugins
+       )
+       meson_src_configure
+}

diff --git a/media-video/obs-vaapi/obs-vaapi-9999.ebuild 
b/media-video/obs-vaapi/obs-vaapi-9999.ebuild
new file mode 100644
index 000000000..125e85d82
--- /dev/null
+++ b/media-video/obs-vaapi/obs-vaapi-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="OBS Studio VAAPI support via GStreamer"
+HOMEPAGE="https://github.com/fzwoch/obs-vaapi";
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/fzwoch/obs-vaapi";
+else
+       
SRC_URI="https://github.com/fzwoch/obs-vaapi/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="video_cards_amdgpu video_cards_intel"
+RDEPEND=">=media-libs/gst-plugins-bad-1.22.3-r3[vaapi]
+       media-video/obs-studio
+       video_cards_amdgpu? ( media-libs/mesa[vaapi,video_cards_radeonsi] )
+       video_cards_intel? ( media-libs/libva-intel-media-driver )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       emesonargs+=(
+       --libdir=/usr/$(get_libdir)/obs-plugins
+       )
+       meson_src_configure
+}

Reply via email to