milis/talimatname/genel/w/webkit2gtk3/talimat

32 lines
969 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Taşınabilir web oluşturma motoru WebKit'in GTK+ 2 ve 3 platformlarına bağlantı noktası.
2016-02-24 01:27:23 +01:00
# URL: http://webkitgtk.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: enchant cmake gstreamer1-plugins-base xorg-libxt gtk2 gtk3 hunspell icu libgudev libsecret libsoup libwebp xorg-mesa ruby sqlite geoclue gobject-introspection hicolor-icon-theme llvm harfbuzz libnotify
2016-02-24 01:27:23 +01:00
name=webkit2gtk3
2017-07-14 18:04:10 +02:00
version=2.17.4
2017-09-20 17:23:51 +02:00
release=2
2016-02-24 01:27:23 +01:00
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz)
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
cd webkitgtk-$version
sed -e 's/“/\"/' -e 's/”/\"/' \
-i Source/WebCore/xml/XMLViewer.{css,js}
mkdir -vp build
cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON \
-DPORT=GTK \
2016-07-23 15:50:40 +02:00
-DUSE_LIBHYPHEN=OFF \
2016-02-24 01:27:23 +01:00
-DLIB_INSTALL_DIR=/usr/lib \
-DENABLE_MINIBROWSER=ON \
-Wno-dev ..
make || make -j1
make DESTDIR=$PKG install || make -j1 DESTDIR=$PKG install
}