mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/phantomjs to 2.0.0-1
This commit is contained in:
parent
9be2d95b6d
commit
557d631d61
1 changed files with 6 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
# $Id$
|
||||
# Maintainer: Felix Yan <felixonmars@gmail.com>
|
||||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
# Contributor: grimsock <lord.grimsock at gmail dot com>
|
||||
# Contributor: Dieter Plaetinck <dieter@plaetinck.be>
|
||||
# Contributor: Vladimir Chizhov <jagoterr@gmail.com>
|
||||
|
@ -9,27 +9,25 @@
|
|||
# - Just say NO to x86 optimizations, and no neon
|
||||
# - added -fno-strict-volatile-bitfields to CXXFLAGS to fix ARM bug
|
||||
|
||||
|
||||
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
|
||||
|
||||
export CXXFLAGS="$CXXFLAGS -fno-strict-volatile-bitfields"
|
||||
|
||||
./build.sh --confirm --qt-config \
|
||||
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 -no-mmx -no-3dnow -no-sse -no-sse2 -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-neon"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue