Package Details: yt-dlg-git 1.2.0.r242.g3ec93dc-1

Git Clone URL: https://aur.archlinux.org/yt-dlg-git.git (read-only, click to copy)
Package Base: yt-dlg-git
Description: A cross platform front-end GUI of the popular youtube-dl written in wxPython (maintained fork of youtube-dl-gui)
Upstream URL: https://github.com/oleksis/youtube-dl-gui
Licenses: custom:UNLICENSE
Conflicts: youtube-dl-gui, yt-dlg
Provides: yt-dlg
Submitter: Gr3q
Maintainer: Gr3q
Last Packager: Gr3q
Votes: 94
Popularity: 0.51
First Submitted: 2021-07-02 20:12 (UTC)
Last Updated: 2022-03-06 18:27 (UTC)

Required by (0)

Sources (1)

Pinned Comments

willemw commented on 2021-07-03 09:24 (UTC)

Switched to oleksis' fork (Python 3).

@Gr3q: Thanks. The app seems to work fine now.

The app is now called yt-dlg. (Could change that back to the old name youtube-dl-gui). Updated the .desktop file to run yt-dlg.

The app also now includes translations (thanks for @jose1711 for pointed that out in his PKGBUILD file).

(In the PKGBUILD file there is second version of the PKGBUILD in comments. That version follows the upstream build and run steps (pip install).)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

Gr3q commented on 2021-07-03 09:06 (UTC) (edited on 2021-07-03 09:19 (UTC) by Gr3q)

I created a package for oleksis's fork after submitting a few PRs for him fixing a couple of issues on linux, including a workaround for https://bugs.archlinux.org/task/70908.

It should be safe to switch to his fork now, but he renamed the app in his fork to yt-dlg so idk how does it come out to keep using the old name.

Edit: nevermind, I see you switched already

jose1711 commented on 2021-07-02 12:14 (UTC)

heh.. i had the same and was thinking that there's something wrong with my system. thanks for sharing.

willemw commented on 2021-07-02 11:58 (UTC)

@jose1711: the problems I was seeing (having to click sometimes twice on buttons) is because python-wxpython has been reverted to a very old version (https://bugs.archlinux.org/task/70908). Newer versions should not have this bug.

To switch now to oleksis' fork without this bug means building python-wxpython on your machine, which can take up to several hours. I suggest to wait until python-wxpython has been updated to the current upstream release.

willemw commented on 2021-07-01 15:49 (UTC)

@jose1711: Going to switch to oleksis' fork. Will upload it tomorrow. It will install all the correct dependency versions.

I tried a PKGBUILD file similar to yours and had several version compatibility problems between dependencies (crashes reported on the command line).

jose1711 commented on 2021-06-30 23:03 (UTC) (edited on 2021-07-01 08:56 (UTC) by jose1711)

Could you please consider switching to oleksis's fork at https://github.com/oleksis/youtube-dl-gui? The current one seems abandoned. Cheers.

The diff could look like this:

 pkgname=youtube-dl-gui-git
-pkgver=0.4.r81.gc5c18e5
-pkgrel=2
+pkgver=v1.7.0.r0.gedc9750
+pkgrel=1
 pkgdesc="Cross platform front-end GUI of the popular youtube-dl written in wxPython"
 arch=('any')
-url="https://github.com/MrS0m30n3/youtube-dl-gui"
+url="https://github.com/oleksis/youtube-dl-gui"
 license=('custom:UNLICENSE')
-#depends=('python2-twodict' 'python2-wxpython3')
-depends=('python2-twodict-git' 'python2-wxpython3')
+depends=('python-wxpython' 'python-pypubsub')
 optdepends=('ffmpeg: convert video files to audio-only files'
             'youtube-dl: alternative to the youtube-dl program downloaded by youtube-dl-gui')
 makedepends=('git')
@@ -24,11 +23,16 @@
   git -C $pkgname describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
 }

+build() {
+  cd $pkgname
+  python setup.py build_trans
+}
+
 package() {
   install -Dm644 youtube-dl-gui.desktop -t "$pkgdir/usr/share/applications"

   cd $pkgname
   install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
-  python2 setup.py install --root="$pkgdir" --optimize=1
+  python setup.py install --root="$pkgdir" --optimize=1
 }

.desktop would need to be updated as well

willemw commented on 2021-02-06 20:58 (UTC)

This package depends on the latest "python2-wxpython3 (wxpython)" package from the official repositories. "python2-wxpython4" is not (yet) in the official repositories.

Maybe later when "python2-wxpython4 (wxpython)" becomes official, it will be easy to install both this package and ddrescue-gui, etc.

vS0uz4 commented on 2021-02-06 20:44 (UTC)

Sorry, I made a mess. Solved the problem.

The dependency belonged to the ddrescue-gui package, after removing it, the problem was solved and the installation continued.

Well it is a tip, whoever installed ddrescue-gui, will have this problem there in the installation. Thank you all very much for your patience and support in solving the problem.

vS0uz4 commented on 2021-02-06 20:30 (UTC)

It was probably installed as a dependency on some other package. I honestly don't know which one installed this dependency.

Is there any way to resolve without having to uninstall? Or can I just remove, install and then reinstall the python2-wxpython4 package again?

And @spsf64 even makepkg doesn't work ...

╰─ makepkg -Ccsr 
==> Making package: youtube-dl-gui-git 0.4.r81.gc5c18e5-1 (sáb 06 fev 2021 17:26:30)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating youtube-dl-gui-git git repo...
Fetching origin
  -> Found youtube-dl-gui.desktop
==> Validating source files with md5sums...
    youtube-dl-gui-git ... Skipped
    youtube-dl-gui.desktop ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of youtube-dl-gui-git git repo...
Cloning into 'youtube-dl-gui-git'...
done.
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
Traceback (most recent call last):
  File "setup.py", line 73, in <module>
    from youtube_dl_gui import (
  File "/home/vs0uz4/Code/aur_repos/youtube-dl-gui-git/src/youtube-dl-gui-git/youtube_dl_gui/__init__.py", line 79, in <module>
    from .mainframe import MainFrame
  File "/home/vs0uz4/Code/aur_repos/youtube-dl-gui-git/src/youtube-dl-gui-git/youtube_dl_gui/mainframe.py", line 12, in <module>
    from wx.lib.pubsub import setuparg1 #NOTE Should remove deprecated
  File "/usr/lib/python2.7/site-packages/wx/lib/pubsub/__init__.py", line 41, in <module>
    raise ImportError(msg)
ImportError: Stand-alone pubsub not found. Use `pip install PyPubSub`
==> ERROR: A failure occurred in package().
    Aborting...

willemw commented on 2021-02-06 20:25 (UTC)

@vS0uz4: Yes. I think that python2-wxpython4 package interferes with building this package somehow.

Do you need the python2-wxpython4 package? Can you maybe delete that package?