-
Notifications
You must be signed in to change notification settings - Fork 102
/
snapcraft.yaml
84 lines (79 loc) · 2.79 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
name: bookworm
version: '1.0.0'
summary: A focused eBook reader
description: |
Read the books you love without having to worry about the different format complexities like epub, pdf, mobi, cbr, etc
Manage your library by tagging and updating metadata on books, to quickly find books using metadata searching and tag based filtering.
This version supports EPUB, MOBI, PRC, PDF and Comics (CBR and CBZ) formats with support for more formats to follow soon.
icon: data/icons/24/com.github.babluboy.bookworm.svg
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
slots:
dbus-bookworm:
interface: dbus
bus: session
name: com.github.babluboy.bookworm
apps:
bookworm:
command: desktop-launch com.github.babluboy.bookworm
slots: [ dbus-bookworm ]
desktop: usr/share/applications/com.github.babluboy.bookworm.desktop
plugs: [network, home, x11, unity7, gsettings, browser-support]
environment:
LD_LIBRARY_PATH: $SNAP/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/:$LD_LIBRARY_PATH
parts:
granite:
plugin: cmake
source: https://github.com/elementary/granite/archive/0.5.tar.gz
source-type: tar
configflags: [-DCMAKE_BUILD_TYPE=Release, -DCMAKE_INSTALL_PREFIX=/usr, -DCMAKE_INSTALL_LIBDIR=/usr/lib]
build-packages:
- build-essential
- libgee-0.8-dev
- libgirepository1.0-dev
- libgtk-3-dev
- cmake
- gobject-introspection
bookworm:
after: [granite, desktop-gtk3]
source: https://github.com/babluboy/bookworm/archive/1.0.0.tar.gz
source-type: tar
plugin: cmake
configflags: [-DCMAKE_INSTALL_PREFIX=/usr]
build-packages:
- build-essential
- valac
- intltool
- libgee-0.8-dev
- debhelper
- libgtk-3-dev
- libgranite-dev
- libwebkit2gtk-4.0-37
- libwebkit2gtk-4.0-dev
- libsqlite3-dev
- poppler-utils
- libpoppler-glib-dev
- libsoup2.4-dev
- libxml2-dev
stage-packages:
- gnome-keyring
- gobject-introspection
- libgdk-pixbuf2.0-0
- libgee-0.8-2
- libgtk-3-0
- libpango-1.0-0
- libcairo2
- libpangocairo-1.0-0
- libsqlite3-0
- libwebkit2gtk-4.0-37
- libxml2
- dbus-x11
valac:
plugin: autotools
source: http://download.gnome.org/sources/vala/0.38/vala-0.38.8.tar.xz
build-packages:
- flex
- bison
- build-essential
- libglib2.0-dev
- libgraphviz-dev