-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathio.github.juzzlin.Noteahead.yml
More file actions
70 lines (66 loc) · 2.85 KB
/
io.github.juzzlin.Noteahead.yml
File metadata and controls
70 lines (66 loc) · 2.85 KB
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
67
68
69
70
app-id: io.github.juzzlin.Noteahead
runtime: org.kde.Platform
runtime-version: '6.5'
sdk: org.kde.Sdk
command: noteahead
finish-args:
- --share=network
- --share=ipc
- --device=all
- --socket=pulseaudio
- --socket=x11
- --socket=wayland
- --socket=fallback-x11
- --filesystem=home
modules:
- name: rtmidi
buildsystem: cmake-ninja
sources:
- type: archive
url: https://github.com/thestk/rtmidi/archive/refs/tags/6.0.0.tar.gz
sha256: ef7bcda27fee6936b651c29ebe9544c74959d0b1583b716ce80a1c6fea7617f0
builddir: true
- name: rtaudio
buildsystem: cmake-ninja
sources:
- type: archive
url: https://github.com/thestk/rtaudio/archive/refs/tags/6.0.1.tar.gz
sha256: 7206c8b6cee43b474f43d64988fefaadfdcfc4264ed38d8de5f5d0e6ddb0a123
builddir: true
- name: libsndfile
buildsystem: cmake-ninja
config-opts:
- -DBUILD_SHARED_LIBS=ON
- -DBUILD_PROGRAMS=OFF
- -DBUILD_EXAMPLES=OFF
- -DBUILD_TESTING=OFF
sources:
- type: archive
url: https://github.com/libsndfile/libsndfile/releases/download/1.2.2/libsndfile-1.2.2.tar.xz
sha256: 3799ca9924d3125038880367bf1468e53a1b7e3686a934f098b7e1d286cdb80e
- name: noteahead
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DCMAKE_PREFIX_PATH=/app
sources:
- type: dir
path: .
build-options:
cxxflags: -O2
builddir: true
cleanup:
- /include
- /share/man
- /share/doc
post-install:
- mv /app/share/applications/noteahead.desktop /app/share/applications/io.github.juzzlin.Noteahead.desktop || true
- mv /app/share/icons/hicolor/256x256/apps/noteahead.png /app/share/icons/hicolor/256x256/apps/io.github.juzzlin.Noteahead.png || true
- mv /app/share/metainfo/noteahead.appdata.xml /app/share/metainfo/io.github.juzzlin.Noteahead.metainfo.xml || true
- sed -i 's/^Icon=noteahead$/Icon=io.github.juzzlin.Noteahead/' /app/share/applications/io.github.juzzlin.Noteahead.desktop
- sed -i '/<filters/,/<\/filters>/d' /app/share/metainfo/io.github.juzzlin.Noteahead.metainfo.xml
- sed -i 's|<application|<component type="desktop-application"|' /app/share/metainfo/io.github.juzzlin.Noteahead.metainfo.xml
- sed -i 's|</application>|</component>|' /app/share/metainfo/io.github.juzzlin.Noteahead.metainfo.xml
- sed -i 's|<id>.*</id>|<id>io.github.juzzlin.Noteahead</id>|' /app/share/metainfo/io.github.juzzlin.Noteahead.metainfo.xml
- sed -i 's|<icon[^>]*>noteahead</icon>|<icon type="stock">io.github.juzzlin.Noteahead</icon>|' /app/share/metainfo/io.github.juzzlin.Noteahead.metainfo.xml
- sed -i 's|<launchable[^>]*>noteahead.desktop</launchable>|<launchable type="desktop-id">io.github.juzzlin.Noteahead.desktop</launchable>|' /app/share/metainfo/io.github.juzzlin.Noteahead.metainfo.xml