inkscape.

This commit is contained in:
4fury-c3440d8
2021-10-16 22:55:45 +03:00
parent 1921606425
commit 80ebe18447
2 changed files with 30 additions and 15 deletions
+15 -13
View File
@@ -10,22 +10,24 @@ from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
j = ''.join([
'-DWITH_DBUS=ON ',
'-DBUILD_TESTING=OFF -L ',
'-DWITH_GSPELL=OFF ',
'-DBUILD_SHARED_LIBS=ON ',
'-DWITH_IMAGE_MAGICK=OFF ',
'-DBUILD_STATIC_LIBS=OFF ',
'-DCMAKE_INSTALL_LIBDIR=lib ',
'-DCYTHON_EXECUTABLE=/usr/bin/cython3 ',
'-DCMAKE_BUILD_TYPE=Release ',
'-DCMAKE_INSTALL_PREFIX=/usr '
' -DWITH_DBUS=ON',
' -DBUILD_TESTING=OFF',
' -DWITH_GSPELL=OFF',
' -DBUILD_SHARED_LIBS=ON',
' -DWITH_IMAGE_MAGICK=OFF',
' -DBUILD_STATIC_LIBS=OFF',
' -DCMAKE_INSTALL_LIBDIR=lib',
' -DCYTHON_EXECUTABLE=/usr/bin/cython3',
' -D2GEOM_BOOST_PYTHON=ON',
' -D2GEOM_CYTHON_BINDINGS=ON',
' -DCMAKE_BUILD_TYPE=Release',
' -DCMAKE_INSTALL_PREFIX=/usr -L '
])
def setup():
# fix shebang
#fix shebang
# shelltools.system("find share/extensions -iname '*.py' -exec sed -i 's|env\ python$|env python3|g' {} \;")
# if with imagemagick build.
#if with imagemagick build.
# shelltools.export("PKG_CONFIG_PATH", "${PKG_CONFIG_PATH}:/usr/lib/imagemagick6/pkgconfig")
shelltools.makedirs("build")
shelltools.cd("build")
@@ -39,4 +41,4 @@ def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("../COPYING", "../README.md")
pisitools.dodoc("../AUTHORS", "../NEWS.md", "../README.md")