5
VERSION=$(grep -r "^set(VERSION" CMakeLists.txt | sed -r "s@.+ ([0-9.]+)\)@\1@")
7
echo $VERSION~r$REVISION
8
summary: a lightweight, fast, and free web browser
10
Midori is a fast little WebKit browser with support for HTML5. It can manage
11
many open tabs and windows. The URL bar completes history, bookmarks, search
12
engines and open tabs out of the box. Web developers can use the powerful
13
web inspector that is a part of WebKit. Individual pages can easily be turned
14
into web apps and new profiles can be created on demand.
16
A number of extensions are included by default:
18
* Adblock with support for ABP filter lists and custom rules is built-in.
19
* You can download files with Aria2 or SteadyFlow.
20
* User scripts and styles support a la Greasemonkey.
21
* Managing cookies and scripts via NoJS and Cookie Security Manager.
22
* Switching open tabs in a vertical panel or a popup window.
26
icon: icons/scalable/apps/midori.svg
30
command: desktop-launch snapcraft-preload midori
40
- screen-inhibit-control
41
- password-manager-service
46
desktop: share/applications/midori.desktop
48
LD_LIBRARY_PATH: $SNAP/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/:$LD_LIBRARY_PATH
49
# Work-around GPU crash https://bugs.webkit.org/show_bug.cgi?id=126122
50
WEBKIT_DISABLE_COMPOSITING_MODE: 1
57
name: de.twotoasts.midori
64
- -DCMAKE_INSTALL_DATADIR=/usr/share
65
- -DHALF_BRO_INCOM_WEBKIT2=1
70
- libwebkit2gtk-4.0-dev
71
- libsoup-gnome2.4-dev
79
"TabNew,Back,NextForward,ReloadStop,BookmarkAdd,Location,Trash,CompactMenu\n" \
80
"show-statusbar=false\n" \
81
> $SNAPCRAFT_PART_INSTALL/etc/xdg/midori/config
83
- libwebkit2gtk-4.0-37
84
- libcanberra-gtk3-module
86
- gnome-icon-theme-symbolic
88
- gstreamer1.0-plugins-base
89
- gstreamer1.0-plugins-good
90
- gstreamer1.0-plugins-bad
91
- gstreamer1.0-plugins-ugly
92
- gstreamer1.0-pulseaudio
93
- pulseaudio-module-x11
96
- -share/applications/midori-private.desktop
97
- -usr/lib/x86_64-linux-gnu/libcups.so.2
98
- -usr/share/doc/libcups2/changelog.Debian.gz
104
source: https://github.com/kalikiana/snapcraft-preload.git
105
source-branch: webkitgtk2