[arch-commits] Commit in (gammaray gammaray/trunk gammaray/trunk/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Mar 9 16:50:28 UTC 2018


    Date: Friday, March 9, 2018 @ 16:50:27
  Author: arojas
Revision: 305427

Add gammaray (14 votes)

Added:
  gammaray/
  gammaray/trunk/
  gammaray/trunk/PKGBUILD

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Added: gammaray/trunk/PKGBUILD
===================================================================
--- gammaray/trunk/PKGBUILD	                        (rev 0)
+++ gammaray/trunk/PKGBUILD	2018-03-09 16:50:27 UTC (rev 305427)
@@ -0,0 +1,42 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=gammaray
+pkgver=2.9.0
+pkgrel=2
+pkgdesc="A tool for examining the internals of a Qt application and to some extent also manipulate it"
+arch=(x86_64)
+url="http://www.kdab.com/gammaray/"
+license=(GPL)
+depends=(syntax-highlighting qt5-script qt5-tools qt5-svg qt5-3d)
+makedepends=(cmake kcoreaddons qt5-wayland qt5-webengine qt5-scxml qt5-location qt5-connectivity doxygen)
+optdepends=('qt5-wayland: Wayland compositor inspector plugin'
+            'qt5-webengine: web inspector plugin'
+            'qt5-scxml: state machine viewer plugin'
+            'qt5-connectivity: bluetooth plugin'
+            'kcoreaddons: KJob tracker plugin')
+source=(https://github.com/KDAB/GammaRay/releases/download/v$pkgver/gammaray-$pkgver.tar.gz{,.asc})
+sha256sums=('5ab3fb4ac3d7e82f37ed7c62e063505d52334338460cf31d91c99d485d1d7bc2'
+            'SKIP')
+validpgpkeys=(E86C000370B1B9E2A9191AD53DBFB6882C9358FB) # KDAB Products <info at kdab.com>
+
+prepare() {
+  mkdir -p build
+
+# Fix plugin install dir
+  sed -e 's|plugins/gammaray|lib/qt/plugins/gammaray|' -i $pkgname-$pkgver/CMakeLists.txt
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DGAMMARAY_INSTALL_QT_LAYOUT=ON \
+    -DPLUGIN_INSTALL_DIR=/usr/lib/qt/plugins/gammaray
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list