From f8663875e3f5226cf261cc663e9e9deb98191bca Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Sat, 8 Feb 2025 00:00:13 +0600 Subject: [PATCH] chore: add yt-dlp as optional dependency --- aur-struct/.SRCINFO | 1 + aur-struct/PKGBUILD | 2 +- linux/packaging/deb/make_config.yaml | 3 +++ pubspec.lock | 8 +++++--- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/aur-struct/.SRCINFO b/aur-struct/.SRCINFO index 4c07a045..89878245 100644 --- a/aur-struct/.SRCINFO +++ b/aur-struct/.SRCINFO @@ -12,6 +12,7 @@ depends = jsoncpp depends = libnotify depends = xdg-user-dirs 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 md5sums = 475b1ae9b08f27743a4d4749391ae3db diff --git a/aur-struct/PKGBUILD b/aur-struct/PKGBUILD index d7e1052b..735f992e 100644 --- a/aur-struct/PKGBUILD +++ b/aur-struct/PKGBUILD @@ -11,7 +11,7 @@ groups=() depends=('mpv' 'libappindicator-gtk3' 'libsecret' 'jsoncpp' 'libnotify' 'xdg-user-dirs' 'webkit2gtk-4.1') makedepends=() checkdepends=() -optdepends=() +optdepends=('yt-dlp-git') provides=() conflicts=() replaces=() diff --git a/linux/packaging/deb/make_config.yaml b/linux/packaging/deb/make_config.yaml index a7bea1aa..4528a136 100644 --- a/linux/packaging/deb/make_config.yaml +++ b/linux/packaging/deb/make_config.yaml @@ -26,6 +26,9 @@ dependencies: - libwebkit2gtk-4.1-0 | libwebkit2gtk-4.0-0 - libsoup-3.0-0 | libsoup-2.4-0 +suggested_dependencies: + - yt-dlp + essential: false icon: assets/spotube-logo.png diff --git a/pubspec.lock b/pubspec.lock index 2d9b48ce..368ec7eb 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -2737,9 +2737,11 @@ packages: yt_dlp_dart: dependency: "direct main" description: - path: "../yt_dlp_dart" - relative: true - source: path + path: "." + ref: "4199bb019542bae361fbb38b3448b3583fbca022" + resolved-ref: "4199bb019542bae361fbb38b3448b3583fbca022" + url: "https://github.com/KRTirtho/yt_dlp_dart.git" + source: git version: "1.0.0" sdks: dart: ">=3.6.1 <4.0.0"