summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2021-11-22 16:06:49 -0500
committerMike Gilbert <floppym@gentoo.org>2021-11-22 16:08:47 -0500
commit6ebee8f56b07d37f890bf092671189c39ad7579a (patch)
tree8352ec7615410e0daefc6287aee760f962a03176 /media-plugins
parentdev-python/tzlocal: Remove old (diff)
downloadgentoo-6ebee8f56b07d37f890bf092671189c39ad7579a.tar.gz
gentoo-6ebee8f56b07d37f890bf092671189c39ad7579a.tar.bz2
gentoo-6ebee8f56b07d37f890bf092671189c39ad7579a.zip
media-plugins/gst-plugins-vaapi: inherit python-any-r1
Closes: https://bugs.gentoo.org/823701 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/gst-plugins-vaapi/files/1.18.4-Avoid-calling-python3-script-to-enable-git-hook.patch26
-rw-r--r--media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.18.4-r2.ebuild8
2 files changed, 3 insertions, 31 deletions
diff --git a/media-plugins/gst-plugins-vaapi/files/1.18.4-Avoid-calling-python3-script-to-enable-git-hook.patch b/media-plugins/gst-plugins-vaapi/files/1.18.4-Avoid-calling-python3-script-to-enable-git-hook.patch
deleted file mode 100644
index 4a1d19fa487a..000000000000
--- a/media-plugins/gst-plugins-vaapi/files/1.18.4-Avoid-calling-python3-script-to-enable-git-hook.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From a417420d30ed258143259de4706795e0515ad795 Mon Sep 17 00:00:00 2001
-From: Mike Gilbert <floppym@gentoo.org>
-Date: Mon, 22 Nov 2021 12:31:57 -0500
-Subject: [PATCH] Avoid calling python3 script to enable git hook
-
-This has not been submitted upstream: the gstreamer-vaapi repo appears
-to be merging into the gstreamer "mono" repo, where this issue does not
-exist.
----
- meson.build | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index 60e26e0f..05aefff7 100644
---- a/meson.build
-+++ b/meson.build
-@@ -207,6 +207,3 @@ if gst_version_nano == 0
- endif
-
- configure_file(output: 'config.h', configuration: cdata)
--
--python3 = import('python').find_installation()
--run_command(python3, '-c', 'import shutil; shutil.copy("hooks/pre-commit.hook", ".git/hooks/pre-commit")')
---
-2.34.0
-
diff --git a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.18.4-r2.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.18.4-r2.ebuild
index 4fca3ec4362a..f56f160b793d 100644
--- a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.18.4-r2.ebuild
+++ b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.18.4-r2.ebuild
@@ -2,8 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+PYTHON_COMPAT=( python3_{8..10} )
-inherit gstreamer-meson
+inherit gstreamer-meson python-any-r1
MY_PN="gstreamer-vaapi"
DESCRIPTION="Hardware accelerated video decoding through VA-API plugin for GStreamer"
@@ -66,16 +67,13 @@ RDEPEND="
DEPEND="${RDEPEND}
>=dev-util/gtk-doc-am-1.12
"
+BDEPEND="${PYTHON_DEPS}"
S="${WORKDIR}/${MY_PN}-${PV}"
# FIXME: "Failed to create vaapipostproc element"
RESTRICT="test"
-PATCHES=(
- "${FILESDIR}/1.18.4-Avoid-calling-python3-script-to-enable-git-hook.patch"
-)
-
multilib_src_configure() {
local emesonargs=(
-Dwith_encoders=yes