main update
This commit is contained in:
@@ -1,25 +1,29 @@
|
||||
#!/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
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static \
|
||||
--enable-systemd=no \
|
||||
--libexecdir=/usr/lib/accountsservice")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.configure()
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
shelltools.system("meson --prefix=/usr \
|
||||
-Dsystemdsystemunitdir=no \
|
||||
-Dgtk_doc=true \
|
||||
--libexecdir=/usr/lib/accountsservice ..")
|
||||
|
||||
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>
|
||||
<Archive sha1sum="bab4f37144196d8ba06195bc72b4a9937c62b9fd" type="tarxz">https://www.freedesktop.org/software/accountsservice/accountsservice-0.6.55.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>meson</Dependency>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>gtk-doc</Dependency>
|
||||
<Dependency>python-six</Dependency>
|
||||
|
||||
Reference in New Issue
Block a user