kpmcore rebuild

This commit is contained in:
Rmys
2020-03-22 20:45:57 +03:00
parent 6baf8ebd3c
commit 18ad3f42ac
2 changed files with 27 additions and 4 deletions
+14 -4
View File
@@ -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()
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
@@ -14,7 +14,13 @@
<Description>Library for managing partitions.</Description>
<Archive sha1sum="4a10199079ee0aef4e61280f805c96fd177c41c3" type="tarxz">mirrors://kde/stable/kpmcore/4.1.0/src/kpmcore-4.1.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>udftools</Dependency>
<Dependency>fatresize</Dependency>
<Dependency>exfat-utils</Dependency>
<Dependency>dosfstools</Dependency>
<Dependency>reiserfsprogs</Dependency>
<Dependency>smartmontools</Dependency>
<Dependency>xfsprogs-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>libatasmart-devel</Dependency>
<Dependency>extra-cmake-modules</Dependency>
@@ -44,6 +50,13 @@
<Dependency>kauth</Dependency>
<Dependency>qca2-qt5</Dependency>
<Dependency>fatresize</Dependency>
<Dependency>udftools</Dependency>
<Dependency>fatresize</Dependency>
<Dependency>exfat-utils</Dependency>
<Dependency>dosfstools</Dependency>
<Dependency>reiserfsprogs</Dependency>
<Dependency>smartmontools</Dependency>
<Dependency>xfsprogs</Dependency>
<Dependency>kwidgetsaddons</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>parted</Dependency>