chore: add yt-dlp as optional dependency

This commit is contained in:
Kingkor Roy Tirtho 2025-02-08 00:00:13 +06:00
parent d6726bc3b0
commit f8663875e3
4 changed files with 10 additions and 4 deletions

View File

@ -12,6 +12,7 @@ depends = jsoncpp
depends = libnotify depends = libnotify
depends = xdg-user-dirs depends = xdg-user-dirs
depends = webkit2gtk-4.1 depends = webkit2gtk-4.1
optdepends = yt-dlp-git
source = https://github.com/KRTirtho/spotube/releases/download/v3.7.1/spotube-linux-3.7.1-x86_64.tar.xz source = https://github.com/KRTirtho/spotube/releases/download/v3.7.1/spotube-linux-3.7.1-x86_64.tar.xz
md5sums = 475b1ae9b08f27743a4d4749391ae3db md5sums = 475b1ae9b08f27743a4d4749391ae3db

View File

@ -11,7 +11,7 @@ groups=()
depends=('mpv' 'libappindicator-gtk3' 'libsecret' 'jsoncpp' 'libnotify' 'xdg-user-dirs' 'webkit2gtk-4.1') depends=('mpv' 'libappindicator-gtk3' 'libsecret' 'jsoncpp' 'libnotify' 'xdg-user-dirs' 'webkit2gtk-4.1')
makedepends=() makedepends=()
checkdepends=() checkdepends=()
optdepends=() optdepends=('yt-dlp-git')
provides=() provides=()
conflicts=() conflicts=()
replaces=() replaces=()

View File

@ -26,6 +26,9 @@ dependencies:
- libwebkit2gtk-4.1-0 | libwebkit2gtk-4.0-0 - libwebkit2gtk-4.1-0 | libwebkit2gtk-4.0-0
- libsoup-3.0-0 | libsoup-2.4-0 - libsoup-3.0-0 | libsoup-2.4-0
suggested_dependencies:
- yt-dlp
essential: false essential: false
icon: assets/spotube-logo.png icon: assets/spotube-logo.png

View File

@ -2737,9 +2737,11 @@ packages:
yt_dlp_dart: yt_dlp_dart:
dependency: "direct main" dependency: "direct main"
description: description:
path: "../yt_dlp_dart" path: "."
relative: true ref: "4199bb019542bae361fbb38b3448b3583fbca022"
source: path resolved-ref: "4199bb019542bae361fbb38b3448b3583fbca022"
url: "https://github.com/KRTirtho/yt_dlp_dart.git"
source: git
version: "1.0.0" version: "1.0.0"
sdks: sdks:
dart: ">=3.6.1 <4.0.0" dart: ">=3.6.1 <4.0.0"