obs-studio.
This commit is contained in:
@@ -1,25 +1,32 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import cmaketools, mesontools, pisitools
|
||||
|
||||
j = ''.join([
|
||||
' -DCMAKE_BUILD_TYPE=Release',
|
||||
' -DCMAKE_INSTALL_PREFIX=/usr',
|
||||
' -DCMAKE_INSTALL_LIBDIR=lib',
|
||||
' -DCMAKE_C_COMPILER=gcc',
|
||||
' -DCMAKE_CXX_COMPILER=g++',
|
||||
' -DUNIX_STRUCTURE=ON',
|
||||
' -DENABLE_JACK=ON',
|
||||
' -DBUILD_VST=OFF',
|
||||
' -DBUILD_BROWSER=OFF',
|
||||
' -DOpenGL_GL_PREFERENCE=GLVND',
|
||||
' -B_build -G Ninja -L '
|
||||
])
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_VST=OFF \
|
||||
-DUNIX_STRUCTURE=1 \
|
||||
-DBUILD_BROWSER=OFF \
|
||||
-DOpenGL_GL_PREFERENCE=GLVND")
|
||||
cmaketools.configure(j)
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
mesontools.build("-C _build")
|
||||
|
||||
def install():
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
mesontools.install("-C _build")
|
||||
|
||||
pisitools.dodoc("CONTRIBUTING*", "COPYING*", "README*")
|
||||
|
||||
Reference in New Issue
Block a user