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
- Install Development dependencies in linux
- Debian/Ubuntu
- Debian (>=12/Bookworm)/Ubuntu
```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)
- Arch/Manjaro
```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
```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
- 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/
arch = x86_64
license = BSD-4-Clause
depends = gstreamer
depends = gst-libav
depends = gst-plugins-base
depends = gst-plugins-good
depends = mpv
depends = libappindicator-gtk3
depends = libsecret
depends = jsoncpp

View File

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

View File

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

View File

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