xournal++.

This commit is contained in:
4fury-c3440d8
2022-11-28 20:39:59 +03:00
parent 9824a5b0fd
commit 6a5f51eaff
2 changed files with 14 additions and 17 deletions
+5 -14
View File
@@ -4,25 +4,16 @@
# 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 shelltools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import cmaketools, pisitools, get
def setup():
# shelltools.export("CFLAGS", "-lpthread")
pisitools.cxxflags.add("-Wno-unused-result -Wno-deprecated-declarations")
cmaketools.configure("-B_build -DCMAKE_BUILD_TYPE=Release")
def build():
shelltools.cd("_build")
cmaketools.make()
cmaketools.make("translations")
cmaketools.make("-C _build")
cmaketools.make("-C _build translations")
def install():
shelltools.cd("_build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("../AUTHORS", "../CHANGELOG.md", "../LICENSE", "../README.md")
cmaketools.install("-C _build install")
pisitools.dodoc("AUTHORS", "CHANGELOG.md")