add intel vpl1.
This commit is contained in:
@@ -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")
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>onevpl</Name>
|
||||||
|
<Homepage>https://github.com/oneapi-src/oneVPL</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>fury</Name>
|
||||||
|
<Email>uglyside@yandex.ru</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>MIT</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<PartOf>hardware.graphics</PartOf>
|
||||||
|
<Summary>Video Processing Library.</Summary>
|
||||||
|
<Description>
|
||||||
|
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.
|
||||||
|
</Description>
|
||||||
|
<Archive sha1sum="6a5886981b9ab9ad643a1e6c2eca31ca2f479350" type="targz">
|
||||||
|
https://github.com/oneapi-src/oneVPL/archive/refs/tags/v2023.1.1.tar.gz
|
||||||
|
</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>cmake</Dependency>
|
||||||
|
<Dependency>ninja</Dependency>
|
||||||
|
<Dependency>libva-devel</Dependency>
|
||||||
|
<Dependency>libxcb-devel</Dependency>
|
||||||
|
<Dependency>libdrm-devel</Dependency>
|
||||||
|
<Dependency>libX11-devel</Dependency>
|
||||||
|
<Dependency>wayland-devel</Dependency>
|
||||||
|
<Dependency>wayland-client</Dependency>
|
||||||
|
<!-- <Dependency>wayland-server</Dependency> -->
|
||||||
|
<Dependency>libpciaccess-devel</Dependency>
|
||||||
|
<Dependency>wayland-protocols-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<!-- <Patch level='1'></Patch> -->
|
||||||
|
</Patches>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>onevpl</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>libva</Dependency>
|
||||||
|
<Dependency>libxcb</Dependency>
|
||||||
|
<Dependency>libX11</Dependency>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
<Dependency>libdrm</Dependency>
|
||||||
|
<Dependency>libdrm-intel</Dependency>
|
||||||
|
<Dependency>wayland-client</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="library">/usr/lib/vpl</Path>
|
||||||
|
<Path fileType="data">/usr/share/doc/onevpl</Path>
|
||||||
|
<Path fileType="data">/usr/share/vpl/licensing</Path>
|
||||||
|
<Path fileType="data">/usr/share/vpl/vars.sh</Path>
|
||||||
|
<Path fileType="data">/usr/share/vpl/modulefiles/vpl</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>onevpl-devel</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">onevpl</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib/cmake/vpl</Path>
|
||||||
|
<Path fileType="library">/usr/lib/pkgconfig/vpl.pc</Path>
|
||||||
|
<Path fileType="headers">/usr/include/vpl</Path>
|
||||||
|
<Path fileType="data">/usr/share/vpl/examples</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2023-01-02</Date>
|
||||||
|
<Version>2023.1.1</Version>
|
||||||
|
<Comment>First build.</Comment>
|
||||||
|
<Name>fury</Name>
|
||||||
|
<Email>uglyside@yandex.ru</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user