diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-07-19 19:51:03 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-07-19 19:51:03 +0000 |
commit | bc4bd3e56a4cada059c252bfc3f26b120b17b490 (patch) | |
tree | ef3e8ef18021ae1344c62a6d81bf657136b481e7 /user | |
parent | f6eca1ddf82e2ae81acb077d2bb33d88695f906b (diff) | |
download | packages-bc4bd3e56a4cada059c252bfc3f26b120b17b490.tar.gz packages-bc4bd3e56a4cada059c252bfc3f26b120b17b490.tar.bz2 packages-bc4bd3e56a4cada059c252bfc3f26b120b17b490.tar.xz packages-bc4bd3e56a4cada059c252bfc3f26b120b17b490.zip |
user/massif-visualizer: New package
Diffstat (limited to 'user')
-rw-r--r-- | user/massif-visualizer/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/user/massif-visualizer/APKBUILD b/user/massif-visualizer/APKBUILD new file mode 100644 index 000000000..9bcfb6490 --- /dev/null +++ b/user/massif-visualizer/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=massif-visualizer +pkgver=0.7.0 +pkgrel=0 +pkgdesc="Visual tool for inspecting Massif profiler data" +url="https://kde.org/applications/development/org.kde.massif-visualizer" +arch="all" +license="GPL-2.0" +depends="kgraphviewer shared-mime-info" +makedepends="qt5-qtbase-dev qt5-qtsvg-dev qt5-qtxmlpatterns-dev cmake + extra-cmake-modules karchive-dev kauth-dev kcodecs-dev kcompletion-dev + kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdiagram-dev ki18n-dev + kio-dev kitemviews-dev kjobwidgets-dev kparts-dev kservice-dev + kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev solid-dev sonnet-dev" +subpackages="$pkgname-lang" +source="https://download.kde.org/stable/massif-visualizer/$pkgver/src/massif-visualizer-$pkgver.tar.xz" + +build() { + if [ "$CBUILD" != "$CHOST" ]; then + CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" + fi + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} \ + . + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="058412e34c0899a34fb4080a602cb0c70a9ac707f27b72a79fb412ea35a6e8c66ce06df15b3153fdc1a70a27232f98b508c7441b657eb73466962b33f9b2f561 massif-visualizer-0.7.0.tar.xz" |