add intel-media-sdk and rebuild libmfx.
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
#!/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
|
||||||
|
|
||||||
|
j = ''.join([
|
||||||
|
' -DCMAKE_BUILD_TYPE=Release',
|
||||||
|
' -DBUILD_TOOLS=ON',
|
||||||
|
' -DENABLE_X11_DRI3=ON',
|
||||||
|
' -DENABLE_OPENCL=ON',
|
||||||
|
' -DENABLE_WAYLAND=ON',
|
||||||
|
' -B_build -G Ninja -L '
|
||||||
|
])
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
cmaketools.configure(j)
|
||||||
|
|
||||||
|
def build():
|
||||||
|
mesontools.build("-C _build")
|
||||||
|
|
||||||
|
def install():
|
||||||
|
mesontools.install("-C _build")
|
||||||
@@ -0,0 +1,87 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>intel-media-sdk</Name>
|
||||||
|
<Homepage></Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>fury</Name>
|
||||||
|
<Email>uglyside@yandex.ru</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>MIT</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<PartOf>programming.tools</PartOf>
|
||||||
|
<Summary>The Intel Media SDK.</Summary>
|
||||||
|
<Description>Media SDK provides a plain C API to access hardware-accelerated video decode, encode and filtering on Intel® Gen graphics hardware platforms.</Description>
|
||||||
|
<Archive sha1sum="121bf42101bdd57426bf87d2bafb34c3faca82f9" type="targz">
|
||||||
|
https://github.com/Intel-Media-SDK/MediaSDK/archive/refs/tags/intel-mediasdk-22.5.4.tar.gz
|
||||||
|
</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>cmake</Dependency>
|
||||||
|
<Dependency>ninja</Dependency>
|
||||||
|
<Dependency>libva-devel</Dependency>
|
||||||
|
<Dependency>libdrm-devel</Dependency>
|
||||||
|
<Dependency>libxcb-devel</Dependency>
|
||||||
|
<Dependency>libX11-devel</Dependency>
|
||||||
|
<Dependency>opencl-icd-devel</Dependency>
|
||||||
|
<Dependency>libpciaccess-devel</Dependency>
|
||||||
|
<Dependency>wayland-protocols-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<!-- <Patch level='1'></Patch> -->
|
||||||
|
</Patches>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>intel-media-sdk</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
<Dependency>libva</Dependency>
|
||||||
|
<Dependency>libdrm</Dependency>
|
||||||
|
<Dependency>libdrm-intel</Dependency>
|
||||||
|
<Dependency>opencl-icd</Dependency>
|
||||||
|
<Dependency>wayland-client</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="library">/usr/lib/mfx</Path>
|
||||||
|
<Path fileType="data">/usr/lib/pkgconfig/limfxhw64.pc</Path>
|
||||||
|
<Path fileType="data">/usr/share/mfx</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libmfx</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib/libmfx.so</Path>
|
||||||
|
<Path fileType="library">/usr/lib/libmfx.so.1</Path>
|
||||||
|
<Path fileType="library">/usr/lib/libmfx.so.1.35</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libmfx-devel</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">libnfx</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="data">/usr/lib/pkgconfig/mfx.pc</Path>
|
||||||
|
<Path fileType="data">/usr/lib/pkgconfig/libmfx.pc</Path>
|
||||||
|
<Path fileType="headers">/usr/include/mfx</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2023-01-03</Date>
|
||||||
|
<Version>22.5.4</Version>
|
||||||
|
<Comment>First build.</Comment>
|
||||||
|
<Name>fury</Name>
|
||||||
|
<Email>uglyside@yandex.ru</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user