kfilemetadata rebuild and check

This commit is contained in:
groni
2015-07-01 12:59:13 +02:00
parent ca5a0e28d3
commit 8cda9d8754
2 changed files with 95 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/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 cmaketools
def setup():
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules \
-DLIB_INSTALL_DIR=lib \
-DPYTHON_EXECUTABLE=/usr/bin/python \
-DBUILD_TESTING=OFF")
def build():
cmaketools.make()
def install():
cmaketools.install()
pisitools.dodoc("COPYING-CMAKE-SCRIPTS", "COPYING.LGPL-3")
+71
View File
@@ -0,0 +1,71 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>kfilemetadata</Name>
<Homepage>http://www.kde.org</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>KDE5 library for extracting meta data from files.</Summary>
<Description>KDE library for extracting meta data from files.</Description>
<Archive sha1sum="f8909080677f023c0a8a25a4778de07c8567b8e9" type="tarxz">http://download.kde.org/stable/plasma/5.3.1/kfilemetadata-5.9.1.tar.xz</Archive>
<BuildDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency>python</Dependency>
<Dependency>extra-cmake-modules</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>kfilemetadata</Name>
<RuntimeDependencies>
<Dependency>qt5-base</Dependency>
<Dependency>ebook-tools</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>exiv2-libs</Dependency>
<Dependency>taglib</Dependency>
<Dependency>ffmpeg</Dependency>
<Dependency>taglib</Dependency>
<Dependency>poppler-qt5</Dependency>
<Dependency>karchive</Dependency>
<Dependency>ki18n</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/share</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/qt5</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>kfilemetadata-devel</Name>
<Summary>Development files for kfilemetadata</Summary>
<RuntimeDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency release="current">kfilemetadata</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-06-03</Date>
<Version>5.9.1</Version>
<Comment>First Release.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>