From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1532307-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 2B29C158009
	for <garchives@archives.gentoo.org>; Sun, 25 Jun 2023 18:35:33 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 67CFCE08C2;
	Sun, 25 Jun 2023 18:35:32 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 3BEF3E08C2
	for <gentoo-commits@lists.gentoo.org>; Sun, 25 Jun 2023 18:35:32 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 40FE3335CCD
	for <gentoo-commits@lists.gentoo.org>; Sun, 25 Jun 2023 18:35:31 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 87ED7990
	for <gentoo-commits@lists.gentoo.org>; Sun, 25 Jun 2023 18:35:29 +0000 (UTC)
From: "Kostadin Shishmanov" <kocelfc@tutanota.com>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Kostadin Shishmanov" <kocelfc@tutanota.com>
Message-ID: <1687718108.c6ba919bbe9fc371369d65dce906290ac9019cbf.kocelfc@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/obs-vaapi/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: media-video/obs-vaapi/Manifest media-video/obs-vaapi/obs-vaapi-0.3.1.ebuild
X-VCS-Directories: media-video/obs-vaapi/
X-VCS-Committer: kocelfc
X-VCS-Committer-Name: Kostadin Shishmanov
X-VCS-Revision: c6ba919bbe9fc371369d65dce906290ac9019cbf
X-VCS-Branch: dev
Date: Sun, 25 Jun 2023 18:35:29 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: cd1854b7-b634-428d-8d69-40247b898fc8
X-Archives-Hash: 77907535c0f7c9572e54dccc36ae6848

commit:     c6ba919bbe9fc371369d65dce906290ac9019cbf
Author:     Kostadin Shishmanov <kocelfc <AT> tutanota <DOT> com>
AuthorDate: Sun Jun 25 18:35:08 2023 +0000
Commit:     Kostadin Shishmanov <kocelfc <AT> tutanota <DOT> com>
CommitDate: Sun Jun 25 18:35:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c6ba919b

media-video/obs-vaapi: add 0.3.1

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

 media-video/obs-vaapi/Manifest               |  1 +
 media-video/obs-vaapi/obs-vaapi-0.3.1.ebuild | 33 ++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/media-video/obs-vaapi/Manifest b/media-video/obs-vaapi/Manifest
index 1896710fe..fa73864e4 100644
--- a/media-video/obs-vaapi/Manifest
+++ b/media-video/obs-vaapi/Manifest
@@ -1 +1,2 @@
 DIST obs-vaapi-0.2.0.tar.gz 14798 BLAKE2B 7ce063193be6ecf75e36836c4540066b27be513e54bdd3299c719b21301448e948561cc5e778ef36df8cb0380e6db24ec7e5a259bdbb18d3877eaeeb977ca36b SHA512 4274ad96c599efc415145853b812f34b0ae921d54b2661d4d383f8346835e6848ae3eed2f0547939fd229341a4b0a3cd47145a4796fa41d9c3639ff92ae398c3
+DIST obs-vaapi-0.3.1.tar.gz 15017 BLAKE2B cc537616b0cfcb9ebaa10565f5e5fa408b25f6c94eb5c878beddf21554db77356a843b5489ed85eeb04b24d59de463ef81215199665c947607905cd232f6b90a SHA512 9d41bd95ef4a8ce3bd7e24ea313bb185fc1a5a1b1adf82f2d69099ba366b4a13096264e716d4a87580eebaf3e54cb0953a15e104a7c3963ba25bdf04ef6b4db4

diff --git a/media-video/obs-vaapi/obs-vaapi-0.3.1.ebuild b/media-video/obs-vaapi/obs-vaapi-0.3.1.ebuild
new file mode 100644
index 000000000..339a16c63
--- /dev/null
+++ b/media-video/obs-vaapi/obs-vaapi-0.3.1.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
+}