forked from mirkobrombin/Twitz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnapcraft.yaml
130 lines (121 loc) · 2.95 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
name: twitz
version: git
summary: Twitz
description: "An unofficial and unpretentious Twitch client for Linux"
license: GPL-3.0+
icon: data/pm.mirko.Twitz.svg
base: core20
confinement: strict
grade: stable
architectures:
- build-on: [amd64, armhf]
run-on: [amd64, armhf]
parts:
desktop-gtk3:
build-packages:
- build-essential
- libgtk-3-dev
make-parameters:
- FLAVOR=gtk3
plugin: make
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
source-subdir: gtk
stage-packages:
- libxkbcommon0
- ttf-ubuntu-font-family
- dmz-cursor-theme
- light-themes
- adwaita-icon-theme
- gnome-themes-standard
- shared-mime-info
- libgtk-3-0
- libgdk-pixbuf2.0-0
- libglib2.0-bin
- libgtk-3-bin
- unity-gtk3-module
- libappindicator3-1
- locales-all
- xdg-user-dirs
- ibus-gtk3
- libibus-1.0-5
- fcitx-frontend-gtk3
twitz:
plugin: dump
source: https://github.com/mirkobrombin/Twitz/releases/download/unstable/pm.mirko.twitz-unstable.deb
build-packages:
- python3
- python3-pip
- python3-distutils
- python3-six
- python3-setuptools
- gettext
- libglib2.0-dev
- appstream-util
- desktop-file-utils
- gsettings-desktop-schemas-dev
- python3-pytoml
- libgtk-3-dev
- libmpv-dev
- libgirepository1.0-dev
- gobject-introspection
stage-packages:
- libhandy-0.0-0
- python3
- python3-gi
- python3-gi-cairo
- python-gi-dev
- gir1.2-gtk-3.0
- gir1.2-glib-2.0
- gir1.2-gdl-3
- gir1.2-webkit2-4.0
- libgstreamer1.0-0
- libcairo-gobject2
- libcairo2
- libfontconfig1
- libgirepository-1.0-1
- libxrender1
- mpv
- libmpv1
- libwbclient0
organize:
snap/twitz/current/usr: usr
python-packages:
plugin: python
python-packages: [wheel, python-mpv, youtube_dl, pyopengl, PyGObject]
stage:
- lib/*
apps:
twitz:
command: usr/bin/twitz
desktop: usr/share/applications/pm.mirko.Twitz.desktop
extensions: [gnome-3-38]
plugs:
- desktop
- desktop-legacy
- pulseaudio
- gsettings
- unity7
- x11
- network
- network-observe
- network-bind
- network-status
- audio-playback
- dbus
slots:
- dbus-twitz
environment:
LD_LIBRARY_PATH: "$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio:$LD_LIBRARY_PATH"
DISABLE_WAYLAND: 1
XDG_CURRENT_DESKTOP: Unity
TMPDIR: $XDG_RUNTIME_DIR
XDG_DATA_HOME: $SNAP_USER_COMMON
HOME: $SNAP_USER_COMMON
GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas
PYTHONPATH: $SNAP/usr/lib/python3/dist-packages
GI_TYPELIB_PATH: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/girepository-1.0
slots:
dbus-twitz:
interface: dbus
bus: session
name: pm.mirko.Twitz