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

Felix Yan fyan at archlinux.org
Sun Jan 24 15:12:55 UTC 2016


    Date: Sunday, January 24, 2016 @ 16:12:55
  Author: fyan
Revision: 158753

upgpkg: phantomjs 2.1.0-1

Modified:
  phantomjs/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-24 15:04:07 UTC (rev 158752)
+++ PKGBUILD	2016-01-24 15:12:55 UTC (rev 158753)
@@ -6,13 +6,13 @@
 # Contributor: Henry Tang <henryykt at gmail.com>
 
 pkgname=phantomjs
-pkgver=2.0.0
-pkgrel=6
+pkgver=2.1.0
+pkgrel=1
 pkgdesc="Headless WebKit with JavaScript API"
 url="http://www.phantomjs.org/"
 license=('BSD' 'LGPL' 'MIT')
 arch=('i686' 'x86_64')
-depends=('icu' 'libjpeg-turbo' 'libpng' 'fontconfig' 'gperf' 'ruby' 'python2' 'gstreamer0.10-base')
+depends=('icu' 'libjpeg-turbo' 'libpng' 'fontconfig' 'gperf' 'ruby' 'python2')
 makedepends=('git')
 source=("git+https://github.com/ariya/${pkgname}.git#tag=$pkgver"
         gcc-5.patch)
@@ -20,9 +20,6 @@
 prepare() {
   mkdir "$srcdir/python2-path"
   ln -s /usr/bin/python2 "$srcdir/python2-path/python"
-
-  # https://bugreports.qt.io/browse/QTBUG-44829 / https://github.com/ariya/phantomjs/issues/13265
-  (cd $pkgname/src/qt/qtwebkit; patch -p1 -i "$srcdir/gcc-5.patch")
 }
 
 build() {
@@ -29,9 +26,7 @@
   cd $pkgname
   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
+  python2 build.py --confirm --release --qt-config='-no-rpath'
 }
 
 package() {



More information about the arch-commits mailing list