# Tanım: WebKitGTK+ kullanan hafif tarayıcı
# URL: http://www.twotoasts.de
# Paketçi: milisarge
# Gerekler: meson cmake gcr webkitgtk2 gtk3 webkit2gtk3 webkitgtk3 vala glib-networking libnotify librsvg libunique1 desktop-file-utils hicolor-icon-theme gstreamer1-plugins-libav gstreamer1-plugins-base gstreamer1-plugins-good
# Grup: ağ

isim=midori
surum=0.5.11
devir=3

kaynak=(http://www.midori-browser.org/downloads/${isim}_${surum}_all_.tar.bz2)
derle() {
	cd $isim-$surum
	mkdir -p build
	cd build
	cmake .. \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_INSTALL_LIBDIR=lib \
	-DHALF_BRO_INCOM_WEBKIT2=ON \
	-DCMAKE_C_FLAGS="$CFLAGS -w" \
	-DUSE_ZEITGEIST=OFF \
	-DUSE_GTK3=1 \
	-G Ninja
	ninja
	DESTDIR="$PKG" ninja -C "$SRC/$isim-$surum/build" install
}
