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

Felix Yan fyan at archlinux.org
Tue Feb 24 15:56:39 UTC 2015


    Date: Tuesday, February 24, 2015 @ 16:56:39
  Author: fyan
Revision: 128183

upgpkg: phantomjs 2.0.0-1

Modified:
  phantomjs/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-24 15:36:42 UTC (rev 128182)
+++ PKGBUILD	2015-02-24 15:56:39 UTC (rev 128183)
@@ -1,5 +1,5 @@
 # $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
 # Contributor: grimsock <lord.grimsock at gmail dot com>
 # Contributor: Dieter Plaetinck <dieter at plaetinck.be>
 # Contributor: Vladimir Chizhov <jagoterr at gmail.com>
@@ -6,23 +6,22 @@
 # Contributor: Henry Tang <henryykt at gmail.com>
 
 pkgname=phantomjs
-pkgver=1.9.8
+pkgver=2.0.0
 pkgrel=1
 pkgdesc="Headless WebKit with JavaScript API"
 url="http://www.phantomjs.org/"
 license=('BSD' 'LGPL' 'MIT')
 arch=('i686' 'x86_64')
-depends=('gstreamer0.10-base' 'fontconfig' 'freetype2' 'gcc-libs')
+depends=('icu' 'libjpeg-turbo' 'libpng' 'freetype2' 'gperf' 'ruby' 'python2' 'gstreamer0.10-base')
 makedepends=('git')
 source=("git+https://github.com/ariya/${pkgname}.git#tag=$pkgver")
 
 build() {
   cd $pkgname
-
-  # workaround for http://code.google.com/p/phantomjs/issues/detail?id=635
-  sed -i 's/QMAKE_LFLAGS+=-fuse-ld=gold/#QMAKE_LFLAGS+=-fuse-ld=gold/' src/qt/src/3rdparty/webkit/Source/common.pri
-
-  ./build.sh --confirm --qt-config "-no-rpath"
+  
+  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"
 }
 
 package() {



More information about the arch-commits mailing list