chore: fix linux runner deps

This commit is contained in:
Kingkor Roy Tirtho 2023-04-26 00:59:35 +06:00
parent dca8bcd7c6
commit 13bafaad4c
3 changed files with 14 additions and 5 deletions

View File

@ -99,7 +99,7 @@ jobs:
- name: Install Dependencies - name: Install Dependencies
run: | run: |
sudo apt-get update -y sudo apt-get update -y
sudo apt-get install -y tar clang cmake ninja-build pkg-config libgtk-3-dev make python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace fuse libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev locate patchelf libsecret-1-0 libjsoncpp1 libsecret-1-dev libjsoncpp-dev sudo apt-get install -y tar clang cmake ninja-build pkg-config libgtk-3-dev make python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace fuse libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev locate patchelf libsecret-1-0 libjsoncpp25 libsecret-1-dev libjsoncpp-dev
- name: Install AppImage Tool - name: Install AppImage Tool
run: | run: |

View File

@ -120,9 +120,19 @@ Do the following:
- Download the latest Flutter SDK (>=2.15.1) & enable desktop support - Download the latest Flutter SDK (>=2.15.1) & enable desktop support
- Install Development dependencies in linux - Install Development dependencies in linux
- `libsecret-1-0 libjsoncpp1 libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev` (for Debian/Ubuntu) - Debian/Ubuntu
- `libsecret jsoncpp gstreamer gst-libav gst-plugins-base gst-plugins-good` (for Arch/Manjaro) ```bash
- `libsecret libsecret-devel jsoncpp gstreamer1-devel gstreamer1-plugins-base-tools gstreamer1-doc gstreamer1-plugins-base-devel gstreamer1-plugins-good gstreamer1-plugins-good-extras` (for Fedora) $ apt-get install libjsoncpp1 libjsoncpp-dev libsecret-1-0 libsecret-1-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
```
- Use `libjsoncpp25` instead of `libjsoncpp1` (for Ubuntu >= 22.04)
- Arch/Manjaro
```bash
yay -S libsecret jsoncpp gstreamer gst-libav gst-plugins-base gst-plugins-good
```
- Fedora
```bash
dnf install libsecret libsecret-devel jsoncpp gstreamer1-devel gstreamer1-plugins-base-tools gstreamer1-doc gstreamer1-plugins-base-devel gstreamer1-plugins-good gstreamer1-plugins-good-extras
```
- Clone the Repo & Run `flutter pub get` in the Terminal - Clone the Repo & Run `flutter pub get` in the Terminal
- Create a `secrets.json` in root of the project. The structure should be similar to the following example: - Create a `secrets.json` in root of the project. The structure should be similar to the following example:

View File

@ -13,7 +13,6 @@ dependencies:
- libgstreamer1.0-dev - libgstreamer1.0-dev
- libgstreamer-plugins-base1.0-dev - libgstreamer-plugins-base1.0-dev
- libsecret-1-0 - libsecret-1-0
- libjsoncpp1
essential: false essential: false
icon: assets/spotube-logo.png icon: assets/spotube-logo.png