Fixed flatpak

This commit is contained in:
Berk Çakar
2021-04-29 02:07:51 +03:00
parent 8f8edfb272
commit 162252cdbd
3 changed files with 34 additions and 4 deletions
+7 -4
View File
@@ -1,7 +1,6 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2018 TUBITAK/UEKAE
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/copyleft/gpl.txt.
@@ -13,9 +12,13 @@ from pisi.actionsapi import get
def setup():
shelltools.system("NOCONFIGURE=1 ./autogen.sh")
autotools.configure("--with-priv-mode=setuid \
autotools.configure(" --enable-selinux-module=no \
--with-system-bubblewrap \
--disable-static")
--disable-static \
--with-priv-mode=setuid \
--with-profile-dir=/etc/profile.d \
--with-dbus-config-dir=/usr/share/dbus-1/system.d \
--disable-nls")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
@@ -25,6 +28,6 @@ def build():
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
#pisitools.removeDir("/usr/share/selinux")
pisitools.removeDir("/usr/lib/systemd")
pisitools.dodoc("COPYING", "README*", "NEWS")