milis/talimatname/genel/w/webkit2gtk3/talimat

33 lines
980 B
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: Taşınabilir web oluşturma motoru WebKit'in GTK+ 2 ve 3 platformlarına bağlantı noktası.
# URL: http://webkitgtk.org/
# 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
# Grup: ağ sistem
isim=webkit2gtk3
surum=2.17.4
devir=2
kaynak=(http://webkitgtk.org/releases/webkitgtk-$surum.tar.xz)
derle() {
cd webkitgtk-$surum
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 \
-DUSE_LIBHYPHEN=OFF \
-DLIB_INSTALL_DIR=/usr/lib \
-DENABLE_MINIBROWSER=ON \
-Wno-dev ..
make || make -j1
make DESTDIR=$PKG install || make -j1 DESTDIR=$PKG install
}