-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.github.vikdevelop.timer.yml
37 lines (37 loc) · 1.69 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
35
36
37
app-id: com.github.vikdevelop.timer
runtime: org.gnome.Platform
runtime-version: '46'
sdk: org.gnome.Sdk
command: timer.sh
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:
- chmod +x timer.sh
- install -D -t /app/bin timer.sh
- install -D -t /app timer.py
- cp -R src /app/
- install -D -t /app/share/beeps src/beeps/Oxygen.ogg && install -D -t /app/share/beeps src/beeps/Oxygen-Im-Phone-Ring.ogg
- 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.4.2s.tar.gz
sha256: 7b0a459db6720dccc501dc5b63c51aab103e79234789e7b2506706c1212a747e