This commit is contained in:
2018-04-26 00:33:11 +03:00
parent 9018dec395
commit d2aba2c996
3 changed files with 101 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/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 cmaketools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib\
-DUSE_QT5=ON", sourceDir="..")
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("AUTHORS", "COPYING")
+61
View File
@@ -0,0 +1,61 @@
<PISI>
<Source>
<Name>libqtxdg</Name>
<Homepage>http://www.lxqt.org</Homepage>
<Packager>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<License>GPL2</License>
<IsA>library</IsA>
<Icon>lxqt</Icon>
<Summary>Library providing freedesktop.org specs implementations for Qt.</Summary>
<Description>Library providing freedesktop.org specs implementations for Qt.</Description>
<Icon>lxqt-sudo</Icon>
<Archive sha1sum="caba3506c9c6b3fc8712185e679a90536bd0168f" type="tarxz">https://github.com/lxde/libqtxdg/releases/download/3.1.0/libqtxdg-3.1.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>libgcc</Dependency>
<Dependency>cmake</Dependency>
<Dependency>qt5-assistant-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-xmlpatterns-devel</Dependency>
<Dependency>qt5-svg-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>xdg-user-dirs</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libqtxdg</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>qt5-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/</Path>
</Files>
</Package>
<Package>
<Name>libqtxdg-devel</Name>
<Summary>Development headers for libqtxdg</Summary>
<RuntimeDependencies>
<Dependency release="current">libqtxdg</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-svg-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-04-23</Date>
<Version>3.1.0</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<PISI>
<Source>
<Name>libqtxdg</Name>
<Summary xml:lang="tr">QT için freedesktop.org özelliklerini sağlayan kütüphane.</Summary>
<Description xml:lang="tr">libqtxdg, QT için freedesktop.org özelliklerini sağlayan kütüphane dosyalarını içerir.</Description>
</Source>
</PISI>
<PISI>
<Source>
<Name>libqtxdg-devel</Name>
<Summary xml:lang="tr">QT için freedesktop.org özelliklerini sağlayan kütüphane.</Summary>
<Description xml:lang="tr">libqtxdg, QT için freedesktop.org özelliklerini sağlayan kütüphane dosyalarını içerir.</Description>
</Source>
</PISI>