add xdg-desktop-portal

This commit is contained in:
Ertuğrul Erata
2018-02-11 22:19:50 +03:00
parent f0acb0ed68
commit 4f7d7785a8
2 changed files with 75 additions and 0 deletions
@@ -0,0 +1,24 @@
#!/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.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("sh autogen.sh")
autotools.configure("--with-systemduserunitdir=none")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING", "README*", "NEWS")
@@ -0,0 +1,51 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>xdg-desktop-portal</Name>
<Homepage></Homepage>
<Packager>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Packager>
<License>LGPLv2</License>
<Summary>A portal frontend service for Flatpak and possibly other desktop containment frameworks</Summary>
<Description>A portal frontend service for Flatpak and possibly other desktop containment frameworks</Description>
<Archive sha1sum="a2e8fa3416df66d9ccbeb6393b7bb7370d5e596a" type="targz">https://github.com/flatpak/xdg-desktop-portal/archive/0.9.tar.gz</Archive>
<BuildDependencies>
<Dependency>xmlto</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>util-linux</Dependency>
<Dependency>flatpak-devel</Dependency>
<Dependency>gettext-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>xdg-desktop-portal</Name>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>flatpak</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="library">/usr/libexec</Path>
<Path fileType="data">/usr/share/dbus-1</Path>
<Path fileType="data">/usr/share/pkgconfig</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="locale">/usr/share/locale</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-02-04</Date>
<Version>0.9</Version>
<Comment>First release</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
</History>
</PISI>