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

Felix Yan fyan at archlinux.org
Sun Mar 1 10:19:39 UTC 2015


    Date: Sunday, March 1, 2015 @ 11:19:39
  Author: fyan
Revision: 128458

upgpkg: phantomjs 2.0.0-2

fix dependency on fontconfig

Modified:
  phantomjs/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-01 09:31:27 UTC (rev 128457)
+++ PKGBUILD	2015-03-01 10:19:39 UTC (rev 128458)
@@ -7,12 +7,12 @@
 
 pkgname=phantomjs
 pkgver=2.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Headless WebKit with JavaScript API"
 url="http://www.phantomjs.org/"
 license=('BSD' 'LGPL' 'MIT')
 arch=('i686' 'x86_64')
-depends=('icu' 'libjpeg-turbo' 'libpng' 'freetype2' 'gperf' 'ruby' 'python2' 'gstreamer0.10-base')
+depends=('icu' 'libjpeg-turbo' 'libpng' 'fontconfig' 'gperf' 'ruby' 'python2' 'gstreamer0.10-base')
 makedepends=('git')
 source=("git+https://github.com/ariya/${pkgname}.git#tag=$pkgver")
 
@@ -21,7 +21,11 @@
   
   mkdir "$srcdir/python2-path"
   ln -s /usr/bin/python2 "$srcdir/python2-path/python"
-  PATH="$srcdir/python2-path:$PATH" PYTHON=/usr/bin/python2 ./build.sh --confirm --qt-config "-no-rpath"
+  export PATH="$srcdir/python2-path:$PATH" PYTHON=/usr/bin/python2 
+  
+  # shared build requires qt 5.3
+  #sed -i "s/export QMAKE=qmake/export QMAKE=qmake-qt5/" build.sh
+  ./build.sh --confirm --qtdeps=system --qt-config '-no-rpath' # --qtwebkit=system
 }
 
 package() {



More information about the arch-commits mailing list