From 66cd90d4284850abdf808a598a77040bcda88bd8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 29 Jul 2022 03:06:05 +0100 Subject: gentoo auto-resync : 29:07:2022 - 03:06:05 --- net-misc/Manifest.gz | Bin 55434 -> 55430 bytes net-misc/youtube-viewer/Manifest | 6 +- .../youtube-viewer/youtube-viewer-3.10.1.ebuild | 79 +++++++++++++++++++++ .../youtube-viewer/youtube-viewer-3.9.7.ebuild | 79 --------------------- net-misc/youtube-viewer/youtube-viewer-9999.ebuild | 2 +- 5 files changed, 83 insertions(+), 83 deletions(-) create mode 100644 net-misc/youtube-viewer/youtube-viewer-3.10.1.ebuild delete mode 100644 net-misc/youtube-viewer/youtube-viewer-3.9.7.ebuild (limited to 'net-misc') diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz index 903105b07b9e..ce37a5722405 100644 Binary files a/net-misc/Manifest.gz and b/net-misc/Manifest.gz differ diff --git a/net-misc/youtube-viewer/Manifest b/net-misc/youtube-viewer/Manifest index 5c55636df506..3bb64b5f33f4 100644 --- a/net-misc/youtube-viewer/Manifest +++ b/net-misc/youtube-viewer/Manifest @@ -1,4 +1,4 @@ -DIST youtube-viewer-3.9.7.tar.gz 260891 BLAKE2B 7178371f5749c8933d31720f1e42494ff16c73c50b6c6be19b0d1ce68fcd836cfc9a256f33c5fe6af48785c5c26ae3515afe5601e0d6141e0cbbc77e13f21da8 SHA512 77d94d706055f3657bb032f44fa52ef5d89554d1ad64d78d579d89849f9a5c6d24560421d5e6e01b6a51eb134c6eff76e523091d483b6dbffd4f7a500471e509 -EBUILD youtube-viewer-3.9.7.ebuild 2155 BLAKE2B 75dc00d0d8174c15cf2cb2ea16ad9a7be1f6c3d542d2cfc6f897a8a6caed037f2c4e4dfaede51da221b0992fa2a3958d55fc61a2b60e5b4c5ca87d919defffba SHA512 43aad96ba6ce9170f25c10d48989ccad746602085ae5eba7c1176231a79cdab501a680ff4f617eea8536d495f639a436ba521342b91bb9d52e76ce60f98ba3a7 -EBUILD youtube-viewer-9999.ebuild 1900 BLAKE2B 91781403d8f6cb1d78d5515df34c14eabd44321be2710a7a27309482f2483dd0be0bfba8d969b59598daa3d2e902cadf37836aae8fda9bf257001489f4aa3008 SHA512 f88fc45d40545515638960f84e11e9693ea9c37c17cb11cceaf126dddaddef3fb95e6954d8ab8b062c3c5619e3f6c41055062407c2af6789c55d7cfe335e527c +DIST youtube-viewer-3.10.1.tar.gz 263735 BLAKE2B 319c0d1f3342fc4988215e70205e6a0c627cfd7f4edfa61788474621859ae72ba6e5212818c3bb95d0a15345575dec049be7240861b03d4d62b9ef95873a908a SHA512 629601ea912258873eb2c5ad4b527eb45f733847611fc2424fcb038758fda06c3bd730b14781d9e091c0b6a1d9fd637ad15a08079f68469edfe7d83124408242 +EBUILD youtube-viewer-3.10.1.ebuild 2171 BLAKE2B 958f89c8b47ce90a90d72c3ea68b29c950ac87b596094ef101e70a9b7db489c297a510514b3d60fb4077e614c695afb2884ffc384419ba15c8f2109fdcc40d30 SHA512 87d13185565855df8afa960f5ece91841cb25369e97f15585e7b27afdedf654863ce87e2b89e4e0dd905c2c4f979efd1335cce96c80c2b4ba9ac52490534e302 +EBUILD youtube-viewer-9999.ebuild 1916 BLAKE2B f9fa22617befa7dca6b82306ae2c1210bd704c40465529459052a3080eca523dd1a0118a0ee00797a2fa7ae813137a1292ddec7dacc77975753599c54432e437 SHA512 5364fb72f1dfbb7758995750a3e08fddede4f74dd86a1bc94598307640ac8011e059cfa22b83a515a93c5e0558905ca057400afbe1fb1493b54567061af381fd MISC metadata.xml 856 BLAKE2B 669dd186f7ce3cbe787ad2fc06dce3104597050d4eef4c02bb26d8256dabb082dc2e5826c2184ffcb6fc18217189d9953d902245b8e2119d3419eccfcb7a7636 SHA512 a3ca8ef08797a5fe27ce5f29a35f7989b736364f8597c2c9726dd92db0f2534c61fc7745f7f674614c832b7c314ee5e3cedce54f570679d81b52781fb7124f1d diff --git a/net-misc/youtube-viewer/youtube-viewer-3.10.1.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.10.1.ebuild new file mode 100644 index 000000000000..ae91d86efaf8 --- /dev/null +++ b/net-misc/youtube-viewer/youtube-viewer-3.10.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_TEST="do" +inherit desktop optfeature perl-module xdg-utils + +DESCRIPTION="A command line utility for viewing youtube-videos in Mplayer" +HOMEPAGE="https://github.com/trizen/youtube-viewer" +SRC_URI="https://github.com/trizen/youtube-viewer/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Artistic-2 GPL-1+ )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk" + +RDEPEND=" + dev-perl/Data-Dump + dev-perl/JSON + dev-perl/libwww-perl[ssl] + dev-perl/LWP-Protocol-https + dev-perl/Term-ReadLine-Gnu + virtual/perl-Encode + virtual/perl-File-Path + virtual/perl-File-Spec + virtual/perl-Getopt-Long + virtual/perl-Scalar-List-Utils + virtual/perl-Term-ANSIColor + virtual/perl-Term-ReadLine + virtual/perl-Text-ParseWords + virtual/perl-Text-Tabs+Wrap + gtk? ( + dev-perl/Gtk3 + dev-perl/File-ShareDir + virtual/freedesktop-icon-theme + x11-libs/gdk-pixbuf:2[jpeg] + ) + || ( media-video/ffmpeg[openssl] media-video/ffmpeg[gnutls] ) + || ( media-video/mpv media-video/mplayer media-video/vlc gtk? ( media-video/smplayer ) )" +DEPEND="${RDEPEND}" +BDEPEND="dev-perl/Module-Build" + +src_configure() { + local myconf + if use gtk; then + myconf="--gtk3" + fi + + perl-module_src_configure +} + +src_install() { + perl-module_src_install + + if use gtk; then + domenu share/gtk-youtube-viewer.desktop + doicon share/icons/gtk-youtube-viewer.png + fi +} + +pkg_postinst() { + use gtk && xdg_icon_cache_update + optfeature "local cache support" dev-perl/LWP-UserAgent-Cached + optfeature "faster JSON to HASH conversion" dev-perl/JSON-XS + optfeature "printing results in a fixed-width format (--fixed-width, -W)" dev-perl/Text-CharWidth + optfeature "live streams support" net-misc/yt-dlp net-misc/youtube-dl + elog + elog "Check the configuration file in ~/.config/youtube-viewer/" + elog "and configure your video player backend." + elog + ewarn "Starting with version 3.7.4, youtube-viewer requires the user to" + ewarn "get their own API key to function. Please refer to README.md or" + ewarn "https://github.com/trizen/youtube-viewer#logging-in for details!" +} + +pkg_postrm() { + use gtk && xdg_icon_cache_update +} diff --git a/net-misc/youtube-viewer/youtube-viewer-3.9.7.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.9.7.ebuild deleted file mode 100644 index e1801189acc6..000000000000 --- a/net-misc/youtube-viewer/youtube-viewer-3.9.7.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DIST_TEST="do" -inherit desktop optfeature perl-module xdg-utils - -DESCRIPTION="A command line utility for viewing youtube-videos in Mplayer" -HOMEPAGE="https://github.com/trizen/youtube-viewer" -SRC_URI="https://github.com/trizen/youtube-viewer/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="|| ( Artistic-2 GPL-1+ )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gtk" - -RDEPEND=" - dev-perl/Data-Dump - dev-perl/JSON - dev-perl/libwww-perl[ssl] - dev-perl/LWP-Protocol-https - dev-perl/Term-ReadLine-Gnu - virtual/perl-Encode - virtual/perl-File-Path - virtual/perl-File-Spec - virtual/perl-Getopt-Long - virtual/perl-Scalar-List-Utils - virtual/perl-Term-ANSIColor - virtual/perl-Term-ReadLine - virtual/perl-Text-ParseWords - virtual/perl-Text-Tabs+Wrap - gtk? ( - dev-perl/Gtk3 - dev-perl/File-ShareDir - virtual/freedesktop-icon-theme - x11-libs/gdk-pixbuf:2[jpeg] - ) - || ( media-video/ffmpeg[openssl] media-video/ffmpeg[gnutls] ) - || ( media-video/mpv media-video/mplayer media-video/vlc gtk? ( media-video/smplayer ) )" -DEPEND="${RDEPEND}" -BDEPEND="dev-perl/Module-Build" - -src_configure() { - local myconf - if use gtk; then - myconf="--gtk3" - fi - - perl-module_src_configure -} - -src_install() { - perl-module_src_install - - if use gtk; then - domenu share/gtk-youtube-viewer.desktop - doicon share/icons/gtk-youtube-viewer.png - fi -} - -pkg_postinst() { - use gtk && xdg_icon_cache_update - optfeature "local cache support" dev-perl/LWP-UserAgent-Cached - optfeature "faster JSON to HASH conversion" dev-perl/JSON-XS - optfeature "printing results in a fixed-width format (--fixed-width, -W)" dev-perl/Text-CharWidth - optfeature "live streams support" net-misc/youtube-dl - elog - elog "Check the configuration file in ~/.config/youtube-viewer/" - elog "and configure your video player backend." - elog - ewarn "Starting with version 3.7.4, youtube-viewer requires the user to" - ewarn "get their own API key to function. Please refer to README.md or" - ewarn "https://github.com/trizen/youtube-viewer#logging-in for details!" -} - -pkg_postrm() { - use gtk && xdg_icon_cache_update -} diff --git a/net-misc/youtube-viewer/youtube-viewer-9999.ebuild b/net-misc/youtube-viewer/youtube-viewer-9999.ebuild index b5135da0e18f..60a5b0a98c32 100644 --- a/net-misc/youtube-viewer/youtube-viewer-9999.ebuild +++ b/net-misc/youtube-viewer/youtube-viewer-9999.ebuild @@ -65,7 +65,7 @@ pkg_postinst() { optfeature "local cache support" dev-perl/LWP-UserAgent-Cached optfeature "faster JSON to HASH conversion" dev-perl/JSON-XS optfeature "printing results in a fixed-width format (--fixed-width, -W)" dev-perl/Text-CharWidth - optfeature "live streams support" net-misc/youtube-dl + optfeature "live streams support" net-misc/yt-dlp net-misc/youtube-dl elog elog "Check the configuration file in ~/.config/youtube-viewer/" elog "and configure your video player backend." -- cgit v1.2.3