Skip to content

Commit 6585cf6

Browse files
committed
linux-rust: add session-bus to flatpak manifest for tray
1 parent 99e5b71 commit 6585cf6

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

linux-rust/flatpak/me.kavishdevar.librepods.yaml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sdk: org.freedesktop.Sdk
55
sdk-extensions:
66
- org.freedesktop.Sdk.Extension.rust-stable
77

8-
command: librepods-rust
8+
command: librepods
99

1010
finish-args:
1111
- --socket=wayland
@@ -15,27 +15,30 @@ finish-args:
1515
- --system-talk-name=org.bluez
1616
- --allow=bluetooth
1717
- --share=network
18+
- --socket=session-bus
1819

1920
build-options:
2021
append-path: /usr/lib/sdk/rust-stable/bin
2122
env:
22-
CARGO_HOME: /run/build/librepods-rust/cargo
23+
CARGO_HOME: /run/build/librepods/cargo
2324
CARGO_NET_OFFLINE: 'true'
2425
RUSTUP_HOME: /usr/lib/sdk/rust-stable
2526

2627
modules:
27-
- name: librepods-rust
28+
- name: librepods
2829
buildsystem: simple
2930
build-options:
3031
env:
3132
CARGO_NET_OFFLINE: 'true'
3233
build-commands:
33-
- cargo build --release --frozen --offline --verbose
34-
- install -Dm755 target/release/librepods-rust ${FLATPAK_DEST}/bin/librepods-rust
35-
- install -Dm644 assets/icon.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
34+
- cargo build --frozen --offline --verbose
35+
- install -Dm755 target/debug/librepods ${FLATPAK_DEST}/bin/librepods
36+
- install -Dm644 assets/icon.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/me.kavishdevar.librepods.png
3637
- install -Dm644 assets/me.kavishdevar.librepods.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
3738
- install -Dm644 flatpak/me.kavishdevar.librepods.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
3839
sources:
3940
- type: archive
40-
url: https://github.com/kavishdevar/librepods/releases/download/linux-v1.0.0/librepods-v1.0.0-source.tar.gz
41-
sha256: 0a8993c06b07032ec0203127de527e9f7c042d1d093ed16435e7ec32db3fec06
41+
path: ../dist/librepods-vlocal-source.tar.gz
42+
# url: https://github.com/kavishdevar/librepods/releases/download/linux-v0.1.0/librepods-v0.1.0-source.tar.gz
43+
# sha256: 287d31cbf6a1e1e8ab6a8ef02d4d9b31aa299652086b39c548a37b7fc8e31ba7
44+

0 commit comments

Comments
 (0)