Files
2023-01-03 10:48:25 +03:00

26 lines
540 B
Python

#!/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")