summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Strogin <steils@gentoo.org>2022-01-22 01:23:01 +0200
committerStefan Strogin <steils@gentoo.org>2022-01-21 23:24:02 +0000
commit1f43ebb094fb497996c7069271914b4ccb18f7ee (patch)
tree0d60c50060bd51fddfa6977d544d553104a6b55a /net-misc
parentdev-util/rbtools: Stabilize 2.0.1 amd64, #831730 (diff)
downloadgentoo-1f43ebb094fb497996c7069271914b4ccb18f7ee.tar.gz
gentoo-1f43ebb094fb497996c7069271914b4ccb18f7ee.tar.bz2
gentoo-1f43ebb094fb497996c7069271914b4ccb18f7ee.zip
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@gentoo.org>
Diffstat (limited to 'net-misc')
-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 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"