From 18ad3f42ac43ddc3a1a46675d4ba1744dc016916 Mon Sep 17 00:00:00 2001 From: Rmys Date: Sun, 22 Mar 2020 20:45:57 +0300 Subject: [PATCH] kpmcore rebuild --- desktop/kde/applications/kpmcore/actions.py | 18 ++++++++++++++---- desktop/kde/applications/kpmcore/pspec.xml | 13 +++++++++++++ 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/desktop/kde/applications/kpmcore/actions.py b/desktop/kde/applications/kpmcore/actions.py index 59e83cc850..c22d6f53fd 100755 --- a/desktop/kde/applications/kpmcore/actions.py +++ b/desktop/kde/applications/kpmcore/actions.py @@ -4,13 +4,23 @@ # 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 cmaketools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + def setup(): - kde5.configure() + shelltools.makedirs("build") + shelltools.cd("build") + cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF", sourceDir="..") def build(): - kde5.make() + shelltools.cd("build") + cmaketools.make() def install(): - kde5.install() \ No newline at end of file + shelltools.cd("build") + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) diff --git a/desktop/kde/applications/kpmcore/pspec.xml b/desktop/kde/applications/kpmcore/pspec.xml index 7574bc7c15..fc0a30571d 100755 --- a/desktop/kde/applications/kpmcore/pspec.xml +++ b/desktop/kde/applications/kpmcore/pspec.xml @@ -14,7 +14,13 @@ Library for managing partitions. mirrors://kde/stable/kpmcore/4.1.0/src/kpmcore-4.1.0.tar.xz + udftools fatresize + exfat-utils + dosfstools + reiserfsprogs + smartmontools + xfsprogs-devel qt5-base-devel libatasmart-devel extra-cmake-modules @@ -44,6 +50,13 @@ kauth qca2-qt5 fatresize + udftools + fatresize + exfat-utils + dosfstools + reiserfsprogs + smartmontools + xfsprogs kwidgetsaddons libgcc parted