ktnef build and check

This commit is contained in:
groni
2015-08-24 14:06:59 +02:00
parent 902bfb6b42
commit 300849210b
2 changed files with 92 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/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
from pisi.actionsapi import pisitools
from pisi.actionsapi import kde5
def setup():
kde5.configure("-DCMAKE_BUILD_TYPE=Release \
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules \
-DQT_PLUGIN_INSTALL_DIR=lib/qt5/plugins \
-DLIB_INSTALL_DIR=lib \
-DSYSCONF_INSTALL_DIR=/etc \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DCMAKE_SKIP_RPATH=ON \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DQML_INSTALL_DIR=/usr/lib/qt5/qml \
-DBUILD_TESTING=OFF")
def build():
kde5.make()
def install():
kde5.install()
pisitools.dodoc("COPYING.LIB", "AUTHORS")
+64
View File
@@ -0,0 +1,64 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ktnef</Name>
<Homepage>http://www.kde.org</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admin@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>API for handling TNEF data</Summary>
<Description>The API permits access to the actual attachments, the message properties (TNEF/MAPI), and allows one to view/extract message formatted text in Rich Text Format format.</Description>
<Archive sha1sum="06c8f23387d9ca378c43863b6970ddb4246d190d" type="tarxz">http://download.kde.org/stable/applications/15.08.0/src/ktnef-15.08.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency>kdoctools-devel</Dependency>
<Dependency>extra-cmake-modules</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>ktnef</Name>
<RuntimeDependencies>
<Dependency>qt5-base</Dependency>
<Dependency>kcalutils</Dependency>
<Dependency>ki18n</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>kcalcore</Dependency>
<Dependency>kdelibs4-support</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/qt5</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>ktnef-devel</Name>
<Summary>Development files for ktnef</Summary>
<RuntimeDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency release="current">ktnef</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/cmake</Path>
<Path fileType="config">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2015-08-24</Date>
<Version>15.08.0</Version>
<Comment>First Release</Comment>
<Name>Stefan Gronewold (groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>