fix: Snapcraft and it builds now :-)

This commit is contained in:
Christian Pauly 2021-03-06 09:30:36 +01:00
parent 27f1269705
commit eb0eca4c0a
1 changed files with 56 additions and 10 deletions

View File

@ -1,11 +1,11 @@
name: fluffychat name: fluffychat
base: core18 base: core18
version: git version: git
summary: Open. Nonprofit. Cute ♥ summary: The cutest messenger in the Matrix network
description: | description: |
FluffyChat - Chat with your friends FluffyChat - Chat with your friends
9 greatest FluffyChat features: The greatest FluffyChat features:
1. Opensource and open development where everyone can join. 1. Opensource and open development where everyone can join.
2. Nonprofit - FluffyChat is donation funded. 2. Nonprofit - FluffyChat is donation funded.
3. Cute design and many theme settings including a dark mode. 3. Cute design and many theme settings including a dark mode.
@ -14,8 +14,8 @@ description: |
6. Free to use for everyone without ads. 6. Free to use for everyone without ads.
7. There is no "FluffyChat server" you are forced to use. Use the server 7. There is no "FluffyChat server" you are forced to use. Use the server
you find trustworthy or host your own. you find trustworthy or host your own.
8. Compatible with Riot, Fractal, Nekho and all matrix messengers. 8. Compatible with Element, Fractal, Nheko and all matrix messengers.
Join the community: https://matrix.to/#/#fluffychat:matrix.org Join the community: https://matrix.to/#/#fluffychat:matrix.org
Website: http://fluffychat.im Website: http://fluffychat.im
Microblog: https://metalhead.club/@krille Microblog: https://metalhead.club/@krille
@ -25,13 +25,59 @@ confinement: strict
icon: assets/logo.png icon: assets/logo.png
parts: parts:
olm:
plugin: cmake
source: https://gitlab.matrix.org/matrix-org/olm.git
source-type: git
source-tag: 3.2.1
build-packages:
- g++
fluffychat: fluffychat:
plugin: flutter plugin: dump
source: . source: ./build/linux/release/bundle/
flutter-target: lib/main.dart
stage-packages: stage-packages:
- libsqlite3-dev - libsqlite3-dev
#- libolm-dev #- libolm-dev # Not available in core18
- libatk-bridge2.0-0
- libatk1.0-0
- libatspi2.0-0
- libcairo-gobject2
- libcairo2
- libdatrie1
- libegl1
- libepoxy0
- libfontconfig1
- libfreetype6
- libgdk-pixbuf2.0-0
- libglvnd0
- libgraphite2-3
- libgtk-3-0
- libharfbuzz0b
- libpango-1.0-0
- libpangocairo-1.0-0
- libpangoft2-1.0-0
- libpixman-1-0
- libpng16-16
- libthai0
- libwayland-client0
- libwayland-cursor0
- libwayland-egl1
- libx11-6
- libxau6
- libxcb-render0
- libxcb-shm0
- libxcb1
- libxcomposite1
- libxcursor1
- libxdamage1
- libxdmcp6
- libxext6
- libxfixes3
- libxi6
- libxinerama1
- libxkbcommon0
- libxrandr2
- libxrender1
slots: slots:
dbus-svc: dbus-svc:
@ -41,8 +87,8 @@ slots:
apps: apps:
fluffychat: fluffychat:
command: fluffychat
extensions: [flutter-dev] extensions: [flutter-dev]
command: fluffychat
plugs: plugs:
- network - network
- home - home