-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathNOTES.txt
45 lines (30 loc) · 1.69 KB
/
NOTES.txt
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
install flatpak
https://github.com/flatpak/flatpak-builder-tools/tree/master/pip
https://raw.githubusercontent.com/flatpak/flatpak-builder-tools/master/pip/flatpak-pip-generator
unfortunately our conan deps don't work because flatpak doesn't allow us to download
./flatpak-pip-generator --runtime='org.freedesktop.Sdk//22.08' conan==1.58.0
simply build executable and then use flatpak to copy the binary
mkdir build && cd build
cmake .. -DWITH_DBUS=Off -DWITH_JACKSERVER=Off -DCMAKE_BUILD_TYPE=Release
cmake --build .
flatpak-builder --user --install --force-clean flatpak2 com.Cycling74.RNBORunner2.yaml
flatpak run com.Cycling74.RNBORunner2
helpful stuff:
https://github.com/boostorg/boost/issues/334
https://docs.flatpak.org/en/latest/first-build.html
try 3
with sudo
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install org.freedesktop.Sdk/x86_64/22.08
flatpak install org.freedesktop.Platform/x86_64/22.08
flatpak-builder --install --force-clean flatpak-build com.Cycling74.RNBORunner.yaml
flatpak remote-modify --collection-id=com.Cycling74.RNBORunner rnborunner1-origin
flatpak remote-modify --collection-id=org.flathub.flathub flathub
flatpak create-usb /media/parallels/XNORUSB/ com.Cycling74.RNBORunner
couldn't figure out how to actually install it on the deck
can list it though
flatpak remote-ls file:///run/media/deck/XNORUSB/.ostree/repo/
success! on deck, with sudo
flatpak remote-add --if-not-exists rnborunner1-origin file:///home/deck/rnborunner1-origin
flatpak remote-modify --collection-id=com.Cycling74.RNBORunner rnborunner1-origin
flatpak install --sideload-repo=/run/media/deck/XNORUSB/.ostree/repo rnborunner1-origin com.Cycling74.RNBORunner