mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 14:59:29 +01:00
parent
489de95689
commit
1894ddb3db
@ -195,6 +195,29 @@ build_linux:
|
||||
only:
|
||||
- main
|
||||
|
||||
snap:edge:
|
||||
stage: publish
|
||||
image: "cibuilds/snapcraft:core18"
|
||||
only:
|
||||
- main
|
||||
script:
|
||||
## Manually install the flutter-dev snap, so we can use the flutter extension
|
||||
- 'curl -L $(curl -H "X-Ubuntu-Series: 16" "https://api.snapcraft.io/api/v1/snaps/details/flutter?channel=latest/stable" | jq ".download_url" -r) --output flutter.snap'
|
||||
- sudo mkdir -p /snap/flutter
|
||||
- sudo unsquashfs -d /snap/flutter/current flutter.snap
|
||||
- rm -f flutter.snap
|
||||
- sudo ln -sf /snap/flutter/current/flutter.sh /snap/bin/flutter
|
||||
- sudo ln -sf /snap/flutter/current/env.sh /snap/bin/env.sh
|
||||
- snapcraft
|
||||
- echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login
|
||||
- snapcraft login --with snapcraft.login
|
||||
- snapcraft push --release=edge *.snap
|
||||
- snapcraft logout
|
||||
artifacts:
|
||||
paths:
|
||||
- './*.snap'
|
||||
when: on_success
|
||||
|
||||
snap:publish:
|
||||
stage: publish
|
||||
image: "cibuilds/snapcraft:core18"
|
||||
|
9
snap/gui/fluffychat.desktop
Executable file
9
snap/gui/fluffychat.desktop
Executable file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=FluffyChat
|
||||
GenericName=Matrix Client
|
||||
Comment=Chat with your friends
|
||||
Exec=fluffychat
|
||||
Icon=${SNAP}/meta/gui/fluffychat.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Network;Chat;InstantMessaging;
|
BIN
snap/gui/fluffychat.png
Normal file
BIN
snap/gui/fluffychat.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
@ -1,6 +1,6 @@
|
||||
name: fluffychat
|
||||
base: core18
|
||||
version: script
|
||||
version: git
|
||||
summary: Open. Nonprofit. Cute ♥
|
||||
description: |
|
||||
FluffyChat - Chat with your friends
|
||||
@ -23,28 +23,63 @@ description: |
|
||||
Microblog: https://metalhead.club/@krille
|
||||
|
||||
grade: devel
|
||||
confinement: strict
|
||||
icon: assets/logo.png
|
||||
confinement: devmode
|
||||
|
||||
parts:
|
||||
olm: # FIXME
|
||||
olm:
|
||||
plugin: cmake
|
||||
source: https://gitlab.matrix.org/matrix-org/olm.git
|
||||
source-type: git
|
||||
source-tag: 3.2.1
|
||||
plugin: cmake
|
||||
build-packages:
|
||||
- build-essential
|
||||
override-build: |
|
||||
cd /root/parts/olm/src
|
||||
cmake . -Bbuild
|
||||
cmake --build build
|
||||
- g++
|
||||
fluffychat:
|
||||
after: [olm]
|
||||
plugin: dump
|
||||
source: ./build/linux/release/bundle
|
||||
plugin: flutter
|
||||
source: .
|
||||
flutter-target: lib/main.dart
|
||||
stage-packages:
|
||||
- libsqlite3-dev
|
||||
|
||||
- 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:
|
||||
dbus-svc:
|
||||
interface: dbus
|
||||
@ -55,7 +90,7 @@ apps:
|
||||
fluffychat:
|
||||
command: fluffychat
|
||||
extensions:
|
||||
- gnome-3-28
|
||||
- flutter-dev
|
||||
plugs:
|
||||
- network
|
||||
- home
|
||||
|
Loading…
Reference in New Issue
Block a user