cares upstream 1.34.4

This commit is contained in:
uglyside
2025-01-30 17:20:18 +03:00
parent 03386f5513
commit cfbbbf3018
2 changed files with 26 additions and 18 deletions
+11 -11
View File
@@ -2,23 +2,23 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
from pisi.actionsapi import cmaketools, mesontools, pisitools
i = ''.join([
' -DCMAKE_BUILD_TYPE=Release',
' -DCMAKE_INSTALL_PREFIX=/usr',
' -Bbuild -G Ninja -L '
])
def setup():
shelltools.export("CXXFLAGS", get.CXXFLAGS().replace("-D_FORTIFY_SOURCE=2", ""))
shelltools.export("CFLAGS", get.CFLAGS().replace("-D_FORTIFY_SOURCE=2", ""))
cmaketools.configure()
cmaketools.configure(i)
def build():
cmaketools.make()
mesontools.build()
def install():
cmaketools.install()
mesontools.install()
pisitools.dodoc("AUTHORS", "README*", "NEWS", "CHANGES", "RELEASE-NOTES", "LICENSE.md")
pisitools.dodoc("AUTHORS", "LICENSE.md")