/phantomjs-rpms

Build PhantomJS RPM with xvfb support for EL5/6

Primary LanguageShell

This repository holds files and scripts to build a PhantomJS RPM package. This package will also include xvfb-run, so you are good to run your headless tests.

Ingredients

Licenses

  • Qt 4.7: LGPL
  • PhantomJS: BSD
  • Xorg-X11-Server: MIT

How to prepare build environment

  • build Qt 4.7 RPMS from included src.rpm OR use ./fetch-qt-rpms to download them
  • yum/rpm install qt47-devel qt47-webkit qt47-webkit-devel sqlite-devel

How to build

  • source code is included for PhantomJS 1.1, 1.2 and 1.3
  • ./rpm SPECS/phantomjs-$version.spec

Build branches

  • use fetch-phantomjs-branch script to fetch sources from branches
  • modify .spec to suit your needs

Have fun!