Skip to content

Commit

Permalink
Use ${FLATPAK_ID} & ${FLATPAK_DEST} where applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
ZVNexus committed Sep 30, 2024
1 parent 6cd1d1a commit 756923f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions com.spotify.Client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,21 @@ modules:
buildsystem: simple
build-commands:
- cc spotify-preload.c -o spotify-preload.so -fPIC -shared -ldl
- install -Dm644 spotify-preload.so /app/lib/spotify-preload.so
- install -Dm644 spotify-preload.so ${FLATPAK_DEST}/lib/spotify-preload.so
sources:
- type: file
path: spotify-preload.c

- name: spotify
buildsystem: simple
build-commands:
- install -Dm755 apply_extra /app/bin
- install -Dm755 get-scale-factor.py xsettings.py /app/bin
- install -Dm755 spotify-bin /app/bin/spotify
- install -Dm644 com.spotify.Client.appdata.xml /app/share/appdata/com.spotify.Client.appdata.xml
- install -Dm644 com.spotify.Client.svg /app/share/icons/hicolor/scalable/apps/com.spotify.Client.svg
- install -Dm644 com.spotify.Client-symbolic.svg /app/share/icons/hicolor/symbolic/apps/com.spotify.Client-symbolic.svg
- install -Dm644 com.spotify.Client.desktop /app/share/applications/com.spotify.Client.desktop
- install -Dm755 apply_extra ${FLATPAK_DEST}/bin
- install -Dm755 get-scale-factor.py xsettings.py ${FLATPAK_DEST}/bin
- install -Dm755 spotify-bin ${FLATPAK_DEST}/bin/spotify
- install -Dm644 ${FLATPAK_ID}.appdata.xml ${FLATPAK_DEST}/share/appdata/${FLATPAK_ID}.appdata.xml
- install -Dm644 ${FLATPAK_ID}.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
- install -Dm644 ${FLATPAK_ID}-symbolic.svg ${FLATPAK_DEST}/share/icons/hicolor/symbolic/apps/${FLATPAK_ID}-symbolic.svg
- install -Dm644 ${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
sources:
- type: extra-data
filename: spotify.snap
Expand Down

0 comments on commit 756923f

Please sign in to comment.