Sync from SUSE:SLFO:Main gstreamer-plugins-vaapi revision 25bf946e7a9e4aecfd5373111102d27d

This commit is contained in:
Adrian Schröter 2024-05-03 13:24:30 +02:00
commit dd9ff7f6c6
5 changed files with 1232 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,95 @@
#
# spec file for package gstreamer-plugins-vaapi
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define gst_branch 1.0
Name: gstreamer-plugins-vaapi
Version: 1.22.9
Release: 0
Summary: Gstreamer VA-API plugins
License: LGPL-2.1-or-later
Group: Productivity/Multimedia/Other
URL: https://gstreamer.freedesktop.org
Source0: %{url}/src/gstreamer-vaapi/gstreamer-vaapi-%{version}.tar.xz
# PATCH-FIX-OPENSUSE reduce-required-meson.patch alarrosa@suse.com -- build with meson 0.61
Patch0: reduce-required-meson.patch
BuildRequires: Mesa-devel
BuildRequires: Mesa-libGLESv3-devel
BuildRequires: meson >= 0.47.0
BuildRequires: pkgconfig
BuildRequires: vaapi-wayland-tools
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gstreamer-1.0) >= %{version}
BuildRequires: pkgconfig(gstreamer-codecparsers-1.0) >= %{version}
BuildRequires: pkgconfig(gstreamer-plugins-bad-1.0) >= %{version}
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= %{version}
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(libva) >= 0.30.4
BuildRequires: pkgconfig(libva-drm) >= 0.33.0
BuildRequires: pkgconfig(libva-glx)
BuildRequires: pkgconfig(libva-wayland)
BuildRequires: pkgconfig(libva-x11)
BuildRequires: pkgconfig(vpx)
BuildRequires: pkgconfig(wayland-client) >= 1.0.2
BuildRequires: pkgconfig(wayland-cursor)
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(wayland-protocols) >= 1.15
BuildRequires: pkgconfig(wayland-scanner)
BuildRequires: pkgconfig(wayland-server)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xrender)
ExclusiveArch: %{ix86} x86_64 aarch64
%description
gstreamer-vaapi is a collection of GStreamer plugins and helper
libraries that allow hardware accelerated video decoding through
VA-API.
%prep
%autosetup -n gstreamer-vaapi-%{version} -p1
%build
%meson \
-Dpackage-origin='http://download.opensuse.org' \
-Ddoc=disabled \
-Degl=enabled \
-Dencoders=enabled \
-Ddrm=enabled \
-Dglx=enabled \
-Dwayland=enabled \
-Dx11=enabled \
-Dexamples=disabled \
-Dtests=disabled \
%{nil}
%meson_build
%install
%meson_install
%files
%license COPYING.LIB
%doc AUTHORS NEWS README
%{_libdir}/gstreamer-%{gst_branch}/libgstvaapi.so
%changelog

BIN
gstreamer-vaapi-1.22.9.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,12 @@
Index: gstreamer-1.22.9/meson.build
===================================================================
--- gstreamer-1.22.9.orig/meson.build
+++ gstreamer-1.22.9/meson.build
@@ -1,6 +1,6 @@
project('gstreamer-vaapi', 'c',
version : '1.22.9',
- meson_version : '>= 0.62',
+ meson_version : '>= 0.61',
default_options : [ 'warning_level=1',
'buildtype=debugoptimized' ])