qtermwidgets5 moved into main for pisi 2.0

This commit is contained in:
2015-09-06 19:24:27 +03:00
parent 4f682e8849
commit db8ddb0910
3 changed files with 102 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import shelltools
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_DESIGNER_PLUGIN=0 \
-DUSE_QT5=true", sourceDir="..")
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.domove("/usr/lib64/*", "usr/lib/")
pisitools.removeDir("/usr/lib64")
shelltools.cd("..")
pisitools.dodoc("AUTHORS", "README", "COPYING")
# By PiSiDo 2.3.1
+59
View File
@@ -0,0 +1,59 @@
<PISI>
<Source>
<Name>qtermwidget5</Name>
<Homepage>https://github.com/qterminal/qtermwidget</Homepage>
<Packager>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<IsA>app:gui</IsA>
<Summary>Terminal widget for Qt5</Summary>
<Description>A simple terminal widget for using with Qt5 based applications</Description>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>qt5-base-devel</Dependency>
</BuildDependencies>
<Archive sha1sum="fc3afd69fcc449d7f3f225ae2f36e529cbce411d" type="tarxz">https://github.com/qterminal/qtermwidget/releases/download/0.6.0/qtermwidget-0.6.0.tar.xz</Archive>
</Source>
<Package>
<Name>qtermwidget5</Name>
<Summary>Development files for qtermwidget5</Summary>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>qt5-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/consoleq</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>qtermwidget5-devel</Name>
<Summary>Development files for qtermwidget5</Summary>
<RuntimeDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency release="current">qtermwidget5</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2015-05-13</Date>
<Version>0.6.0</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
<!-- By PiSiDo 2.3.1 -->
@@ -0,0 +1,12 @@
<PISI>
<Source>
<Name>qtermwidget5</Name>
<Summary xml:lang="tr">Qt tabanlı uygulamalar için basit bir terminal modulü</Summary>
</Source>
<Package>
<Name>qtermwidget5-devel</Name>
<Summary xml:lang="tr">qtermwidget5 için geliştirme dosyaları</Summary>
</Package>
</PISI>
<!-- By PiSiDo 2.3.1 -->