change actions.py and remove kde5-suffix

This commit is contained in:
groni
2015-06-24 23:47:54 +02:00
parent 525dc886fb
commit b2abfc4293
38 changed files with 281 additions and 201 deletions
+12 -4
View File
@@ -4,16 +4,24 @@
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import kde5
from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
kde5.configure()
#shelltools.cd("kpackage")
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DBUILD_TESTING=OFF")
def build():
kde5.make()
cmaketools.make()
def install():
kde5.install()
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING", "COPYING.LIB", "README.md")
+1 -1
View File
@@ -19,7 +19,7 @@
<Dependency>libgcc</Dependency>
<Dependency>qt5-tools-devel</Dependency>
<Dependency>extra-cmake-modules</Dependency>
<Dependency>kde5-kdoctools-devel</Dependency>
<Dependency>kdoctools-devel</Dependency>
</BuildDependencies>
</Source>