[arch-commits] Commit in qcachegrind/repos (6 files)
Daniel Micay
thestinger at archlinux.org
Mon Aug 18 22:48:33 UTC 2014
Date: Tuesday, August 19, 2014 @ 00:48:33
Author: thestinger
Revision: 117569
archrelease: copy trunk to community-i686, community-x86_64
Added:
qcachegrind/repos/community-i686/
qcachegrind/repos/community-i686/PKGBUILD
(from rev 117568, qcachegrind/trunk/PKGBUILD)
qcachegrind/repos/community-i686/qcachegrind.install
(from rev 117568, qcachegrind/trunk/qcachegrind.install)
qcachegrind/repos/community-x86_64/
qcachegrind/repos/community-x86_64/PKGBUILD
(from rev 117568, qcachegrind/trunk/PKGBUILD)
qcachegrind/repos/community-x86_64/qcachegrind.install
(from rev 117568, qcachegrind/trunk/qcachegrind.install)
--------------------------------------+
community-i686/PKGBUILD | 44 +++++++++++++++++++++++++++++++++
community-i686/qcachegrind.install | 12 +++++++++
community-x86_64/PKGBUILD | 44 +++++++++++++++++++++++++++++++++
community-x86_64/qcachegrind.install | 12 +++++++++
4 files changed, 112 insertions(+)
Copied: qcachegrind/repos/community-i686/PKGBUILD (from rev 117568, qcachegrind/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-08-18 22:48:33 UTC (rev 117569)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Ivan Sichmann Freitas <ivansichfreitas at gmail.com>
+
+pkgname=qcachegrind
+_pkgname=kcachegrind
+pkgver=0.7.4
+pkgrel=2
+pkgdesc='Visualization of Performance Profiling Data'
+arch=('i686' 'x86_64')
+url='http://kcachegrind.sourceforge.net'
+license=('GPL')
+depends=('qt5-base' 'desktop-file-utils' 'hicolor-icon-theme')
+optdepends=('graphviz: For drawing call graphs'
+ 'php: pprof2calltree'
+ 'python2: hotshot2calltree')
+conflicts=('kdesdk-kcachegrind')
+source=(http://kcachegrind.sourceforge.net/$_pkgname-$pkgver.tar.gz)
+md5sums=('a0be465c0f4acfa08bedafb3963a3193')
+install=$pkgname.install
+
+build() {
+ cd $_pkgname-$pkgver
+ qmake-qt5
+ make
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ install -Dm755 cgview/cgview "$pkgdir/usr/bin/cgview"
+ install -Dm755 qcachegrind/qcachegrind "$pkgdir/usr/bin/qcachegrind"
+ install -Dm755 converters/{dprof,hotshot,memprof,op,pprof}2calltree \
+ "$pkgdir/usr/bin/"
+ install -Dm644 qcachegrind/qcachegrind.desktop \
+ "$pkgdir/usr/share/applications/qcachegrind.desktop"
+ install -Dm644 kcachegrind/hi32-app-kcachegrind.png \
+ "$pkgdir/usr/share/icons/hicolor/32x32/apps/kcachegrind.png"
+ install -Dm644 kcachegrind/hi48-app-kcachegrind.png \
+ "$pkgdir/usr/share/icons/hicolor/48x48/apps/kcachegrind.png"
+
+ # Fix python 2 path
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ "${pkgdir}"/usr/bin/hotshot2calltree
+}
Copied: qcachegrind/repos/community-i686/qcachegrind.install (from rev 117568, qcachegrind/trunk/qcachegrind.install)
===================================================================
--- community-i686/qcachegrind.install (rev 0)
+++ community-i686/qcachegrind.install 2014-08-18 22:48:33 UTC (rev 117569)
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: qcachegrind/repos/community-x86_64/PKGBUILD (from rev 117568, qcachegrind/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-08-18 22:48:33 UTC (rev 117569)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Ivan Sichmann Freitas <ivansichfreitas at gmail.com>
+
+pkgname=qcachegrind
+_pkgname=kcachegrind
+pkgver=0.7.4
+pkgrel=2
+pkgdesc='Visualization of Performance Profiling Data'
+arch=('i686' 'x86_64')
+url='http://kcachegrind.sourceforge.net'
+license=('GPL')
+depends=('qt5-base' 'desktop-file-utils' 'hicolor-icon-theme')
+optdepends=('graphviz: For drawing call graphs'
+ 'php: pprof2calltree'
+ 'python2: hotshot2calltree')
+conflicts=('kdesdk-kcachegrind')
+source=(http://kcachegrind.sourceforge.net/$_pkgname-$pkgver.tar.gz)
+md5sums=('a0be465c0f4acfa08bedafb3963a3193')
+install=$pkgname.install
+
+build() {
+ cd $_pkgname-$pkgver
+ qmake-qt5
+ make
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ install -Dm755 cgview/cgview "$pkgdir/usr/bin/cgview"
+ install -Dm755 qcachegrind/qcachegrind "$pkgdir/usr/bin/qcachegrind"
+ install -Dm755 converters/{dprof,hotshot,memprof,op,pprof}2calltree \
+ "$pkgdir/usr/bin/"
+ install -Dm644 qcachegrind/qcachegrind.desktop \
+ "$pkgdir/usr/share/applications/qcachegrind.desktop"
+ install -Dm644 kcachegrind/hi32-app-kcachegrind.png \
+ "$pkgdir/usr/share/icons/hicolor/32x32/apps/kcachegrind.png"
+ install -Dm644 kcachegrind/hi48-app-kcachegrind.png \
+ "$pkgdir/usr/share/icons/hicolor/48x48/apps/kcachegrind.png"
+
+ # Fix python 2 path
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ "${pkgdir}"/usr/bin/hotshot2calltree
+}
Copied: qcachegrind/repos/community-x86_64/qcachegrind.install (from rev 117568, qcachegrind/trunk/qcachegrind.install)
===================================================================
--- community-x86_64/qcachegrind.install (rev 0)
+++ community-x86_64/qcachegrind.install 2014-08-18 22:48:33 UTC (rev 117569)
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list