gnome base

This commit is contained in:
Rmys
2019-08-01 15:52:06 +03:00
parent 243b7cde20
commit f3e58cc591
15 changed files with 82 additions and 66 deletions
+26 -26
View File
@@ -1,26 +1,26 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure("--prefix=/usr \
--disable-static \
--disable-schemas-compile")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING*", "NEWS", "README")
pisitools.insinto("/usr/share/pixmaps/", "data/icons/48x48/apps/file-roller.png", "file-roller.png")
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
shelltools.system("meson .. --prefix=/usr")
def build():
shelltools.cd("build")
shelltools.system("ninja")
def install():
shelltools.cd("build")
shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("COPYING", "NEWS", "README")