aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/obs-vaapi')
-rw-r--r--media-video/obs-vaapi/Manifest1
-rw-r--r--media-video/obs-vaapi/obs-vaapi-0.4.2.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/media-video/obs-vaapi/Manifest b/media-video/obs-vaapi/Manifest
index 771314d1e..c5dc32279 100644
--- a/media-video/obs-vaapi/Manifest
+++ b/media-video/obs-vaapi/Manifest
@@ -1 +1,2 @@
DIST obs-vaapi-0.4.1.tar.gz 15176 BLAKE2B e2163de8a419cec46e89774875399377506770e44700cf5974304b53d04243d70e7a88f9443b87a60ce94cc399b653cf06553083965e550213414d5efe1f83c3 SHA512 1b23873e6f328a236d39ebb0dd708a0b82a9f88881faf58ff8bcf36b04268e639b036a6cf17bb1e6316c444add6dd31c26aaed07b295781240415ed2be52ec52
+DIST obs-vaapi-0.4.2.tar.gz 15398 BLAKE2B acca9a79720d93b11ea2f83df17d35b82e7b406fdf88581fcd6870f8ce43aa6df255049258ba845c775a48b88db4a99d52d6c412fd1fd02b2b06b1398b4c2831 SHA512 10c14be493186cdf6c36f04282f802e8fb5bec029dd11be92e781d3151e30801d7f0f8df45942b45bcb587e088282d3031ba8f7e33c5fb9afe99c80fa5c56b2e
diff --git a/media-video/obs-vaapi/obs-vaapi-0.4.2.ebuild b/media-video/obs-vaapi/obs-vaapi-0.4.2.ebuild
new file mode 100644
index 000000000..21119f7b8
--- /dev/null
+++ b/media-video/obs-vaapi/obs-vaapi-0.4.2.ebuild
@@ -0,0 +1,39 @@
+# 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"
+COMMON_DEPEND="
+ media-video/obs-studio
+ media-libs/gst-plugins-base
+ sys-apps/pciutils
+"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+ dev-libs/glib
+ >=media-libs/gst-plugins-bad-1.22.3-r3[vaapi]
+ video_cards_amdgpu? ( media-libs/mesa[vaapi,video_cards_radeonsi] )
+ video_cards_intel? ( media-libs/libva-intel-media-driver )
+"
+
+src_configure() {
+ local emesonargs+=(
+ --libdir=/usr/$(get_libdir)/obs-plugins
+ )
+ meson_src_configure
+}