Added various packages required for Pantheon development

This commit is contained in:
friberk
2021-04-23 23:34:29 +03:00
parent 61ecfe444f
commit 50978d2467
23 changed files with 1215 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# 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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
j = ''.join([
'--disable-r ',
'--disable-io ',
'--disable-lua ',
'--disable-php ',
'--disable-rpath ',
'--disable-sharp ',
'--disable-ocaml ',
'--disable-static ',
'--disable-dependency-tracking ',
'--with-libgd ',
'--with-fontconfig ',
'--with-pangocairo ',
'--without-devil ',
])
def setup():
shelltools.export("CONFIG_SHELL", "/bin/bash")
shelltools.system("NOCONFIGURE=1 ./autogen.sh")
autotools.configure(j)
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dohtml(".")
pisitools.dodoc("AUTHORS", "CHANGELOG.md", "DEVELOPERS.md", "INSTALL", "LICENSE", "README.md")
pisitools.removeDir("/usr/share/graphviz/doc")