From fcc5224904648a8e6eb528d7603154160a20022f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 2 Feb 2022 01:39:05 +0000 Subject: gentoo resync : 02.02.2022 --- net-misc/youtube-viewer/Manifest | 8 +-- net-misc/youtube-viewer/metadata.xml | 1 - .../youtube-viewer/youtube-viewer-3.9.6.ebuild | 78 ---------------------- .../youtube-viewer/youtube-viewer-3.9.7.ebuild | 78 ++++++++++++++++++++++ net-misc/youtube-viewer/youtube-viewer-9999.ebuild | 15 ++--- 5 files changed, 89 insertions(+), 91 deletions(-) delete mode 100644 net-misc/youtube-viewer/youtube-viewer-3.9.6.ebuild create mode 100644 net-misc/youtube-viewer/youtube-viewer-3.9.7.ebuild (limited to 'net-misc/youtube-viewer') diff --git a/net-misc/youtube-viewer/Manifest b/net-misc/youtube-viewer/Manifest index f11e6ca2794c..f2081d4e1f6b 100644 --- a/net-misc/youtube-viewer/Manifest +++ b/net-misc/youtube-viewer/Manifest @@ -1,4 +1,4 @@ -DIST youtube-viewer-3.9.6.tar.gz 259715 BLAKE2B df6ec66ac63e8d2c815fdb507f3e2aa168c61dda2005908131e9074e54b0a4bb23dcd23ba47b6daba0d022c3b387d03ce8f67e6f3d42b3b182a3ead82965c328 SHA512 205cb691325c7cc09b981a1e04c3267e59016dc5f300cf929cf41693d5b10e61b06a021c8bf5d14415551440f9d9d433edb2ac53f4698b7f3ad811ae0045b70e -EBUILD youtube-viewer-3.9.6.ebuild 2140 BLAKE2B f7cf0a2a840adc259be361603f2d5c248a0d1c7d2e9e6ec8d3ed55ea7a946bccfbdd00bbad0ed02d47ffa7d8c141c755997a9f8ae565b853161f4cb06d78e39e SHA512 c6159145b068330b71b45360d1fa4f0cff1bda7749285b33eae9772d684320df89c558db37b554598a15ba774d31ec3b66994ee89f8d27ec09ccd6b423c0143d -EBUILD youtube-viewer-9999.ebuild 1932 BLAKE2B 73a41a742d47da2eae82a467d0ed1cac93e3637873b67af9e4d868eabeebcf19bc0a0c4625a3951411f320577d4eb65f88b497f5b4e3fb8b54b113b27bc8296d SHA512 adeed06bd32b30e18c32a0add6f6e941ef067bdb3f276f7bdd7b2286293f7b82d967870e15c461dae9279371f2e4ecd4e291c9a196313f741b295709e6289d6a -MISC metadata.xml 928 BLAKE2B 2cad26ef30170e608d4d9ee54b22f1e843a3e4d5fa6856bf99b0953eca10e8f0a9690d2edc7ea7d89a04f9803291b3764b5a05c0d20eca8e297aa6c8546f6d49 SHA512 89e5abf5239cbfd09b610760ffcf2db5a6963c02081d974ea9efb25b779828ac2b5b1a22dd112bff4dea8b7afe679cbb50b7762f6fd48635c3db3c0024224e25 +DIST youtube-viewer-3.9.7.tar.gz 260891 BLAKE2B 7178371f5749c8933d31720f1e42494ff16c73c50b6c6be19b0d1ce68fcd836cfc9a256f33c5fe6af48785c5c26ae3515afe5601e0d6141e0cbbc77e13f21da8 SHA512 77d94d706055f3657bb032f44fa52ef5d89554d1ad64d78d579d89849f9a5c6d24560421d5e6e01b6a51eb134c6eff76e523091d483b6dbffd4f7a500471e509 +EBUILD youtube-viewer-3.9.7.ebuild 2140 BLAKE2B cee1d7dd1e426f521202b7b1310f83b8e1dd3cc90e948e49b9d9de63e6c7815dbdbefd708c2cedbbbebbb4b0bbdbd8346b7c9c238908e3f1c1658cb9e5eced1a SHA512 8020468ed0cf2a56bbbbba82dc65d186f4f1c7b4307a13ce57aeae72cf03b7839c3c9270c05bdd018d7faec3047c2237680f2cb7c87a19fa9b5088c79f69e000 +EBUILD youtube-viewer-9999.ebuild 1900 BLAKE2B 10be7cee8b222fcc813b776dad361f83dbaacd7c4dcc692b5d81ba9827091d87cb356f61494dafaf996646e885e6dd0010474b2f81e62224c5c023a745f34c58 SHA512 db4b4552b17fde0f437aa819c16ef9fbfc84f9fa0895f34be986f2e0b2d265a9239aec314f359a18b6e77fbff8f89090a0574b66716a7f2f2aa62440bc537980 +MISC metadata.xml 856 BLAKE2B 669dd186f7ce3cbe787ad2fc06dce3104597050d4eef4c02bb26d8256dabb082dc2e5826c2184ffcb6fc18217189d9953d902245b8e2119d3419eccfcb7a7636 SHA512 a3ca8ef08797a5fe27ce5f29a35f7989b736364f8597c2c9726dd92db0f2534c61fc7745f7f674614c832b7c314ee5e3cedce54f570679d81b52781fb7124f1d diff --git a/net-misc/youtube-viewer/metadata.xml b/net-misc/youtube-viewer/metadata.xml index 24f114d5e4d3..8fbfda7cbeeb 100644 --- a/net-misc/youtube-viewer/metadata.xml +++ b/net-misc/youtube-viewer/metadata.xml @@ -15,7 +15,6 @@ Install the gtk3 GUI - Use the old gtk2 GUI instead of the gtk3 one Youtube Viewer is a CLI application dedicated for searching and diff --git a/net-misc/youtube-viewer/youtube-viewer-3.9.6.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.9.6.ebuild deleted file mode 100644 index b4cd505eca6a..000000000000 --- a/net-misc/youtube-viewer/youtube-viewer-3.9.6.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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-3.9.7.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.9.7.ebuild new file mode 100644 index 000000000000..a50388a8f25e --- /dev/null +++ b/net-misc/youtube-viewer/youtube-viewer-3.9.7.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 408761565f06..64a0ecf7ea73 100644 --- a/net-misc/youtube-viewer/youtube-viewer-9999.ebuild +++ b/net-misc/youtube-viewer/youtube-viewer-9999.ebuild @@ -1,21 +1,19 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit desktop optfeature perl-module git-r3 xdg-utils DESCRIPTION="A command line utility for viewing youtube-videos in Mplayer" -HOMEPAGE="https://trizenx.blogspot.com/2012/03/gtk-youtube-viewer.html" +HOMEPAGE="https://github.com/trizen/youtube-viewer" SRC_URI="" EGIT_REPO_URI="https://github.com/trizen/${PN}.git" -LICENSE="|| ( Artistic GPL-1+ )" +LICENSE="|| ( Artistic-2 GPL-1+ )" SLOT="0" KEYWORDS="" -IUSE="gtk gtk2" - -REQUIRED_USE="gtk2? ( gtk )" +IUSE="gtk" RDEPEND=" dev-perl/Data-Dump @@ -40,7 +38,8 @@ RDEPEND=" ) || ( media-video/ffmpeg[openssl] media-video/ffmpeg[gnutls] ) || ( media-video/mpv media-video/mplayer media-video/vlc gtk? ( media-video/smplayer ) )" -DEPEND="dev-perl/Module-Build" +DEPEND="${RDEPEND}" +BDEPEND="dev-perl/Module-Build" SRC_TEST="do" -- cgit v1.2.3