diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 17 insertions, 20 deletions
@@ -1,22 +1,18 @@ pkgbase = phantomjs pkgdesc = Headless WebKit with JavaScript API pkgver = 2.1.1 - pkgrel = 16 + pkgrel = 17 url = https://www.phantomjs.org/ arch = i686 arch = x86_64 license = BSD license = LGPL license = MIT + makedepends = python makedepends = quilt - depends = icu - depends = libjpeg-turbo - depends = libpng - depends = fontconfig - depends = gperf - depends = ruby - depends = python2 - depends = openssl-1.0 + depends = gcc-libs + depends = glibc + depends = qt5-base depends = qt5-webkit source = phantomjs-2.1.1.tar.gz::https://github.com/ariya/phantomjs/archive/2.1.1.tar.gz source = https://deb.debian.org/debian/pool/main/p/phantomjs/phantomjs_2.1.1+dfsg-2.debian.tar.xz @@ -1,3 +1,4 @@ +# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com > # Contributor: Felix Golatofski <contact@xdfr.de> # Contributor: Chih-Hsuan Yen <yan12125@gmail.com> # Contributor: Felix Yan <felixonmars@archlinux.org> @@ -10,13 +11,13 @@ pkgname=phantomjs pkgver=2.1.1 _debver=2.1.1+dfsg _debrel=2 -pkgrel=16 +pkgrel=17 pkgdesc='Headless WebKit with JavaScript API' url='https://www.phantomjs.org/' license=('BSD' 'LGPL' 'MIT') arch=('i686' 'x86_64') -depends=('icu' 'libjpeg-turbo' 'libpng' 'fontconfig' 'gperf' 'ruby' 'python2' 'openssl-1.0' 'qt5-webkit') -makedepends=('quilt') +depends=('gcc-libs' 'glibc' 'qt5-base' 'qt5-webkit') +makedepends=('python' 'quilt') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ariya/phantomjs/archive/${pkgver}.tar.gz" "https://deb.debian.org/debian/pool/main/p/phantomjs/phantomjs_$_debver-$_debrel.debian.tar.xz" fix-missing-webkit-include-files.patch) @@ -36,21 +37,21 @@ prepare() { quilt push -av fi - mkdir "$srcdir/python2-path" - ln -s /usr/bin/python2 "$srcdir/python2-path/python" +# mkdir "$srcdir/python2-path" +# ln -s /usr/bin/python2 "$srcdir/python2-path/python" patch -p1 -i ../fix-missing-webkit-include-files.patch } build() { cd $pkgname-$pkgver - export PATH="$srcdir/python2-path:$PATH" PYTHON=/usr/bin/python2 - export CXXFLAGS+=' -I/usr/include/openssl-1.0' - export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto' +# export PATH="$srcdir/python2-path:$PATH" PYTHON=/usr/bin/python2 +# export CXXFLAGS+=' -I/usr/include/openssl-1.0' +# export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto' - CFLAGS+=' -Wno-expansion-to-defined' - CXXFLAGS+=' -Wno-expansion-to-defined' +# CFLAGS+=' -Wno-expansion-to-defined' +# CXXFLAGS+=' -Wno-expansion-to-defined' - python2 build.py --skip-git --skip-qtbase --skip-qtwebkit --confirm --release + python build.py --skip-git --skip-qtbase --skip-qtwebkit --confirm --release } package() { |