-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcom.one_ware.OneWare.yml
More file actions
87 lines (80 loc) · 2.6 KB
/
Copy pathcom.one_ware.OneWare.yml
File metadata and controls
87 lines (80 loc) · 2.6 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
app-id: com.one_ware.OneWare
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.dotnet10
build-options:
prepend-path: "/usr/lib/sdk/dotnet10/bin"
append-ld-library-path: "/usr/lib/sdk/dotnet10/lib"
prepend-pkg-config-path: "/usr/lib/sdk/dotnet10/lib/pkgconfig"
arch:
aarch64:
env:
RUNTIME: "linux-arm64"
x86_64:
env:
RUNTIME: "linux-x64"
command: oneware
separate-locales: false
finish-args:
- --device=all
- --share=ipc
- --share=network
- --socket=x11
- --filesystem=home
- --talk-name=org.freedesktop.secrets
modules:
# Libsecret
- shared-modules/libsecret/libsecret.json
# Git
- name: git
buildsystem: simple
build-commands:
- install -D /usr/bin/git /app/bin/git
sources:
- type: script
commands:
- echo "Bundling git binary for runtime"
# v4l-utils
- name: v4l-utils
buildsystem: autotools
config-opts:
- --disable-static
- --disable-doxygen-doc
- --disable-libdvbv5
- --disable-v4l-utils
- --disable-qv4l2
- --with-udevdir=/app/lib/udev/
cleanup:
- /include
- /lib/pkgconfig
- '*.la'
- '*.a'
sources:
- type: archive
url: https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.22.0.tar.bz2
sha256: 1069e5d7909bcc563baeaadc3a5c496f0e658524c413cf7818816e37bfcea344
# OneWare build module
- name: oneware
buildsystem: simple
build-commands:
- dotnet publish --source nuget-sources -c Release -r $RUNTIME -o ./studio ./source/studio/OneWare.Studio.Desktop/OneWare.Studio.Desktop.csproj
- install -D -m755 oneware ${FLATPAK_DEST}/bin/oneware
- install -D -m644 studio/${FLATPAK_ID}.mime.xml ${FLATPAK_DEST}/share/mime/packages/${FLATPAK_ID}-mime.xml
- install -D -m644 studio/${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
- install -D -m644 studio/Assets/${FLATPAK_ID}.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
- install -D -m644 studio/${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
- cp -r studio ${FLATPAK_DEST}/bin/studio
sources:
- type: git
url: https://github.com/one-ware/OneWare.git
disable-shallow-clone: true
dest: source
tag: 1.0.26
commit: a5aca406f833a73518e1726e19e4f332d2edc4a0
- type: script
dest-filename: oneware
commands:
- exec /app/bin/studio/OneWareStudio "$@"
- oneware-nuget-sources.json