xdg-desktop-portal-lxqt:new package

This commit is contained in:
2022-04-26 10:22:20 +03:00
parent 6edbdaee89
commit b1d441998f
3 changed files with 91 additions and 0 deletions
@@ -0,0 +1,23 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import shelltools, get, cmaketools
#from pisi.actionsapi import get
#from pisi.actionsapi import cmaketools
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBEXECDIR=lib", sourceDir="..")
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
@@ -0,0 +1,54 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>xdg-desktop-portal-lxqt</Name>
<Homepage>https://github.com/lxqt/xdg-desktop-portal-lxqt</Homepage>
<Packager>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<License>LGPL</License>
<IsA>library</IsA>
<Icon>lxqt</Icon>
<Summary>A backend implementation for xdg-desktop-portal using Qt/KF5/libfm-qt</Summary>
<Description>A backend implementation for xdg-desktop-portal using Qt/KF5/libfm-qt</Description>
<Archive sha1sum="b5c11bb9e6aac10da1cd1acc5c8ce3030e33386c" type="tarxz">https://github.com/lxqt/xdg-desktop-portal-lxqt/releases/download/0.2.0/xdg-desktop-portal-lxqt-0.2.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency versionFrom="5.15.2">qt5-base-devel</Dependency>
<Dependency>qt5-x11extras-devel</Dependency>
<Dependency>libfm-qt-devel</Dependency>
<Dependency>kwindowsystem-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>menu-cache-devel</Dependency>
<Dependency>libexif-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>xdg-desktop-portal-lxqt</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>libfm-qt</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>kwindowsystem</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/cmake</Path>
<Path fileType="data">/usr/share/dbus-1</Path>
<Path fileType="data">/usr/share/xdg-desktop-portal</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-04-26</Date>
<Version>0.2.0</Version>
<Comment>First release.</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,14 @@
<PISI>
<Source>
<Name>libfm-qt</Name>
<Summary xml:lang="tr">LXDE dosya yönetimi kitaplıkları</Summary>
<Description xml:lang="tr">libfm-qt, LXDE için dosya yönetim kitaplıklarını içerir.</Description>
</Source>
</PISI>
<PISI>
<Source>
<Name>llibfm-qt-devel</Name>
<Summary xml:lang="tr">LXDE dosya yönetimi kitaplıkları</Summary>
<Description xml:lang="tr">libfm-qt, LXDE için dosya yönetim kitaplıklarını içerir.</Description>
</Source>
</PISI>