From 58473f0ff9399ede8ede4523e2fab27594b74b8a Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Fri, 28 Apr 2023 18:20:43 +0600 Subject: [PATCH] cd: add libnotify deps chore: add aur, rpm and deb deps --- .github/workflows/spotube-release-binary.yml | 2 +- CONTRIBUTION.md | 6 +++--- aur-struct/.SRCINFO | 4 ++++ aur-struct/PKGBUILD | 2 +- linux/packaging/deb/make_config.yaml | 1 + linux/packaging/rpm/make_config.yaml | 1 + 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/spotube-release-binary.yml b/.github/workflows/spotube-release-binary.yml index 7c0c51c64..8be51b0e5 100644 --- a/.github/workflows/spotube-release-binary.yml +++ b/.github/workflows/spotube-release-binary.yml @@ -99,7 +99,7 @@ jobs: - name: Install Dependencies run: | 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 desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace fuse libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev locate patchelf gir1.2-appindicator3-0.1 libappindicator3-1 libappindicator3-dev 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 desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace fuse libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev locate patchelf gir1.2-appindicator3-0.1 libappindicator3-1 libappindicator3-dev libsecret-1-0 libjsoncpp1 libsecret-1-dev libjsoncpp-dev libnotify-bin libnotify-dev - name: Install AppImage Tool run: | diff --git a/CONTRIBUTION.md b/CONTRIBUTION.md index dc7518f98..f964aaa5e 100644 --- a/CONTRIBUTION.md +++ b/CONTRIBUTION.md @@ -122,16 +122,16 @@ Do the following: - Install Development dependencies in linux - Debian/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 + $ 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 ``` - Use `libjsoncpp25` instead of `libjsoncpp1` (for Ubuntu >= 22.04) - Arch/Manjaro ```bash - yay -S libappindicator-gtk3 libsecret jsoncpp gstreamer gst-libav gst-plugins-base gst-plugins-good + yay -S libappindicator-gtk3 libsecret jsoncpp libnotify gstreamer gst-libav gst-plugins-base gst-plugins-good ``` - Fedora ```bash - dnf install libappindicator libsecret libsecret-devel jsoncpp gstreamer1-devel gstreamer1-plugins-base-tools gstreamer1-doc gstreamer1-plugins-base-devel gstreamer1-plugins-good gstreamer1-plugins-good-extras + dnf install libappindicator libsecret libsecret-devel jsoncpp gstreamer1-devel gstreamer1-plugins-base-tools gstreamer1-doc gstreamer1-plugins-base-devel gstreamer1-plugins-good gstreamer1-plugins-good-extras 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 0b59d6262..4a31f8d75 100644 --- a/aur-struct/.SRCINFO +++ b/aur-struct/.SRCINFO @@ -9,6 +9,10 @@ pkgbase = spotube-bin depends = gst-libav depends = gst-plugins-base depends = gst-plugins-good + depends = libappindicator-gtk3 + depends = libsecret + depends = jsoncpp + depends = libnotify source = https://github.com/KRTirtho/spotube/releases/download/v2.3.0/Spotube-linux-x86_64.tar.xz md5sums = 8cd6a7385c5c75d203dccd762f1d63ec diff --git a/aur-struct/PKGBUILD b/aur-struct/PKGBUILD index 651a7e728..ca228b948 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') +depends=('gstreamer' 'gst-libav' 'gst-plugins-base' 'gst-plugins-good' '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 80e6d65a0..2072dace7 100644 --- a/linux/packaging/deb/make_config.yaml +++ b/linux/packaging/deb/make_config.yaml @@ -15,6 +15,7 @@ dependencies: - libappindicator3-1 - gir1.2-appindicator3-0.1 - libsecret-1-0 + - libnotify-bin essential: false icon: assets/spotube-logo.png diff --git a/linux/packaging/rpm/make_config.yaml b/linux/packaging/rpm/make_config.yaml index 7b39b7507..41e3c8600 100644 --- a/linux/packaging/rpm/make_config.yaml +++ b/linux/packaging/rpm/make_config.yaml @@ -14,6 +14,7 @@ requires: - libappindicator - jsoncpp - libsecret + - libnotify display_name: Spotube