From b95a6fd4a7b591baa7cfc689f8ce5643592d07be Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 9 Feb 2025 00:12:01 +0000 Subject: gentoo auto-resync : 09:02:2025 - 00:12:00 --- media-video/Manifest.gz | Bin 23203 -> 22867 bytes media-video/vidify-audiosync/Manifest | 3 - media-video/vidify-audiosync/metadata.xml | 17 --- .../vidify-audiosync-0.3.0-r2.ebuild | 47 -------- media-video/vidify/Manifest | 5 - .../vidify/files/vidify-2.2.6-python310.patch | 16 --- media-video/vidify/files/vidify-2.2.6-yt-dlp.patch | 122 --------------------- media-video/vidify/metadata.xml | 24 ---- media-video/vidify/vidify-2.2.6-r3.ebuild | 84 -------------- media-video/yle-dl/Manifest | 2 - media-video/yle-dl/yle-dl-20240927.ebuild | 57 ---------- 11 files changed, 377 deletions(-) delete mode 100644 media-video/vidify-audiosync/Manifest delete mode 100644 media-video/vidify-audiosync/metadata.xml delete mode 100644 media-video/vidify-audiosync/vidify-audiosync-0.3.0-r2.ebuild delete mode 100644 media-video/vidify/Manifest delete mode 100644 media-video/vidify/files/vidify-2.2.6-python310.patch delete mode 100644 media-video/vidify/files/vidify-2.2.6-yt-dlp.patch delete mode 100644 media-video/vidify/metadata.xml delete mode 100644 media-video/vidify/vidify-2.2.6-r3.ebuild delete mode 100644 media-video/yle-dl/yle-dl-20240927.ebuild (limited to 'media-video') diff --git a/media-video/Manifest.gz b/media-video/Manifest.gz index 281ddaef9edf..d7cedbed9fa0 100644 Binary files a/media-video/Manifest.gz and b/media-video/Manifest.gz differ diff --git a/media-video/vidify-audiosync/Manifest b/media-video/vidify-audiosync/Manifest deleted file mode 100644 index c3306846a051..000000000000 --- a/media-video/vidify-audiosync/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST vidify-audiosync-0.3.0.tar.gz 61854604 BLAKE2B d6ffb65152044932d1e0a57d573c14d9378815c714d680d7a446e54ba6f4e572346165eb3c0f9b7793eb03fc5d0e1f2a07a8d0a64c76971892ad5c5d0ea4fc50 SHA512 b245dea22353acae94de1f0c0465d5d1040d19f372702eba52790bf6ace861ede497562957178aa40e7a9c30ba47061b9e23761900cc18a6c7b1e3579db6ccd0 -EBUILD vidify-audiosync-0.3.0-r2.ebuild 1023 BLAKE2B e23fd9683eb4a7b96cd8ffd9d1ae3e4892b577713de5086ff9bfc6ce5cf6308cc282d94797320aeb4b59091251929c7570eaa3374d1a0f0688656a9450bb003a SHA512 095babb08f6e21052fff7beb8398289722e2fc84cf5ee3889c89045d7c6eb4ee11115d74c00bb0cdcd7007ea8400e217755bbeb170202efc016b778b74f5b683 -MISC metadata.xml 511 BLAKE2B 3503cd648e45043e1285d2ad7646776e0d59cc064ba5594a4df2b20a23d68ac8198ea58c675819ad2f1921cbdea497f8563dff60517ed278871aafeb4974f24b SHA512 47ae72a8f10b9dba33a1c3abcea1aa174ce42cd6641b42cd86ef84838973a5dbae59dfb5668b655c80d5171d5a92ab8c5b722a08cddb9920591171ada51eeb1b diff --git a/media-video/vidify-audiosync/metadata.xml b/media-video/vidify-audiosync/metadata.xml deleted file mode 100644 index b6563f4e0bbb..000000000000 --- a/media-video/vidify-audiosync/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - nowa@gentoo.org - Nowa Ammerlaan - - - - marioortizmanero@gmail.com - Mario Ortiz Manero - - vidify/old-audiosync - https://github.com/vidify/old-audiosync/issues - - diff --git a/media-video/vidify-audiosync/vidify-audiosync-0.3.0-r2.ebuild b/media-video/vidify-audiosync/vidify-audiosync-0.3.0-r2.ebuild deleted file mode 100644 index ab4c4f67e7ec..000000000000 --- a/media-video/vidify-audiosync/vidify-audiosync-0.3.0-r2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 -inherit distutils-r1 - -DESCRIPTION="Audio synchronization feature for vidify" -HOMEPAGE="https://vidify.org" -SRC_URI="https://github.com/vidify/old-audiosync/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64" - -IUSE="debug test" -RESTRICT="!test? ( test )" - -RDEPEND=" - media-libs/libpulse - media-video/ffmpeg[openssl] - media-video/vidify[${PYTHON_USEDEP}] - sci-libs/fftw - debug? ( sci-visualization/gnuplot ) -" -BDEPEND="test? ( dev-build/cmake )" - -S="${WORKDIR}/old-audiosync-${PV}" - -python_prepare_all() { - if use debug; then - sed -i -e "/defines.append(('DEBUG', '1'))/s/^# *//" setup.py || die - fi - distutils-r1_python_prepare_all -} - -python_test() { - mkdir "test_build_${EPYTHON}" || die - cd "test_build_${EPYTHON}" || die - cmake .. -DBUILD_TESTING=YES || die - emake - emake test - cd .. || die -} diff --git a/media-video/vidify/Manifest b/media-video/vidify/Manifest deleted file mode 100644 index 46ecce6ad018..000000000000 --- a/media-video/vidify/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX vidify-2.2.6-python310.patch 743 BLAKE2B 143ae6532398038da83cf08fc95f25338cabd35f02213336b3e7e54944c2a49b1fd831a7d8ded957305b2b2a292f5bcfc64fb290888029c4859ce8f002db9809 SHA512 63b24e30e1159455411cf1aeaa8c2d2d88db6fa7c08536fb8cf95401c2f23ad68d2d67efdc8fc92d9decb3e2541154fb083a44aba1ba15f526333ff46a3bdf8a -AUX vidify-2.2.6-yt-dlp.patch 4669 BLAKE2B 04f1c80702a495f732e617c5a1ad51a70dcaed82e9650c4ab21844d2aadeb58893889c575ed141fd9e8b8e2353f24b234217b1b9fad83d1b1d2b9e5f87e90474 SHA512 4ff0ca2d2c9999dae5b90abdd9554f8808b30b263a74f099d21c1de001736d1040e53e2ab55607fe6b0807ac4fbffb81cf10935f1419055a9ac136188ef90d84 -DIST vidify-2.2.6.tar.gz 2906511 BLAKE2B 3df48ca57e102f664852e2fc2abeb3d19427673e1fec5144a8c0afda112a0f3b281b18db43b4326244266d6e9dfbcb2443319ddad3f864098a61bd1e3c966307 SHA512 15487ee9dcbe647b2b287bd2eb3c09962b557320313a9a3885fb3c0d6af945909531111d5297c1a5fb5b451af5df6fd968b3953bbf79af113980ed368a5674b5 -EBUILD vidify-2.2.6-r3.ebuild 2494 BLAKE2B 57a5c83bd4fe4de6de10e26650fcda6d9f2207809eb7fb9a0e72483b6306c35a99d0e37191d0e60de3b53bb2e64d3e796e3d98734ada19fe99116b3c78604b5e SHA512 1e116fe775063ce1eb77625a6765a5f9316de2ebcbf24e5d35a5e4374bf68e0197f791159ba8ef94ec4f51256c2ad876ccb1471aaaa306ebe0a003429e681e4b -MISC metadata.xml 779 BLAKE2B 8cf9bdd31415915b97cbd3195fbf65837114c4068b03c6b9eef9aafbf6a5e41777fbe20551545b362f531f274c287bd0b925fa81cb5eacb9d878ed03a546de77 SHA512 833806490154ad58f1d173f909e1b7bd74d0532b110e8a121a18b7852d2dfb70aaae89666131f3bc24ae0e845d3623287d7f150f6b5c7dc13d960253df9e449c diff --git a/media-video/vidify/files/vidify-2.2.6-python310.patch b/media-video/vidify/files/vidify-2.2.6-python310.patch deleted file mode 100644 index 4b78ea559333..000000000000 --- a/media-video/vidify/files/vidify-2.2.6-python310.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/vidify/player/vlc.py b/vidify/player/vlc.py -index a7c9ec0..cb50f89 100644 ---- a/vidify/player/vlc.py -+++ b/vidify/player/vlc.py -@@ -75,9 +75,9 @@ class VLCPlayer(PlayerBase): - def start_video(self, media: str, is_playing: bool = True) -> None: - logging.info("Starting new video") - if CURRENT_PLATFORM in (Platform.LINUX, Platform.BSD): -- self._player.set_xwindow(self.winId()) -+ self._player.set_xwindow(int(self.winId())) - elif CURRENT_PLATFORM == Platform.WINDOWS: -- self._player.set_hwnd(self.winId()) -+ self._player.set_hwnd(int(self.winId())) - elif CURRENT_PLATFORM == Platform.MACOS: - self._player.set_nsobject(int(self.winId())) - diff --git a/media-video/vidify/files/vidify-2.2.6-yt-dlp.patch b/media-video/vidify/files/vidify-2.2.6-yt-dlp.patch deleted file mode 100644 index 6ce0f836d5fd..000000000000 --- a/media-video/vidify/files/vidify-2.2.6-yt-dlp.patch +++ /dev/null @@ -1,122 +0,0 @@ -diff --git a/README.md b/README.md -index c4ea164..51e65e6 100644 ---- a/README.md -+++ b/README.md -@@ -79,7 +79,7 @@ Audiosync is only available on Linux for now. It's strongly recommended to use M - * FFTW: `libfftw3` on Debian-based distros. - * ffmpeg: `ffmpeg` on most repositories. It must be available on your path. - * pulseaudio: `pulseaudio`, pre-installed on most repos. --* youtube-dl: this is installed by default with Vidify, but make sure it's available on your path. -+* yt-dlp: this is installed by default with Vidify, but make sure it's available on your path. - - It's also available as [`vidify-audiosync`](https://aur.archlinux.org/packages/vidify-audiosync) on the AUR, and it comes pre-installed in the binaries. - -diff --git a/dev/build_requires.txt b/dev/build_requires.txt -index ed682fd..a8bbc30 100644 ---- a/dev/build_requires.txt -+++ b/dev/build_requires.txt -@@ -14,5 +14,5 @@ QtPy - SwSpotify>=1.1.1; platform_system == "Windows" or platform_system == "Darwin" - tekore < 2.0 - vidify-audiosync == 0.2.* --youtube-dl -+yt-dlp - zeroconf -diff --git a/dev/snapcraft.yaml b/dev/snapcraft.yaml -index a5446de..00d2aae 100644 ---- a/dev/snapcraft.yaml -+++ b/dev/snapcraft.yaml -@@ -22,7 +22,7 @@ parts: - - python3-pyqt5 - - python3-appdirs - - python3-pydbus -- - youtube-dl -+ - yt-dlp - # Mpv is used by default because it's lighter and works better - # with the audiosync feature. - - libmpv-dev -diff --git a/setup.py b/setup.py -index 3fdb656..9b1c093 100644 ---- a/setup.py -+++ b/setup.py -@@ -19,7 +19,7 @@ install_deps = [ - # Base package - 'QtPy', - 'lyricwikia', -- 'youtube-dl', -+ 'yt-dlp', - 'appdirs', - 'qdarkstyle', - 'dataclasses; python_version<"3.7"', -diff --git a/vidify/player/mpv.py b/vidify/player/mpv.py -index 4b92571..68bd1a5 100644 ---- a/vidify/player/mpv.py -+++ b/vidify/player/mpv.py -@@ -30,7 +30,7 @@ locale.setlocale(locale.LC_NUMERIC, 'C') - - class MpvPlayer(PlayerBase): - # The audio is always muted, which is needed because not all the -- # youtube-dl videos are silent. The keep-open flag stops mpv from closing -+ # yt-dlp videos are silent. The keep-open flag stops mpv from closing - # after the video is over. - DEFAULT_FLAGS = ['mute'] - DEFAULT_ARGS = { -diff --git a/vidify/player/vlc.py b/vidify/player/vlc.py -index 6a0bec7..a7c9ec0 100644 ---- a/vidify/player/vlc.py -+++ b/vidify/player/vlc.py -@@ -31,7 +31,7 @@ class VLCPlayer(PlayerBase): - else: - vlc_args += " --quiet" - # The audio is always muted, which is needed because not all the -- # youtube-dl videos are silent. -+ # yt-dlp videos are silent. - # Needed for the audiosync feature: set the Group of Pictures size to - # one, so that seeking is more precise. - vlc_args += " --no-audio --sout-x264-min-keyint 1" -diff --git a/vidify/youtube.py b/vidify/youtube.py -index 1b23bfb..b959f34 100644 ---- a/vidify/youtube.py -+++ b/vidify/youtube.py -@@ -1,5 +1,5 @@ - """ --This module uses youtube-dl to obtain the actual URL of a YouTube link. -+This module uses yt-dlp to obtain the actual URL of a YouTube link. - That way, the video can be played directly with a video player like VLC - or mpv. - """ -@@ -7,7 +7,7 @@ or mpv. - import logging - from typing import Optional - --from youtube_dl import YoutubeDL -+from yt_dlp import YoutubeDL - from qtpy.QtCore import QObject, Signal - - -@@ -63,7 +63,7 @@ class YouTubeDLWorker(QObject): - - def get_url(self) -> None: - """ -- Getting the youtube direct link with youtube-dl, intended to be used -+ Getting the youtube direct link with yt-dlp, intended to be used - with a QThread. It's guaranteed that either a success signal or a - fail signal will be emitted. - """ -@@ -74,13 +74,13 @@ class YouTubeDLWorker(QObject): - except Exception as e: - # Any kind of error has to be caught, so that it doesn't only - # send the error signal when the download wasn't successful -- # (a DownloadError from youtube_dl). -- logging.info("YouTube-dl wasn't able to obtain the video: %s", -+ # (a DownloadError from yt_dlp). -+ logging.info("yt-dlp wasn't able to obtain the video: %s", - str(e)) - self.fail.emit() - else: - if len(data['entries']) == 0: -- logging.info("YouTube-dl returned no entries") -+ logging.info("yt-dlp returned no entries") - self.fail.emit() - else: - self.success.emit(data) diff --git a/media-video/vidify/metadata.xml b/media-video/vidify/metadata.xml deleted file mode 100644 index 6308fbc3fc23..000000000000 --- a/media-video/vidify/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - nowa@gentoo.org - Nowa Ammerlaan - - - Use python-vlc as backend for vidify - Use python-mpv as backend for vidify - Use an external network player - Support local MPRIS players - - - - marioortizmanero@gmail.com - Mario Ortiz Manero - - vidify/vidify - https://github.com/vidify/vidify/issues - - - diff --git a/media-video/vidify/vidify-2.2.6-r3.ebuild b/media-video/vidify/vidify-2.2.6-r3.ebuild deleted file mode 100644 index a1c94e41dae9..000000000000 --- a/media-video/vidify/vidify-2.2.6-r3.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -DISTUTILS_USE_PEP517=setuptools -inherit xdg distutils-r1 optfeature virtualx - -DESCRIPTION="Watch music videos in real time for the songs playing on your device" -HOMEPAGE="https://vidify.org" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64" - -IUSE="dbus vlc mpv zeroconf" - -REQUIRED_USE="|| ( vlc mpv zeroconf )" - -RDEPEND=" - dev-python/appdirs[${PYTHON_USEDEP}] - dev-python/qtpy[gui,webengine,${PYTHON_USEDEP}] - net-misc/lyricwikia[${PYTHON_USEDEP}] - net-misc/yt-dlp[${PYTHON_USEDEP}] - dbus? ( dev-python/pydbus[${PYTHON_USEDEP}] ) - !dbus? ( dev-python/tekore[${PYTHON_USEDEP}] ) - mpv? ( dev-python/python-mpv[${PYTHON_USEDEP}] ) - vlc? ( dev-python/python-vlc[${PYTHON_USEDEP}] ) - zeroconf? ( dev-python/zeroconf[${PYTHON_USEDEP}] ) -" - -# use yt-dlp instead of youtube-dl, otherwise download is too slow for playback -PATCHES=( - "${FILESDIR}/${P}-yt-dlp.patch" - "${FILESDIR}/${P}-python310.patch" -) - -distutils_enable_tests unittest - -python_prepare_all() { - # skip online test - rm tests/api/test_spotify_web.py || die - rm tests/player/test_external.py || die - - # this needs dbus and a player running - rm tests/api/test_mpris.py || die - - # can't parse non-existent config - rm tests/test_api_and_player_data.py || die - - # do not hard depend on this - sed -i \ - -e '/qdarkstyle/d' \ - -e '/python-vlc/d' \ - -e '/python-mpv/d' \ - -e '/pydbus/d' \ - -e '/tekore/d' \ - -e '/zeroconf/d' \ - -e '/If PySide2 is installed and PyQt5/,/PyQtWebEngine/d' \ - setup.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - virtx "${EPYTHON}" -m unittest discover -v -} - -pkg_postinst() { - xdg_pkg_postinst - - elog "If video playback is not working please check 'vidify --debug' for missing-codec-errors" - elog "and recompile media-video/vlc or media-video/mpv with the missing codecs" - - optfeature "using an MPRIS(D-Bus) audio player (e.g spotify)" dev-python/pydbus - optfeature "using the Spotify Web API as audio player" dev-python/tekore - optfeature "using an external network player" dev-python/zeroconf - optfeature "using media-video/mpv for video playback" dev-python/python-mpv - optfeature "using media-video/vlc for video playback" dev-python/python-vlc - optfeature "'vidify --dark-mode'" dev-python/qdarkstyle - optfeature "'vidify --audiosync'" media-video/vidify-audiosync -} diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest index 4c9dd887afd3..1805ccfc799d 100644 --- a/media-video/yle-dl/Manifest +++ b/media-video/yle-dl/Manifest @@ -1,5 +1,3 @@ -DIST yle-dl-20240927.tar.gz 80008 BLAKE2B b6dfd38bae52de4265d904550124bef96f1f9e75c952a63fc3dabe71ccaf99a9a9cbbb6d2dc10e3ffab0bc1f0ff6b7b42d25e9378c1bfbc06229227bf544ed76 SHA512 e063807ec2e4ad80d69cd6ad10c3973bb32b890c3874a1ce4047f925173d66b198f5d1b4f40dd51056040476f499a972237830e71dd15eb18c38799aa16c5552 DIST yle-dl-20250126.tar.gz 80360 BLAKE2B adbdbd962ffd652c465fdf78e7eb64681435d3b04ace670fd425dd852968150481722ee82dfb5c57931bd35cf1006d887a3d842af6c47a1ff072a6303205150d SHA512 567d634aaf33833e79faaa700eb79f85c9bbd353005c0261012301b07dcdd6a5722a3a220b6acbcf8a28255010058ec34dd4b60b7b30a04d8ffaba663412f474 -EBUILD yle-dl-20240927.ebuild 1645 BLAKE2B f732ce43e50e56fb56af83fc870b804a01192b9d8c627859f535e90fe0e48d5d2bda10ef3aa6c9f854462ba4fd3e31035a42f3548847621e1e0c5628f39b5d11 SHA512 0db6bf5e55aaf3b50d58660f6602a65a7eb249b37c4e567bf43e84b87bc8305817d5fafd85481829e63058dadec2f8ea3f56d47e40a3805417196753251b7ca1 EBUILD yle-dl-20250126.ebuild 1704 BLAKE2B 2185a439fb87f0e429300e41f0ccb125d982529886feffa07eb4dd2e06ff0bf4aaab144ca35337fb171508ca8554a8aee64f3043d2452b841995a595a9c445c4 SHA512 4e9402ff14f0d52cdb74bd30b671b5c3445752b124a9af352a040e994c9e7113a906bf8457bd118fcb42ddcbba7f59d0f12478a4f5e72d2beb30f4930480a53d MISC metadata.xml 363 BLAKE2B b27761ed00c4849b5e9a0c51fdf699ab7e1589acc017be236339e8e5044fbe05ad62ad8c7104f6e9e43de0779ad6f9f3fe4144fc57376d87d0304f7c7c3fe7cf SHA512 1b061009279fcf8271bec4958ddb93d93e1455686e42d623a64ef51a65e4f852d23873c59d5e547bbf66d6c596f542fd29f78de5c7b33f484918b01beb76dc92 diff --git a/media-video/yle-dl/yle-dl-20240927.ebuild b/media-video/yle-dl/yle-dl-20240927.ebuild deleted file mode 100644 index f2e81ee23989..000000000000 --- a/media-video/yle-dl/yle-dl-20240927.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -DISTUTILS_USE_PEP517=flit - -inherit distutils-r1 optfeature - -DESCRIPTION="Download media files from Yle Areena" -HOMEPAGE="https://aajanki.github.io/yle-dl/ https://github.com/aajanki/yle-dl" -SRC_URI="https://github.com/aajanki/yle-dl/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 x86" - -IUSE="test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# Requires an active internet connection during tests, -PROPERTIES="test_network" -RESTRICT="test" - -RDEPEND="media-video/ffmpeg - net-misc/wget - >=dev-python/attrs-18.1.0[${PYTHON_USEDEP}] - >=dev-python/configargparse-0.13.0[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/progress[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}]" -BDEPEND="test? ( - ${RDEPEND} - media-video/ffmpeg[gnutls] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -DOCS=( COPYING ChangeLog README.fi.md README.sv.md README.md yledl.conf.sample ) - -src_install() { - docompress -x "/usr/share/doc/${PF}/yledl.conf.sample" - distutils-r1_src_install -} - -pkg_postinst() { - elog "Sample configuration file has been installed to " - elog " /usr/share/doc/yle-dl-${PVR}/yledl.conf.sample" - elog - optfeature "automatically detect filesystems that require restricted character sets" dev-python/psutil - optfeature "store metadata as extended file attributes" dev-python/pyxattr - optfeature "youtube-dl download engine" net-misc/yt-dlp -} -- cgit v1.2.3