main update

This commit is contained in:
erkanışık1
2019-07-13 20:11:35 +03:00
parent 2dfd23cd09
commit 87790bbb3a
2 changed files with 20 additions and 15 deletions
+19 -15
View File
@@ -1,25 +1,29 @@
#!/usr/bin/python #!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import autotools from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get from pisi.actionsapi import get
def setup(): def setup():
autotools.configure("--disable-static \ shelltools.makedirs("build")
--enable-systemd=no \ shelltools.cd("build")
--libexecdir=/usr/lib/accountsservice") shelltools.system("meson --prefix=/usr \
-Dsystemdsystemunitdir=no \
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") -Dgtk_doc=true \
--libexecdir=/usr/lib/accountsservice ..")
def build():
autotools.configure()
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README") 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("README*", "NEWS", "COPYING", "TODO", "AUTHORS")
@@ -14,6 +14,7 @@
<Description>accountsservice server provides a set of D-Bus interfaces for querying and manipulating user account information.</Description> <Description>accountsservice server provides a set of D-Bus interfaces for querying and manipulating user account information.</Description>
<Archive sha1sum="bab4f37144196d8ba06195bc72b4a9937c62b9fd" type="tarxz">https://www.freedesktop.org/software/accountsservice/accountsservice-0.6.55.tar.xz</Archive> <Archive sha1sum="bab4f37144196d8ba06195bc72b4a9937c62b9fd" type="tarxz">https://www.freedesktop.org/software/accountsservice/accountsservice-0.6.55.tar.xz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>meson</Dependency>
<Dependency>intltool</Dependency> <Dependency>intltool</Dependency>
<Dependency>gtk-doc</Dependency> <Dependency>gtk-doc</Dependency>
<Dependency>python-six</Dependency> <Dependency>python-six</Dependency>