From 3c7e4aa8955da268d9c79ed01b402f567b9d8430 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Mon, 2 Jan 2023 13:26:16 +0300 Subject: [PATCH] add intel vpl1. --- hardware/graphics/onevpl/actions.py | 29 ++++++++++ hardware/graphics/onevpl/pspec.xml | 83 +++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) create mode 100644 hardware/graphics/onevpl/actions.py create mode 100644 hardware/graphics/onevpl/pspec.xml diff --git a/hardware/graphics/onevpl/actions.py b/hardware/graphics/onevpl/actions.py new file mode 100644 index 0000000000..a9c653f0bb --- /dev/null +++ b/hardware/graphics/onevpl/actions.py @@ -0,0 +1,29 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import cmaketools, mesontools, pisitools + +j = ''.join([ + ' -DCMAKE_BUILD_TYPE=Release', + ' -DONEAPI_INSTALL_ENVDIR=/usr/share//vpl', + ' -DONEAPI_INSTALL_MODFILEDIR=/usr/share/vpl/modulefiles', + ' -DBUILD_TOOLS_ONEVPL_EXPERIMENTAL=OFF', + ' -DBUILD_DISPATCHER_ONEVPL_EXPERIMENTAL=OFF', + ' -DBUILD_TESTS=ON', + ' -DBUILD_TOOLS=OFF', + ' -B_build -G Ninja -L ' + ]) + +def setup(): + cmaketools.configure(j) + +def build(): + mesontools.build("-C _build") + +def install(): + mesontools.install("-C _build") + + pisitools.dodoc("CHANGELOG.md", "CONTRIBUTING.md") diff --git a/hardware/graphics/onevpl/pspec.xml b/hardware/graphics/onevpl/pspec.xml new file mode 100644 index 0000000000..7594f5eba9 --- /dev/null +++ b/hardware/graphics/onevpl/pspec.xml @@ -0,0 +1,83 @@ + + + + + onevpl + https://github.com/oneapi-src/oneVPL + + fury + uglyside@yandex.ru + + MIT + library + hardware.graphics + Video Processing Library. + + The oneAPI Video Processing Library (oneVPL) is a programming interface for video decoding, encoding, and processing to build portable media pipelines on CPUs, GPUs, and other accelerators. + + + https://github.com/oneapi-src/oneVPL/archive/refs/tags/v2023.1.1.tar.gz + + + cmake + ninja + libva-devel + libxcb-devel + libdrm-devel + libX11-devel + wayland-devel + wayland-client + + libpciaccess-devel + wayland-protocols-devel + + + + + + + + onevpl + + libva + libxcb + libX11 + libgcc + libdrm + libdrm-intel + wayland-client + + + /usr/bin + /usr/lib + /usr/lib/vpl + /usr/share/doc/onevpl + /usr/share/vpl/licensing + /usr/share/vpl/vars.sh + /usr/share/vpl/modulefiles/vpl + + + + + onevpl-devel + + onevpl + + + /usr/lib/cmake/vpl + /usr/lib/pkgconfig/vpl.pc + /usr/include/vpl + /usr/share/vpl/examples + + + + + + 2023-01-02 + 2023.1.1 + First build. + fury + uglyside@yandex.ru + + +