change actions.py and remove kde5-suffix
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user