milis/talimatname/genel/w/webkitgtk3/talimat

39 lines
1.0 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Web Tarayıcıları için küçük, verimli ve hızlı render motoru.
2016-07-23 10:43:58 +02:00
# URL: http://www.webkitgtk.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: libwebp libsecret geoclue gperf gtk2 gtk3 curl dbus gstreamer1-plugins-base icu enchant libsoup libxslt xorg-libxt ruby
2016-07-23 10:43:58 +02:00
2016-02-24 01:27:23 +01:00
name=webkitgtk3
2016-07-23 10:43:58 +02:00
version=2.4.11
2017-09-20 17:23:51 +02:00
release=2
2016-07-23 15:50:40 +02:00
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz
2017-09-20 17:23:51 +02:00
webkitgtk-2.4.9-abs.patch
icu59.patch)
2016-07-23 10:43:58 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2016-07-23 10:43:58 +02:00
cd webkitgtk-$version
2017-09-20 17:23:51 +02:00
patch -Np1 -i ../webkitgtk-2.4.9-abs.patch
patch -Np1 -i ../icu59.patch
2016-07-23 10:43:58 +02:00
install -d build
cd build
2017-09-20 17:23:51 +02:00
CXXFLAGS+=" -fno-delete-null-pointer-checks"
CFLAGS+=" -fno-delete-null-pointer-checks"
2016-02-24 01:27:23 +01:00
2016-07-23 10:43:58 +02:00
../configure \
--prefix=/usr \
--disable-geolocation \
--disable-gtk-doc-html \
--disable-silent-rules \
--enable-video \
--enable-jit \
2016-07-23 15:50:40 +02:00
--libexecdir=/usr/lib/webkitgtk3 \
2017-09-20 17:23:51 +02:00
--enable-introspection \
--disable-gtk-doc
2016-07-23 15:50:40 +02:00
2017-09-20 17:23:51 +02:00
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make -j1 DESTDIR=$PKG install
rm -rf $PKG/usr/share/gtk-doc
2016-02-24 01:27:23 +01:00
}