-
Notifications
You must be signed in to change notification settings - Fork 5
/
org.DTeam.DMusic.yml
67 lines (63 loc) · 1.74 KB
/
org.DTeam.DMusic.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
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
app-id: org.DTeam.DMusic
runtime: org.kde.Platform
runtime-version: '5.15-23.08'
sdk: org.kde.Sdk
command: dmusic
finish-args:
- --share=ipc
- --socket=x11
- --socket=wayland
- --share=network
- --filesystem=host
- --socket=pulseaudio
- --device=dri
modules:
- name: nim
buildsystem: simple
build-commands:
- sh install.sh /app
- cp bin/nimble /app/nim/bin/nimble
sources:
- type: archive
url: https://nim-lang.org/download/nim-2.0.0-linux_x64.tar.xz
# this checksum is from:
# https://nim-lang.org/download/nim-2.0.0-linux_x64.tar.xz.sha256
sha256: ca1ffec35439a02b3102faf1c1caf5a033f929832b7fa2c76b3a6a7216f14f01
- name: taglib
config-opts:
- -DBUILD_SHARED_LIBS=ON
buildsystem: cmake-ninja
sources:
- type: archive
url: https://taglib.github.io/releases/taglib-1.12.tar.gz
sha256: 7fccd07669a523b07a15bd24c8da1bbb92206cb19e9366c3692af3d79253b703
x-checker-data:
type: anitya
project-id: 1982
stable-only: true
url-template: https://taglib.github.io/releases/taglib-$version.tar.gz
- name: dmusic
buildsystem: simple
build-options:
build-args:
- --share=network
build-commands:
- /app/nim/bin/nimble -y --nim:/app/nim/bin/nim --nimbleDir:.nimble --nimcache:.cache -d:flatpak build
- install -D dmusic /app/bin/dmusic
sources:
- type: dir
path: src
dest: src
- type: dir
path: resources
dest: resources
- type: dir
path: qml
dest: qml
- type: dir
path: translations
dest: translations
- type: file
path: qml.qrc
- type: file
path: DMusic.nimble