chore: update packaging and docs for mpv

This commit is contained in:
Kingkor Roy Tirtho 2023-05-13 19:21:18 +06:00
parent 1f3255481f
commit 2f4785cde8
5 changed files with 8 additions and 15 deletions

View File

@ -120,18 +120,18 @@ 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
- Debian/Ubuntu - Debian (>=12/Bookworm)/Ubuntu
```bash ```bash
$ apt-get install libappindicator3-1 gir1.2-appindicator3-0.1 libappindicator3-dev libsecret-1-0 libjsoncpp1 libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libnotify-bin libnotify-dev $ apt-get install mpv libmpv-dev libappindicator3-1 gir1.2-appindicator3-0.1 libappindicator3-dev libsecret-1-0 libjsoncpp1 libsecret-1-dev libjsoncpp-dev libnotify-bin libnotify-dev
``` ```
- Use `libjsoncpp25` instead of `libjsoncpp1` (for Ubuntu >= 22.04) - Use `libjsoncpp25` instead of `libjsoncpp1` (for Ubuntu >= 22.04)
- Arch/Manjaro - Arch/Manjaro
```bash ```bash
yay -S libappindicator-gtk3 libsecret jsoncpp libnotify gstreamer gst-libav gst-plugins-base gst-plugins-good yay -S mpv libappindicator-gtk3 libsecret jsoncpp libnotify
``` ```
- Fedora - Fedora
```bash ```bash
dnf install libappindicator-gtk3 libappindicator-gtk3-devel libsecret libsecret-devel jsoncpp jsoncpp-devel gstreamer1-devel gstreamer1-plugins-base-tools gstreamer1-doc gstreamer1-plugins-base-devel gstreamer1-plugins-good gstreamer1-plugins-good-extras libnotify libnotify-devel dnf install mpv mpv-devel libappindicator-gtk3 libappindicator-gtk3-devel libsecret libsecret-devel jsoncpp jsoncpp-devel libnotify libnotify-devel
``` ```
- Clone the Repo - Clone the Repo
- Create a `.env` in root of the project following the `.env.example` template - Create a `.env` in root of the project following the `.env.example` template

View File

@ -5,10 +5,7 @@ pkgbase = spotube-bin
url = https://github.com/KRTirtho/spotube/ url = https://github.com/KRTirtho/spotube/
arch = x86_64 arch = x86_64
license = BSD-4-Clause license = BSD-4-Clause
depends = gstreamer depends = mpv
depends = gst-libav
depends = gst-plugins-base
depends = gst-plugins-good
depends = libappindicator-gtk3 depends = libappindicator-gtk3
depends = libsecret depends = libsecret
depends = jsoncpp depends = jsoncpp

View File

@ -8,7 +8,7 @@ arch=(x86_64)
url="https://github.com/KRTirtho/spotube/" url="https://github.com/KRTirtho/spotube/"
license=('BSD-4-Clause') license=('BSD-4-Clause')
groups=() groups=()
depends=('gstreamer' 'gst-libav' 'gst-plugins-base' 'gst-plugins-good' 'libappindicator-gtk3' 'libsecret' 'jsoncpp' 'libnotify') depends=('mpv' 'libappindicator-gtk3' 'libsecret' 'jsoncpp' 'libnotify')
makedepends=() makedepends=()
checkdepends=() checkdepends=()
optdepends=() optdepends=()

View File

@ -10,8 +10,7 @@ section: x11
installed_size: 24400 installed_size: 24400
dependencies: dependencies:
- libgstreamer1.0-dev - mpv
- libgstreamer-plugins-base1.0-dev
- libappindicator3-1 - libappindicator3-1
- gir1.2-appindicator3-0.1 - gir1.2-appindicator3-0.1
- libsecret-1-0 - libsecret-1-0

View File

@ -7,10 +7,7 @@ packagerEmail: krtirtho@gmail.com
license: BSD-4-Clause license: BSD-4-Clause
url: https://github.com/KRTirtho/spotube url: https://github.com/KRTirtho/spotube
requires: requires:
- gstreamer1-devel - mpv
- gstreamer1-plugins-base-tools
- gstreamer1-plugins-base-devel
- gstreamer1-plugins-good
- libappindicator - libappindicator
- jsoncpp - jsoncpp
- libsecret - libsecret