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