contrib/webkitgtk/Pkgfile
2014-11-10 23:28:51 +11:00

37 lines
919 B
Plaintext

# Description: Small, efficient and fast rendering engine for Web Browsers.
# URL: http://www.webkitgtk.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Brett Goulder, predatorfreak at dcaf-security dot org
# Depends on: cmake enchant gst-plugins-base gtk3 harfbuzz-icu libsoup glu ruby gperf libwebp libsecret
name=webkitgtk
version=2.6.0
release=1
source=(http://webkitgtk.org/releases/$name-$version.tar.xz)
build() {
cd $name-$version
# setting CC and CXX breaks compilation
if [ -n "$(pkginfo -i | grep '^ccache ')" ]; then
unset CC CXX
export PATH="/usr/lib/ccache/:$PATH"
fi
install -d build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \
-DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/lib \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DPORT=GTK
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/locale
}