summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/youtube-viewer/metadata.xml1
-rw-r--r--net-misc/youtube-viewer/youtube-viewer-9999.ebuild15
2 files changed, 7 insertions, 9 deletions
diff --git a/net-misc/youtube-viewer/metadata.xml b/net-misc/youtube-viewer/metadata.xml
index 24f114d5e4d..8fbfda7cbee 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 408761565f0..64a0ecf7ea7 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"