add intel-media-sdk and rebuild libmfx.

This commit is contained in:
4fury-c3440d8
2023-01-03 10:48:25 +03:00
parent 1e520b9473
commit a3f6de6b97
2 changed files with 112 additions and 0 deletions
@@ -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")