-
Notifications
You must be signed in to change notification settings - Fork 11
/
com.github.vikdevelop.timer.yaml
35 lines (35 loc) · 1.42 KB
/
com.github.vikdevelop.timer.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
app-id: com.github.vikdevelop.timer
runtime: org.gnome.Platform
runtime-version: '47'
sdk: org.gnome.Sdk
command: timer
finish-args:
- --share=ipc
# for continuous localization from Hosted Weblate
- --share=network
- --socket=wayland
- --socket=fallback-x11
# for potentional problems with GPU accellaration
- --device=dri
# for send notification about finished timing
- --talk-name=org.freedesktop.Notifications
# for realization shut down/reboot/suspend system after finished timer
- --system-talk-name=org.freedesktop.login1
# for play beep after finished timer and play alarm clock
- --socket=pulseaudio
modules:
- name: timer
buildsystem: simple
build-commands:
- install -D -t /app/bin timer
- cp -R src /app/
- mkdir /app/translations && cp translations/json/* /app/translations
- install -D -t /app/share/applications flatpak/com.github.vikdevelop.timer.desktop
- install -D -t /app/share/icons/hicolor/128x128/apps flatpak/appicon/com.github.vikdevelop.timer.png
- install -D -t /app/share/metainfo flatpak/com.github.vikdevelop.timer.metainfo.xml
- install -D -t /app/share/glib-2.0/schemas flatpak/com.github.vikdevelop.timer.gschema.xml
- glib-compile-schemas /app/share/glib-2.0/schemas
- cp flatpak/icons-symbolic/* /app/share/icons/hicolor/128x128/apps/
sources:
- type: dir
path: .