milis/talimatname/genel/w/webkitgtk3/talimat

39 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Web Tarayıcıları için küçük, verimli ve hızlı render motoru.
# URL: http://www.webkitgtk.org/
# Paketçi: milisarge
# Gerekler: libwebp libsecret geoclue gperf gtk2 gtk3 curl dbus gstreamer1-plugins-base icu enchant libsoup libxslt xorg-libxt ruby
isim=webkitgtk3
surum=2.4.11
devir=2
kaynak=(http://webkitgtk.org/releases/webkitgtk-$surum.tar.xz
webkitgtk-2.4.9-abs.patch
icu59.patch)
derle() {
cd webkitgtk-$surum
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/webkitgtk3 \
--enable-introspection \
--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
}