diff --git a/files/0001-Patch-youtube-dl-references-for-youtube-dlc.patch b/files/0001-Patch-youtube-dl-references-for-youtube-dlc.patch deleted file mode 100644 index 9edb076..0000000 --- a/files/0001-Patch-youtube-dl-references-for-youtube-dlc.patch +++ /dev/null @@ -1,53 +0,0 @@ -From e15469c8b20f6dd7bdb5877c86b0a1ad7712737c Mon Sep 17 00:00:00 2001 -From: Joshua Strobl -Date: Tue, 27 Oct 2020 22:31:26 +0200 -Subject: [PATCH 1/1] Patch youtube-dl references for youtube-dlc - ---- - mkchromecast/__init__.py | 2 +- - mkchromecast/audio.py | 2 +- - mkchromecast/video.py | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/mkchromecast/__init__.py b/mkchromecast/__init__.py -index e6e2f86c..d2ba9a6b 100644 ---- a/mkchromecast/__init__.py -+++ b/mkchromecast/__init__.py -@@ -532,7 +532,7 @@ parser.add_argument( - default=None, - help=''' - Stream from sources supported by youtube-dl. This option needs -- the youtube-dl package, and it also gives you access to all its -+ the youtube-dlcc package, and it also gives you access to all its - supported websites such as Dailymotion, LiveLeak, and Vimeo. - - For a comprehensive list, check: -diff --git a/mkchromecast/audio.py b/mkchromecast/audio.py -index c571e0c8..bcc2ef53 100644 ---- a/mkchromecast/audio.py -+++ b/mkchromecast/audio.py -@@ -78,7 +78,7 @@ if youtubeurl is not None: - video = query['v'][0] - print(colors.options('Playing video:') + ' ' + video) - command = [ -- 'youtube-dl', -+ 'youtube-dlc', - '-o', - '-', - youtubeurl -diff --git a/mkchromecast/video.py b/mkchromecast/video.py -index f71bd93e..ae106c51 100644 ---- a/mkchromecast/video.py -+++ b/mkchromecast/video.py -@@ -58,7 +58,7 @@ browser closes the connection. - """ - if youtubeurl is not None: - command = [ -- 'youtube-dl', -+ 'youtube-dlc', - '-o', - '-', - youtubeurl --- -2.29.1 - diff --git a/package.yml b/package.yml index 0a9928f..f8b580f 100644 --- a/package.yml +++ b/package.yml @@ -1,40 +1,39 @@ name : mkchromecast version : 0.3.8.1 -release : 6 +release : 7 source : - https://github.com/muammar/mkchromecast/archive/0.3.8.1.tar.gz : c680a398385d95d51c47eb522b95cf98f932b55caf065ab8b5725e78bf0099b2 license : MIT networking : yes component : multimedia.audio summary : Cast Linux Audio to your Google Cast Devices description: | Cast Linux Audio to your Google Cast Devices rundeps : - ffmpeg - flask - libflac - libsoxr - mutagen - pulseaudio - pychromecast - python-itsdangerous - python-psutil - python3-qt5 - - yt-dlc + - youtube-dl setup : | - %patch -p1 < $pkgfiles/0001-Patch-youtube-dl-references-for-youtube-dlc.patch # python3 shebang find . -type f -name "*.py" -exec sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|' {} + install : | install -dm00644 $installdir/usr/share/mkchromecast/mkchromecast/getch install -dm00644 $installdir/usr/share/mkchromecast/images install -Dm00644 mkchromecast/*.py $installdir/usr/share/mkchromecast/mkchromecast/ install -Dm00644 mkchromecast/getch/* $installdir/usr/share/mkchromecast/mkchromecast/getch/ install -Dm00755 mkchromecast.py $installdir/usr/share/mkchromecast/ install -Dm00644 images/* $installdir/usr/share/mkchromecast/images/ install -Dm00644 mkchromecast.desktop $installdir/usr/share/applications/mkchromecast.desktop install -Dm00644 man/mkchromecast.1 $installdir/usr/share/man/man1/mkchromecast.1 install -dm00755 $installdir/usr/bin install -dm00755 $installdir/usr/share/pixmaps/ ln -s /usr/share/mkchromecast/mkchromecast.py $installdir/usr/bin/mkchromecast ln -s /usr/share/mkchromecast/images/mkchromecast.xpm $installdir/usr/share/pixmaps/mkchromecast.xpm diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml index 104f9a0..c65ffe3 100644 --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -1,91 +1,91 @@ mkchromecast Joshua Strobl joshua@getsol.us MIT multimedia.audio Cast Linux Audio to your Google Cast Devices Cast Linux Audio to your Google Cast Devices https://getsol.us/sources/README.Solus mkchromecast Cast Linux Audio to your Google Cast Devices Cast Linux Audio to your Google Cast Devices multimedia.audio /usr/bin/mkchromecast /usr/share/applications/mkchromecast.desktop /usr/share/man/man1/mkchromecast.1 /usr/share/mkchromecast/images/Awesome_BI.png /usr/share/mkchromecast/images/Gnome1.png /usr/share/mkchromecast/images/Gnome2.png /usr/share/mkchromecast/images/Kde5_1.png /usr/share/mkchromecast/images/Kde5_2.png /usr/share/mkchromecast/images/change_samplerate1.png /usr/share/mkchromecast/images/change_samplerate2.png /usr/share/mkchromecast/images/exmark.png /usr/share/mkchromecast/images/google.icns /usr/share/mkchromecast/images/google.png /usr/share/mkchromecast/images/google_b.icns /usr/share/mkchromecast/images/google_b.png /usr/share/mkchromecast/images/google_nodev.icns /usr/share/mkchromecast/images/google_nodev.png /usr/share/mkchromecast/images/google_nodev_b.icns /usr/share/mkchromecast/images/google_nodev_b.png /usr/share/mkchromecast/images/google_nodev_w.icns /usr/share/mkchromecast/images/google_nodev_w.png /usr/share/mkchromecast/images/google_w.icns /usr/share/mkchromecast/images/google_w.png /usr/share/mkchromecast/images/google_working.icns /usr/share/mkchromecast/images/google_working.png /usr/share/mkchromecast/images/google_working_b.icns /usr/share/mkchromecast/images/google_working_b.png /usr/share/mkchromecast/images/google_working_w.icns /usr/share/mkchromecast/images/google_working_w.png /usr/share/mkchromecast/images/max.svg /usr/share/mkchromecast/images/mkchromecast.xpm /usr/share/mkchromecast/images/mkchromecast_linux.gif /usr/share/mkchromecast/images/musicalnote.icns /usr/share/mkchromecast/images/musicalnote.png /usr/share/mkchromecast/images/mute.svg /usr/share/mkchromecast/images/screencast.png /usr/share/mkchromecast/images/two-arrows-refresh-symbol.png /usr/share/mkchromecast/mkchromecast.py /usr/share/mkchromecast/mkchromecast/__init__.py /usr/share/mkchromecast/mkchromecast/audio.py /usr/share/mkchromecast/mkchromecast/audio_devices.py /usr/share/mkchromecast/mkchromecast/cast.py /usr/share/mkchromecast/mkchromecast/colors.py /usr/share/mkchromecast/mkchromecast/config.py /usr/share/mkchromecast/mkchromecast/getch/__init__.py /usr/share/mkchromecast/mkchromecast/getch/getch.py /usr/share/mkchromecast/mkchromecast/getch/pause.py /usr/share/mkchromecast/mkchromecast/messages.py /usr/share/mkchromecast/mkchromecast/node.py /usr/share/mkchromecast/mkchromecast/preferences.py /usr/share/mkchromecast/mkchromecast/pulseaudio.py /usr/share/mkchromecast/mkchromecast/resolution.py /usr/share/mkchromecast/mkchromecast/systray.py /usr/share/mkchromecast/mkchromecast/tray_threading.py /usr/share/mkchromecast/mkchromecast/utils.py /usr/share/mkchromecast/mkchromecast/version.py /usr/share/mkchromecast/mkchromecast/video.py /usr/share/pixmaps/mkchromecast.xpm - - 2020-10-27 + + 2021-02-18 0.3.8.1 Packaging update Joshua Strobl joshua@getsol.us \ No newline at end of file