-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.github.vikdevelop.timer.yml
34 lines (34 loc) · 1.49 KB
/
com.github.vikdevelop.timer.yml
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
app-id: com.github.vikdevelop.timer
runtime: org.gnome.Platform
runtime-version: '47'
sdk: org.gnome.Sdk
command: timer
finish-args:
- --share=ipc
- --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: archive
url: https://github.com/vikdevelop/timer/archive/refs/tags/3.5.tar.gz
sha256: 04dcd52236da5f240181252f30ff4c8df137e84f06cce063bdf093003a272663