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

Laurent Carlier lcarlier at archlinux.org
Fri Jan 23 08:13:20 UTC 2015


    Date: Friday, January 23, 2015 @ 09:13:20
  Author: lcarlier
Revision: 126439

upgpkg: apitrace 6.1-1

upstream update 6.1

Modified:
  apitrace/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++----------------
 1 file changed, 10 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-23 03:47:27 UTC (rev 126438)
+++ PKGBUILD	2015-01-23 08:13:20 UTC (rev 126439)
@@ -4,33 +4,29 @@
 # Contributor: Glaucous <glakke1 at gmail dot com>
 
 pkgname=apitrace
-pkgver=5.0
-pkgrel=2
+pkgver=6.1
+pkgrel=1
 pkgdesc="Graphics API Tracing"
 arch=('i686' 'x86_64')
 url="https://github.com/apitrace/apitrace"
 license=('custom')
-makedepends=('cmake' 'mesa' 'libgl' 'python2' 'qtwebkit' 'qjson')
-optdepends=('qtwebkit: GUI support' 'qjson: GUI support')
-source=("https://github.com/apitrace/apitrace/archive/${pkgver}.zip"
-        fix-python-executable.patch)
-md5sums=('2a60e8a4c90f841dc95fe659ba26607e')
+makedepends=('cmake' 'mesa' 'libgl' 'python2' 'qtwebkit')
+source=("https://github.com/apitrace/apitrace/archive/${pkgver}.zip")
+md5sums=('9661028558461feaab6e66538b15a805')
 
-prepare() {
-  cd ${srcdir}/apitrace-*
-
-  patch -Np1 -i ../fix-python-executable.patch
-}
-
 build() {
   cd ${srcdir}/apitrace-*
 
-  cmake . -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON_EXECUTABLE='/usr/bin/python2'
+  cmake . -Bbuild -DCMAKE_INSTALL_PREFIX=/usr \
+    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+    -DENABLE_GUI=TRUE
   make -C build
 }
 
 package() {
   depends=('python2' 'libgl')
+  optdepends=('qtwebkit: GUI support')
+
   cd ${srcdir}/apitrace-*
 
   make -C build DESTDIR="${pkgdir}/" install
@@ -38,5 +34,3 @@
   install -m755 -d "${pkgdir}/usr/share/licenses/apitrace"
   install -m644 LICENSE "${pkgdir}/usr/share/licenses/apitrace/"
 }
-md5sums=('2a60e8a4c90f841dc95fe659ba26607e'
-         '3e96a8057550e86207fa075ca78392b7')



More information about the arch-commits mailing list