add intel-media-driver.

This commit is contained in:
4fury-c3440d8
2023-01-02 13:26:49 +03:00
parent 3c7e4aa895
commit 2b85b82422
2 changed files with 85 additions and 0 deletions
@@ -0,0 +1,22 @@
#!/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',
' -DMEDIA_BUILD_FATAL_WARNINGS=OFF',
' -B_build -G Ninja -Wno-dev -L '
])
def setup():
cmaketools.configure(j)
def build():
mesontools.build("-C _build")
def install():
mesontools.install("-C _build")