Package Details: ytdlp-gui 0.2.5-3

Git Clone URL: https://aur.archlinux.org/ytdlp-gui.git (read-only, click to copy)
Package Base: ytdlp-gui
Description: a GUI for yt-dlp written in Rust
Upstream URL: https://github.com/BKSalman
Licenses: GPL3
Conflicts: ytdlp-gui
Provides: ytdlp-gui
Submitter: bksalman
Maintainer: bksalman
Last Packager: bksalman
Votes: 0
Popularity: 0.000000
First Submitted: 2023-01-18 23:11 (UTC)
Last Updated: 2023-03-02 21:01 (UTC)

Latest Comments

je-vv commented on 2023-03-04 23:33 (UTC) (edited on 2023-03-04 23:36 (UTC) by je-vv)

Actually @bksalman, you can totally remove rustup and cargo altogether. Not sure why they were added, :(

% pacman -Qi rust
Provides        : cargo  rustfmt
% pacman -Si rustup
Provides        : rust  cargo  rust-nightly  cargo-nightly  rustfmt  rust-src  lib32-rust-libs  rust-musl  rust-wasm

As you can see, both rust and rustup provide cargo, so no need to have it as a dep, though it doesn't harm. And both rustup and rust provide rust, so you should remove rustup as a dep. If you have it installed, it's fine, it won't prompt you to install rust because rustup already provides it, and if you have installed rust, that's it. Just notice rustup and rust are in conflict, so as things are right now you're forcing users to de-install rust and install rustup, which doesn't make any sense.

je-vv commented on 2023-03-03 02:00 (UTC)

why force the dependency on rustup now? it should depend on a rust provided only. It was building fine when having rust installed instead of rustup. Besides, I don't see a dependency on any nightly toolchain or similar. Can you make it depend on rust, and then rustup users will be fine, since it provides rust?

bksalman commented on 2023-03-02 17:32 (UTC)

@JisuWoniu sorry for not replying :) I fixed it now

JisuWoniu commented on 2023-02-26 17:23 (UTC) (edited on 2023-02-26 17:43 (UTC) by JisuWoniu)

Wrong pkgrel and sha256sums for tarball.

This patch may fix it:

diff --git a/PKGBUILD b/PKGBUILD
index 04cd84c..a3cf633 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 pkgname=ytdlp-gui
 _pkgname=ytdlp-gui
 pkgver=0.2.5
-pkgrel=1
+pkgrel=2
 pkgdesc="a GUI for yt-dlp written in Rust"
 url="https://github.com/BKSalman"
 license=("GPL3")
@@ -15,7 +15,7 @@ provides=("ytdlp-gui")
 conflicts=("ytdlp-gui")

 source=("${url}/ytdlp-gui/archive/refs/tags/v${pkgver}.tar.gz")
-sha256sums=("8cfd0cf4c5261242f010fff2dd60fbb87b3031dff2d4bd1338eb06156eb78e31")
+sha256sums=("b7e1a8350dc69f583122df4bc43c6968ab1f11a3282472f1fc52b47630387f0c")

 build() {
     cd "$_pkgname-${pkgver}"