forked from ports/contrib
37 lines
947 B
Plaintext
37 lines
947 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 shared-mime-info xorg-libxt
|
|
|
|
name=webkitgtk
|
|
version=2.8.2
|
|
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
|
|
}
|