Browse Source

app: Separate flatpak platform quirks

pull/434/head
jld3103 1 year ago
parent
commit
ee3df6f4d7
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 8
      packages/app/de.provokateurin.neon.yaml

8
packages/app/de.provokateurin.neon.yaml

@ -11,6 +11,12 @@ finish-args:
- --device=dri - --device=dri
modules: modules:
- ../../external/flathub-shared-modules/libappindicator/libappindicator-gtk3-12.10.json - ../../external/flathub-shared-modules/libappindicator/libappindicator-gtk3-12.10.json
- name: x86_64-quirks
only-arches: [x86_64]
buildsystem: simple
build-commands:
- mkdir -p /app/nextcloud-neon/lib
- ln -s /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 /app/nextcloud-neon/lib/libsqlite3.so
- name: nextcloud-neon - name: nextcloud-neon
buildsystem: simple buildsystem: simple
build-commands: build-commands:
@ -18,8 +24,6 @@ modules:
- cp nextcloud-neon /app/nextcloud-neon/ - cp nextcloud-neon /app/nextcloud-neon/
- cp *.so /app/nextcloud-neon/lib/ - cp *.so /app/nextcloud-neon/lib/
- cp -r flutter_assets icudtl.dat /app/nextcloud-neon/data/ - cp -r flutter_assets icudtl.dat /app/nextcloud-neon/data/
- ln -s /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 /app/lib/libsqlite3.so
- if [ ! -e '/app/lib/libsqlite3.so' ]; then ln -s -f /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 /app/lib/libsqlite3.so; fi
- ln -sf /app/nextcloud-neon/nextcloud-neon /app/bin/nextcloud-neon - ln -sf /app/nextcloud-neon/nextcloud-neon /app/bin/nextcloud-neon
- install -Dm644 de.provokateurin.neon.desktop /app/share/applications/de.provokateurin.neon.desktop - install -Dm644 de.provokateurin.neon.desktop /app/share/applications/de.provokateurin.neon.desktop
- install -Dm644 logo.svg /app/share/icons/hicolor/scalable/apps/de.provokateurin.neon.svg - install -Dm644 logo.svg /app/share/icons/hicolor/scalable/apps/de.provokateurin.neon.svg

Loading…
Cancel
Save