summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-07-29 06:40:42 +0000
committerCoprDistGit <infra@openeuler.org>2024-07-29 06:40:42 +0000
commit7d1842e9a008b3dd6b21be92c3dbd30d5525f589 (patch)
tree1ac4363943df27acdd5cf0c8b21f1b233e8bc4dd
parent5e3c46ac5290bd1a1ff6b62de6767a2f2a7c5eec (diff)
automatic import of libvaopeneuler24.03_LTS
-rw-r--r--.gitignore1
-rw-r--r--libva.spec86
-rw-r--r--sources1
3 files changed, 88 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4b86b1b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libva-2.22.0.tar.bz2
diff --git a/libva.spec b/libva.spec
new file mode 100644
index 0000000..bc11791
--- /dev/null
+++ b/libva.spec
@@ -0,0 +1,86 @@
+Name: libva
+Version: 2.22.0
+Release: 1
+Summary: Libva is an implementation for VA-API (Video Acceleration API)
+License: MIT AND HPND-sell-variant AND ICU
+URL: https://github.com/intel/libva
+Source0: https://github.com/intel/libva/releases/download/%{version}/%{name}-%{version}.tar.bz2
+
+BuildRequires: meson >= 0.53.0
+BuildRequires: pkgconfig(gl)
+BuildRequires: pkgconfig(libdrm) >= 2.4.75
+%{!?_without_xorg:
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(x11-xcb)
+BuildRequires: pkgconfig(xcb)
+BuildRequires: pkgconfig(xcb-dri3)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xfixes)
+}
+%{!?_without_wayland:
+BuildRequires: pkgconfig(wayland-client) >= 1.11.0
+BuildRequires: pkgconfig(wayland-scanner) >= 1.15
+}
+Requires: mesa-dri-filesystem
+
+%description
+Libva is an implementation for VA-API, which is an open-source library and API
+specification, provides access to graphics hardware acceleration capabilities
+for video processing. It consists of a main library and driver-specific
+acceleration backends for each supported hardware vendor.
+
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name} = %{version}-%{release}
+
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%autosetup -n %{name}-%{version} -p1
+
+%build
+%meson \
+%{?_without_xorg: -Dwith_glx=no -Dwith_x11=no} \
+%{?_without_wayland: -Dwith_wayland=no}
+
+%meson_build
+
+%install
+%meson_install
+
+%files
+%doc NEWS
+%license COPYING
+%ghost %{_sysconfdir}/libva.conf
+%{_libdir}/libva*.so.*
+
+
+%files devel
+%{_includedir}/va
+%{_libdir}/libva*.so
+%{_libdir}/pkgconfig/libva*.pc
+
+
+%changelog
+* Mon Jul 29 2024 Funda Wang <fundawang@yeah.net> - 2.22.0-1
+- update to 2.22.0
+
+* Thu Oct 12 2023 yaoxin <yao_xin001@hoperun.com> - 2.20.0-1
+- Upgrade to 2.20.0
+
+* Mon Jan 9 2023 mengwenhua<mengwenhua@xfusion.com> - 2.13.0-2
+- Add the missing trace log for the VA encoder API.
+
+* Tue Sep 14 2021 hanhui<hanhui15@huawei> - 2.13.0-1
+- upgrade to libva-2.13.0
+
+* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.5.0-2
+- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
+
+* Thu Nov 28 2019 openEuler BuildTeam<buildteam@openeuler.org> - 2.3.0-2
+- Package Init
diff --git a/sources b/sources
new file mode 100644
index 0000000..fceaf1c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+75f0446438ea5d64688af4bf4f083fc9 libva-2.22.0.tar.bz2