40 lines
1021 B
Plaintext
40 lines
1021 B
Plaintext
# Tanım: WebKitGTK+, WebKit rendering motorunun tam özellikli bir portudur
|
||
# URL: http://webkitgtk.org/
|
||
# Paketçi: milisarge
|
||
# Gerekler: libwebp libsecret geoclue gperf gtk2 dbus gstreamer1-plugins-base icu enchant libsoup libxslt xorg-libxt ruby
|
||
|
||
name=webkitgtk2
|
||
version=2.4.11
|
||
release=2
|
||
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz
|
||
webkitgtk-2.4.9-abs.patch
|
||
icu59.patch)
|
||
|
||
build() {
|
||
cd webkitgtk-$version
|
||
patch -Np1 -i ../webkitgtk-2.4.9-abs.patch
|
||
patch -Np1 -i ../icu59.patch
|
||
install -d build
|
||
cd build
|
||
CXXFLAGS+=" -fno-delete-null-pointer-checks"
|
||
CFLAGS+=" -fno-delete-null-pointer-checks"
|
||
|
||
../configure \
|
||
--prefix=/usr \
|
||
--disable-geolocation \
|
||
--disable-gtk-doc-html \
|
||
--disable-silent-rules \
|
||
--enable-video \
|
||
--enable-jit \
|
||
--libexecdir=/usr/lib/webkitgtk2 \
|
||
--with-gtk=2.0 \
|
||
--disable-webkit2 \
|
||
--disable-gtk-doc
|
||
|
||
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||
|
||
make
|
||
make -j1 DESTDIR=$PKG install
|
||
rm -rf $PKG/usr/share/gtk-doc
|
||
}
|