From 2f4785cde831afb82f3e4548bb422a6864bbc0f9 Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Sat, 13 May 2023 19:21:18 +0600 Subject: [PATCH] chore: update packaging and docs for mpv --- CONTRIBUTION.md | 8 ++++---- aur-struct/.SRCINFO | 5 +---- aur-struct/PKGBUILD | 2 +- linux/packaging/deb/make_config.yaml | 3 +-- linux/packaging/rpm/make_config.yaml | 5 +---- 5 files changed, 8 insertions(+), 15 deletions(-) diff --git a/CONTRIBUTION.md b/CONTRIBUTION.md index 2e0a073a..36748101 100644 --- a/CONTRIBUTION.md +++ b/CONTRIBUTION.md @@ -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 diff --git a/aur-struct/.SRCINFO b/aur-struct/.SRCINFO index 4a31f8d7..4f50a951 100644 --- a/aur-struct/.SRCINFO +++ b/aur-struct/.SRCINFO @@ -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 diff --git a/aur-struct/PKGBUILD b/aur-struct/PKGBUILD index ca228b94..313cd308 100644 --- a/aur-struct/PKGBUILD +++ b/aur-struct/PKGBUILD @@ -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=() diff --git a/linux/packaging/deb/make_config.yaml b/linux/packaging/deb/make_config.yaml index 2072dace..1b086c31 100644 --- a/linux/packaging/deb/make_config.yaml +++ b/linux/packaging/deb/make_config.yaml @@ -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 diff --git a/linux/packaging/rpm/make_config.yaml b/linux/packaging/rpm/make_config.yaml index 41e3c860..55e772ce 100644 --- a/linux/packaging/rpm/make_config.yaml +++ b/linux/packaging/rpm/make_config.yaml @@ -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