milis/talimatname/genel/w/webkitgtk2/talimat

40 lines
1013 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: WebKitGTK+, WebKit rendering motorunun tam özellikli bir portudur
2016-02-24 01:27:23 +01:00
# URL: http://webkitgtk.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: libwebp libsecret geoclue gperf gtk2 dbus gstreamer1-plugins-base icu enchant libsoup libxslt xorg-libxt ruby
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=webkitgtk2
surum=2.4.11
devir=2
kaynak=(http://webkitgtk.org/releases/webkitgtk-$surum.tar.xz
2017-09-20 17:23:51 +02:00
webkitgtk-2.4.9-abs.patch
icu59.patch)
2016-07-23 15:50:40 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd webkitgtk-$surum
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 15:50:40 +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-07-23 15:50:40 +02:00
../configure \
--prefix=/usr \
--disable-geolocation \
--disable-gtk-doc-html \
--disable-silent-rules \
--enable-video \
--enable-jit \
--libexecdir=/usr/lib/webkitgtk2 \
--with-gtk=2.0 \
2017-09-20 17:23:51 +02:00
--disable-webkit2 \
--disable-gtk-doc
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
2016-02-24 01:27:23 +01:00
2017-09-20 17:23:51 +02:00
make
make -j1 DESTDIR=$PKG install
rm -rf $PKG/usr/share/gtk-doc
2016-02-24 01:27:23 +01:00
}