mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: team/kde <bribbers@disroot.org>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-applications
|
|
pkgname=kcachegrind
|
|
pkgver=24.08.1
|
|
pkgrel=0
|
|
# armhf blocked by extra-cmake-modules
|
|
arch="all !armhf"
|
|
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-only AND GFDL-1.2-only"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
karchive-dev
|
|
kconfig-dev
|
|
kcoreaddons-dev
|
|
kdbusaddons-dev
|
|
kdoctools-dev
|
|
ki18n-dev
|
|
kio-dev
|
|
kwidgetsaddons-dev
|
|
kxmlgui-dev
|
|
qt6-qtbase-dev
|
|
qt6-qttools-dev
|
|
samurai
|
|
"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
_repo_url="https://invent.kde.org/sdk/kcachegrind.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/kcachegrind-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
ctest --test-dir build --output-on-failure
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
b62488293239def033d94a1090ead86cba4f66f6d61e6c99abd888af1f11f0c398798a74d776a7f03ffc722b7f696369628427e58e3e77bf5bd7b3e8ff32aca0 kcachegrind-24.08.1.tar.xz
|
|
"
|