commit:     1f43ebb094fb497996c7069271914b4ccb18f7ee
Author:     Stefan Strogin <steils <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 21 23:23:01 2022 +0000
Commit:     Stefan Strogin <steils <AT> gentoo <DOT> org>
CommitDate: Fri Jan 21 23:24:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f43ebb0

net-misc/youtube-viewer: sync live

Drop unused USE gtk2.

Closes: https://bugs.gentoo.org/829195
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>

 net-misc/youtube-viewer/metadata.xml               |  1 -
 net-misc/youtube-viewer/youtube-viewer-9999.ebuild | 15 +++++++--------
 2 files changed, 7 insertions(+), 9 deletions(-)

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 @@
        </upstream>
        <use>
                <flag name="gtk">Install the gtk3 GUI</flag>
-               <flag name="gtk2">Use the old gtk2 GUI instead of the gtk3 
one</flag>
        </use>
        <longdescription lang="en">
                Youtube Viewer is a CLI application dedicated for searching and

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"
 

Reply via email to