-
Notifications
You must be signed in to change notification settings - Fork 0
/
moe.japan7.karaberus.yml
37 lines (37 loc) · 1.49 KB
/
moe.japan7.karaberus.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
id: moe.japan7.karaberus
runtime: org.gnome.Platform
runtime-version: '46'
sdk: org.gnome.Sdk
command: karaberus-wrapper
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --device=dri
- --share=ipc
- --share=network
- --talk-name=org.freedesktop.Flatpak
modules:
- name: binary
buildsystem: simple
sources:
- type: file
url: https://github.com/Japan7/karaberus/releases/download/app-v0.5.3/karaberus_0.5.3_amd64.deb
sha256: 4973603905ee19377a5dc3f20ff06047d8a2564da13e2654dc8e3db13b59c37f
only-arches: [x86_64]
build-commands:
- ar -x *.deb
- tar -xf data.tar.gz
- install -Dm755 usr/bin/app /app/bin/app
- install -Dm644 usr/share/icons/hicolor/128x128/apps/app.png /app/share/icons/hicolor/128x128/apps/moe.japan7.karaberus.png
- install -Dm644 usr/share/icons/hicolor/32x32/apps/app.png /app/share/icons/hicolor/32x32/apps/moe.japan7.karaberus.png
- install -Dm644 usr/share/icons/hicolor/256x256@2/apps/app.png /app/share/icons/hicolor/256x256@2/apps/moe.japan7.karaberus.png
- name: additional-files
buildsystem: simple
sources:
- type: dir
path: .
build-commands:
- install -Dm555 mpv /app/bin/mpv
- install -Dm555 karaberus-wrapper /app/bin/karaberus-wrapper
- install -Dm644 moe.japan7.karaberus.desktop /app/share/applications/moe.japan7.karaberus.desktop
- install -Dm644 moe.japan7.karaberus.metainfo.xml /app/share/metainfo/moe.japan7.karaberus.metainfo.xml