[arch-commits] Commit in kcachegrind/repos (2 files)
Date: Saturday, November 14, 2020 @ 00:28:14 Author: arojas Revision: 400964 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kcachegrind/repos/kde-unstable-x86_64/ kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 400963, kcachegrind/kde-unstable/PKGBUILD) --+ PKGBUILD | 55 +++ 1 file changed, 55 insertions(+) Copied: kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 400963, kcachegrind/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2020-11-14 00:28:14 UTC (rev 400964) @@ -0,0 +1,55 @@ +# Maintainer: Antonio Rojas +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino + +pkgbase=kcachegrind +pkgname=(kcachegrind kcachegrind-common qcachegrind) +pkgver=20.11.80 +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/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('6aa85d2a2c456b8abe3cafac92d3ccde9840ae1646ea23b13064ee6c5ad839e4' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +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/ +}
[arch-commits] Commit in kcachegrind/repos (2 files)
Date: Friday, July 17, 2020 @ 23:35:28 Author: arojas Revision: 392226 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kcachegrind/repos/kde-unstable-x86_64/ kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 392225, kcachegrind/kde-unstable/PKGBUILD) --+ PKGBUILD | 55 +++ 1 file changed, 55 insertions(+) Copied: kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 392225, kcachegrind/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2020-07-17 23:35:28 UTC (rev 392226) @@ -0,0 +1,55 @@ +# Maintainer: Antonio Rojas +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino + +pkgbase=kcachegrind +pkgname=(kcachegrind kcachegrind-common qcachegrind) +pkgver=20.07.80 +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/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('3141262f38ac4471c2a4853daef632ccdbb70f50e274aebe83aa58c8ec13ab7a' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +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/ +}
[arch-commits] Commit in kcachegrind/repos (2 files)
Date: Saturday, March 21, 2020 @ 10:14:58 Author: arojas Revision: 378237 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kcachegrind/repos/kde-unstable-x86_64/ kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 378236, kcachegrind/kde-unstable/PKGBUILD) --+ PKGBUILD | 62 + 1 file changed, 62 insertions(+) Copied: kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 378236, kcachegrind/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2020-03-21 10:14:58 UTC (rev 378237) @@ -0,0 +1,62 @@ +# Maintainer: Antonio Rojas +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino + +pkgbase=kcachegrind +pkgname=(kcachegrind kcachegrind-common qcachegrind) +pkgver=20.03.80 +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/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('5094f78ae289046471dc6498929ba4bbd14e393547d32325d4250a4e9ea5fd23' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DBUILD_TESTING=OFF + make +} + +package_kcachegrind() { + groups=(kde-applications kdesdk) + depends=(kio kcachegrind-common) + optdepends=('graphviz: for plotting support') + + cd build + make DESTDIR="$pkgdir" install + 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') + + cd build + make DESTDIR="$pkgdir" install + 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 desktop-file-utils) + 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/ +}
[arch-commits] Commit in kcachegrind/repos (2 files)
Date: Monday, November 18, 2019 @ 00:26:02 Author: arojas Revision: 369195 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kcachegrind/repos/kde-unstable-x86_64/ kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 369194, kcachegrind/kde-unstable/PKGBUILD) --+ PKGBUILD | 62 + 1 file changed, 62 insertions(+) Copied: kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 369194, kcachegrind/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2019-11-18 00:26:02 UTC (rev 369195) @@ -0,0 +1,62 @@ +# Maintainer: Antonio Rojas +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino + +pkgbase=kcachegrind +pkgname=(kcachegrind kcachegrind-common qcachegrind) +pkgver=19.11.80 +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/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('e7154224be9850f0a0ced159a99f4aa305714ceb2ec8d67e0877737d49daced3' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DBUILD_TESTING=OFF + make +} + +package_kcachegrind() { + groups=(kde-applications kdesdk) + depends=(kio kcachegrind-common) + optdepends=('graphviz: for plotting support') + + cd build + make DESTDIR="$pkgdir" install + 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') + + cd build + make DESTDIR="$pkgdir" install + 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 desktop-file-utils) + 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/ +}
[arch-commits] Commit in kcachegrind/repos (2 files)
Date: Friday, July 19, 2019 @ 19:59:43 Author: arojas Revision: 358363 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kcachegrind/repos/kde-unstable-x86_64/ kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 358362, kcachegrind/kde-unstable/PKGBUILD) --+ PKGBUILD | 63 + 1 file changed, 63 insertions(+) Copied: kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 358362, kcachegrind/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2019-07-19 19:59:43 UTC (rev 358363) @@ -0,0 +1,63 @@ +# Maintainer: Antonio Rojas +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino + +pkgbase=kcachegrind +pkgname=(kcachegrind kcachegrind-common qcachegrind) +pkgver=19.07.80 +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/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('d4e7e4a3848f7345c4d5f655b84c13c18eb6658a7e3f2c65ea357baea38e828c' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DBUILD_TESTING=OFF + make +} + +package_kcachegrind() { + groups=(kde-applications kdesdk) + depends=(kio kcachegrind-common) + optdepends=('graphviz: for plotting support') + + cd build + make DESTDIR="$pkgdir" install + 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') + + cd build + make DESTDIR="$pkgdir" install + 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 desktop-file-utils) + optdepends=('graphviz: for plotting support') + + install -Dm755 build/qcachegrind/qcachegrind -t "$pkgdir"/usr/bin/ + install -Dm644 $pkgbase-$pkgver/qcachegrind/qcachegrind.desktop -t "$pkgdir"/usr/share/applications/ +}
[arch-commits] Commit in kcachegrind/repos (2 files)
Date: Saturday, March 23, 2019 @ 00:53:19 Author: arojas Revision: 349090 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kcachegrind/repos/kde-unstable-x86_64/ kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 349089, kcachegrind/kde-unstable/PKGBUILD) --+ PKGBUILD | 65 + 1 file changed, 65 insertions(+) Copied: kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 349089, kcachegrind/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2019-03-23 00:53:19 UTC (rev 349090) @@ -0,0 +1,65 @@ +# Maintainer: Antonio Rojas +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino + +pkgbase=kcachegrind +pkgname=(kcachegrind kcachegrind-common qcachegrind) +pkgver=19.03.80 +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/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('6ad89cf8d8c35118fd1743e579f2065b7b01be0417414689e6b3dc93712fbdfd' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DBUILD_TESTING=OFF + make +} + +package_kcachegrind() { + groups=(kde-applications kdesdk) + depends=(kio kcachegrind-common) + conflicts=(kdesdk-kcachegrind) + replaces=(kdesdk-kcachegrind) + optdepends=('graphviz: for plotting support') + + cd build + make DESTDIR="$pkgdir" install + 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') + + cd build + make DESTDIR="$pkgdir" install + 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 desktop-file-utils) + optdepends=('graphviz: for plotting support') + + install -Dm755 build/qcachegrind/qcachegrind -t "$pkgdir"/usr/bin/ + install -Dm644 $pkgbase-$pkgver/qcachegrind/qcachegrind.desktop -t "$pkgdir"/usr/share/applications/ +}
[arch-commits] Commit in kcachegrind/repos (2 files)
Date: Saturday, November 17, 2018 @ 01:17:10 Author: arojas Revision: 339992 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kcachegrind/repos/kde-unstable-x86_64/ kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 339991, kcachegrind/kde-unstable/PKGBUILD) --+ PKGBUILD | 65 + 1 file changed, 65 insertions(+) Copied: kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 339991, kcachegrind/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2018-11-17 01:17:10 UTC (rev 339992) @@ -0,0 +1,65 @@ +# Maintainer: Antonio Rojas +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino + +pkgbase=kcachegrind +pkgname=(kcachegrind kcachegrind-common qcachegrind) +pkgver=18.11.80 +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/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('14f40edd7f7b474cfa9b8ca35440dbfeac5a5aefe4f86a78408256ff92b329a7' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DBUILD_TESTING=OFF + make +} + +package_kcachegrind() { + groups=(kde-applications kdesdk) + depends=(kio kcachegrind-common) + conflicts=(kdesdk-kcachegrind) + replaces=(kdesdk-kcachegrind) + optdepends=('graphviz: for plotting support') + + cd build + make DESTDIR="$pkgdir" install + 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') + + cd build + make DESTDIR="$pkgdir" install + rm -r "$pkgdir"/usr/{bin/kcachegrind,share/{kxmlgui5,kcachegrind,applications}} # 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/qcachegrind/qcachegrind -t "$pkgdir"/usr/bin/ + install -Dm644 $pkgbase-$pkgver/qcachegrind/qcachegrind.desktop -t "$pkgdir"/usr/share/applications/ +}
[arch-commits] Commit in kcachegrind/repos (2 files)
Date: Friday, July 20, 2018 @ 22:51:03 Author: arojas Revision: 329321 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kcachegrind/repos/kde-unstable-x86_64/ kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 329320, kcachegrind/kde-unstable/PKGBUILD) --+ PKGBUILD | 66 + 1 file changed, 66 insertions(+) Copied: kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 329320, kcachegrind/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2018-07-20 22:51:03 UTC (rev 329321) @@ -0,0 +1,66 @@ +# $Id: PKGBUILD 290221 2017-03-09 16:12:45Z arojas $ +# Maintainer: Antonio Rojas +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino + +pkgbase=kcachegrind +pkgname=(kcachegrind kcachegrind-common qcachegrind) +pkgver=18.07.80 +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/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('686453d9ac97fe6611aa1c977a7b243a1cdedea9e8c97fa844ed74cecb4bf965' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DBUILD_TESTING=OFF + make +} + +package_kcachegrind() { + groups=(kde-applications kdesdk) + depends=(kio kcachegrind-common) + conflicts=(kdesdk-kcachegrind) + replaces=(kdesdk-kcachegrind) + optdepends=('graphviz: for plotting support') + + cd build + make DESTDIR="$pkgdir" install + 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') + + cd build + make DESTDIR="$pkgdir" install + rm -r "$pkgdir"/usr/{bin/kcachegrind,share/{kxmlgui5,kcachegrind,applications}} # 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/qcachegrind/qcachegrind -t "$pkgdir"/usr/bin/ + install -Dm644 $pkgbase-$pkgver/qcachegrind/qcachegrind.desktop -t "$pkgdir"/usr/share/applications/ +}
[arch-commits] Commit in kcachegrind/repos (2 files)
Date: Saturday, March 24, 2018 @ 00:53:28 Author: arojas Revision: 320082 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kcachegrind/repos/kde-unstable-x86_64/ kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 320081, kcachegrind/kde-unstable/PKGBUILD) --+ PKGBUILD | 66 + 1 file changed, 66 insertions(+) Copied: kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 320081, kcachegrind/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2018-03-24 00:53:28 UTC (rev 320082) @@ -0,0 +1,66 @@ +# $Id: PKGBUILD 290221 2017-03-09 16:12:45Z arojas $ +# Maintainer: Antonio Rojas +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino + +pkgbase=kcachegrind +pkgname=(kcachegrind kcachegrind-common qcachegrind) +pkgver=18.03.80 +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 python qt5-tools kio) +source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('2ea373f61c49aaa0cdc769c221c2812dbc8750e1eca0a4a27969328cd5133a2b' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DBUILD_TESTING=OFF + make +} + +package_kcachegrind() { + groups=(kde-applications kdesdk) + depends=(kio kcachegrind-common) + conflicts=(kdesdk-kcachegrind) + replaces=(kdesdk-kcachegrind) + optdepends=('graphviz: for plotting support') + + cd build + make DESTDIR="$pkgdir" install + 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') + + cd build + make DESTDIR="$pkgdir" install + rm -r "$pkgdir"/usr/{bin/kcachegrind,share/{kxmlgui5,kcachegrind,applications}} # 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/qcachegrind/qcachegrind -t "$pkgdir"/usr/bin/ + install -Dm644 $pkgbase-$pkgver/qcachegrind/qcachegrind.desktop -t "$pkgdir"/usr/share/applications/ +}
[arch-commits] Commit in kcachegrind/repos (2 files)
Date: Friday, November 17, 2017 @ 18:48:06 Author: arojas Revision: 310277 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kcachegrind/repos/kde-unstable-x86_64/ kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 310276, kcachegrind/kde-unstable/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 310276, kcachegrind/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2017-11-17 18:48:06 UTC (rev 310277) @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 290221 2017-03-09 16:12:45Z arojas $ +# Maintainer: Antonio Rojas +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino + +pkgname=kcachegrind +pkgver=17.11.80 +pkgrel=1 +pkgdesc='Visualization of Performance Profiling Data' +url='https://kde.org/applications/development/kcachegrind/' +arch=(x86_64) +license=(GPL LGPL FDL) +groups=(kde-applications kdesdk) +depends=(kio hicolor-icon-theme) +makedepends=(extra-cmake-modules kdoctools python qt5-tools) +optdepends=('php: PHP support' 'graphviz: for plotting support') +conflicts=(kdesdk-kcachegrind) +replaces=(kdesdk-kcachegrind) +source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('8dec1b845ae0f60c77be94f4a1495131d24924655323f50310701c439939b847' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install + + # Fix python 2 path + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \ +"$pkgdir"/usr/bin/hotshot2calltree +}
[arch-commits] Commit in kcachegrind/repos (2 files)
Date: Friday, July 21, 2017 @ 20:09:28 Author: arojas Revision: 301090 archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kcachegrind/repos/kde-unstable-x86_64/ kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 301089, kcachegrind/kde-unstable/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: kcachegrind/repos/kde-unstable-x86_64/PKGBUILD (from rev 301089, kcachegrind/kde-unstable/PKGBUILD) === --- kde-unstable-x86_64/PKGBUILD(rev 0) +++ kde-unstable-x86_64/PKGBUILD2017-07-21 20:09:28 UTC (rev 301090) @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 290221 2017-03-09 16:12:45Z arojas $ +# Maintainer: Antonio Rojas +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino + +pkgname=kcachegrind +pkgver=17.07.80 +pkgrel=1 +pkgdesc='Visualization of Performance Profiling Data' +url='https://kde.org/applications/development/kcachegrind/' +arch=(i686 x86_64) +license=(GPL LGPL FDL) +groups=(kde-applications kdesdk) +depends=(kio hicolor-icon-theme) +makedepends=(extra-cmake-modules kdoctools python qt5-tools) +optdepends=('php: PHP support' 'graphviz: for plotting support') +conflicts=(kdesdk-kcachegrind) +replaces=(kdesdk-kcachegrind) +source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('454e126315e91073c89b3b8c510251375e3acb64dc1288adbd4048518dd0e4d5' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install + + # Fix python 2 path + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \ +"$pkgdir"/usr/bin/hotshot2calltree +}