Date: Friday, October 9, 2020 @ 13:42:36 Author: arojas Revision: 397785
archrelease: copy trunk to extra-x86_64 Added: kcachegrind/repos/extra-x86_64/PKGBUILD (from rev 397784, kcachegrind/trunk/PKGBUILD) Deleted: kcachegrind/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 110 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 55 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-09 13:42:26 UTC (rev 397784) +++ PKGBUILD 2020-10-09 13:42:36 UTC (rev 397785) @@ -1,55 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> - -pkgbase=kcachegrind -pkgname=(kcachegrind kcachegrind-common qcachegrind) -pkgver=20.08.1 -pkgrel=1 -pkgdesc='Visualization of Performance Profiling Data' -url='https://kde.org/applications/development/kcachegrind/' -arch=(x86_64) -license=(GPL LGPL FDL) -makedepends=(extra-cmake-modules kdoctools qt5-tools kio) -source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) -sha256sums=('59c43296aaa7d8a5dbf782ba9248ee8bb6308e7bd7bdfc0b99e1c912529337f2' - 'SKIP') -validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aa...@kde.org> - F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cf...@kde.org> - -build() { - cmake -B build -S $pkgname-$pkgver \ - -DBUILD_TESTING=OFF - cmake --build build -} - -package_kcachegrind() { - groups=(kde-applications kdesdk) - depends=(kio kcachegrind-common) - optdepends=('graphviz: for plotting support') - - DESTDIR="$pkgdir" cmake --install build - rm -r "$pkgdir"/usr/{bin/*tree,share/{doc,icons,locale}} -} - -package_kcachegrind-common() { - pkgdesc+=' (common files)' - depends=(hicolor-icon-theme) - optdepends=('php: for pprof2calltree' 'python2: for hotshot2calltree' 'perl: for dprof2calltree, memprof2calltree and op2calltree') - - DESTDIR="$pkgdir" cmake --install build - rm -r "$pkgdir"/usr/{bin/kcachegrind,share/{kcachegrind,applications,metainfo}} # provided by kcachegrind - - # Fix python 2 path - sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \ - "$pkgdir"/usr/bin/hotshot2calltree -} - -package_qcachegrind() { - pkgdesc+=' (pure Qt version)' - depends=(qt5-base kcachegrind-common) - optdepends=('graphviz: for plotting support') - - install -Dm755 build/bin/qcachegrind -t "$pkgdir"/usr/bin/ - install -Dm644 $pkgbase-$pkgver/qcachegrind/qcachegrind.desktop -t "$pkgdir"/usr/share/applications/ -} Copied: kcachegrind/repos/extra-x86_64/PKGBUILD (from rev 397784, kcachegrind/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-09 13:42:36 UTC (rev 397785) @@ -0,0 +1,55 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgbase=kcachegrind +pkgname=(kcachegrind kcachegrind-common qcachegrind) +pkgver=20.08.2 +pkgrel=1 +pkgdesc='Visualization of Performance Profiling Data' +url='https://kde.org/applications/development/kcachegrind/' +arch=(x86_64) +license=(GPL LGPL FDL) +makedepends=(extra-cmake-modules kdoctools qt5-tools kio) +source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('e6b84a323a21ae7975ccc07154bcdc6eef1bc92818b800cfc5d546ada7f0387c' + 'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aa...@kde.org> + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cf...@kde.org> + +build() { + cmake -B build -S $pkgname-$pkgver \ + -DBUILD_TESTING=OFF + cmake --build build +} + +package_kcachegrind() { + groups=(kde-applications kdesdk) + depends=(kio kcachegrind-common) + optdepends=('graphviz: for plotting support') + + DESTDIR="$pkgdir" cmake --install build + rm -r "$pkgdir"/usr/{bin/*tree,share/{doc,icons,locale}} +} + +package_kcachegrind-common() { + pkgdesc+=' (common files)' + depends=(hicolor-icon-theme) + optdepends=('php: for pprof2calltree' 'python2: for hotshot2calltree' 'perl: for dprof2calltree, memprof2calltree and op2calltree') + + DESTDIR="$pkgdir" cmake --install build + rm -r "$pkgdir"/usr/{bin/kcachegrind,share/{kcachegrind,applications,metainfo}} # provided by kcachegrind + + # Fix python 2 path + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \ + "$pkgdir"/usr/bin/hotshot2calltree +} + +package_qcachegrind() { + pkgdesc+=' (pure Qt version)' + depends=(qt5-base kcachegrind-common) + optdepends=('graphviz: for plotting support') + + install -Dm755 build/bin/qcachegrind -t "$pkgdir"/usr/bin/ + install -Dm644 $pkgbase-$pkgver/qcachegrind/qcachegrind.desktop -t "$pkgdir"/usr/share/applications/ +}