aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-07-16 22:59:59 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-07-16 18:26:31 -0300
commit2cd749808cf1025bdbec0dbe868e9f0f50d8c7ff (patch)
treee86047563e5522151cacab7ca1873c3f24e68bfe /testing
parentfd3cda9b3d8a977358542d1f20932c7122dc1de3 (diff)
downloadaports-2cd749808cf1025bdbec0dbe868e9f0f50d8c7ff.tar.bz2
aports-2cd749808cf1025bdbec0dbe868e9f0f50d8c7ff.tar.xz
testing/kcachegrind: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/kcachegrind/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kcachegrind/APKBUILD b/testing/kcachegrind/APKBUILD
new file mode 100644
index 0000000000..16be7cfa3a
--- /dev/null
+++ b/testing/kcachegrind/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kcachegrind
+pkgver=19.04.3
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/development/org.kde.kcachegrind"
+pkgdesc="A profile data visualization tool, used to determine the most time consuming parts in the execution of a program"
+license="GPL-2.0-or-only AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qttools-dev karchive-dev kcoreaddons-dev kdoctools-dev kwidgetsaddons-dev kxmlgui-dev ki18n-dev kconfig-dev kio-dev kdbusaddons-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+options="!check" # No tests
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="a49212d7b3667a7da028e48e03813bb985c08ff6e533bc572e884a297780d9107e8c5496433728d2d590b7ba9a8141f6e3a33c6e6443c1c62ba86af1787cfa0c kcachegrind-19.04.3.tar.xz"