diff options
-rw-r--r-- | net-misc/youtube-viewer/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/youtube-viewer/files/youtube-viewer-3.0.8-button.patch | 54 | ||||
-rw-r--r-- | net-misc/youtube-viewer/youtube-viewer-3.0.8.ebuild | 73 | ||||
-rw-r--r-- | net-misc/youtube-viewer/youtube-viewer-3.0.9-r2.ebuild | 92 | ||||
-rw-r--r-- | net-misc/youtube-viewer/youtube-viewer-3.1.0.ebuild | 91 |
5 files changed, 6 insertions, 311 deletions
diff --git a/net-misc/youtube-viewer/ChangeLog b/net-misc/youtube-viewer/ChangeLog index 92038226c837..79706fd90af7 100644 --- a/net-misc/youtube-viewer/ChangeLog +++ b/net-misc/youtube-viewer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/youtube-viewer # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/ChangeLog,v 1.40 2014/11/28 22:25:11 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/ChangeLog,v 1.41 2014/12/25 17:00:52 kensington Exp $ + + 25 Dec 2014; Michael Palimaka <kensington@gentoo.org> + -files/youtube-viewer-3.0.8-button.patch, -youtube-viewer-3.0.8.ebuild, + -youtube-viewer-3.0.9-r2.ebuild, -youtube-viewer-3.1.0.ebuild: + Remove old. 28 Nov 2014; Andreas K. Huettel <dilfridge@gentoo.org> youtube-viewer-3.0.8.ebuild, youtube-viewer-3.0.9-r2.ebuild, diff --git a/net-misc/youtube-viewer/files/youtube-viewer-3.0.8-button.patch b/net-misc/youtube-viewer/files/youtube-viewer-3.0.8-button.patch deleted file mode 100644 index 8205e837c735..000000000000 --- a/net-misc/youtube-viewer/files/youtube-viewer-3.0.8-button.patch +++ /dev/null @@ -1,54 +0,0 @@ -commit 6c3d14d7d4f2b34d448f982ca0d7d4be39955666 -Author: hasufell <hasufell@gentoo.org> -Date: Sat Sep 21 14:28:59 2013 +0200 - - remove intrusive donate button - -diff --git a/bin/gtk-youtube-viewer b/bin/gtk-youtube-viewer -index e33570a..34f5b07 100755 ---- a/bin/gtk-youtube-viewer -+++ b/bin/gtk-youtube-viewer -@@ -353,7 +353,6 @@ my $app_icon_pixbuf = 'Gtk2::Gdk::Pixbuf'->new_from_file("$icons_path/$execna - my $user_icon_pixbuf = 'Gtk2::Gdk::Pixbuf'->new_from_file_at_size("$icons_path/user.png", 16, 16); - my $feed_icon_pixbuf = 'Gtk2::Gdk::Pixbuf'->new_from_file_at_size("$icons_path/feed_icon.png", 16, 16); - my $default_thumb = 'Gtk2::Gdk::Pixbuf'->new_from_file_at_size("$icons_path/default_thumb.jpg", 120, 90); --my $donate_icon_pixbuf = 'Gtk2::Gdk::Pixbuf'->new_from_file("$icons_path/donate.png"); - my $animation = 'Gtk2::Gdk::PixbufAnimation'->new_from_file("$icons_path/spinner.gif"); - - # Setting application title and icon -@@ -595,7 +594,6 @@ sub new_image_from_pixbuf { - { - $gui->get_object('username_list')->set_image(new_image_from_pixbuf('icon_from_pixbuf', $user_icon_pixbuf)); - $gui->get_object('channels_button')->set_image(new_image_from_pixbuf('icon_from_pixbuf', $user_icon_pixbuf)); -- $gui->get_object('donate_button')->set_image(new_image_from_pixbuf('icon_from_pixbuf', $donate_icon_pixbuf)); - $gui->get_object('button6')->set_image(new_image_from_pixbuf('icon_from_pixbuf', $feed_icon_pixbuf)); - $gui->get_object('button23')->set_image(new_image_from_pixbuf('icon_from_pixbuf', $feed_icon_pixbuf)); - } -diff --git a/share/gtk-youtube-viewer.glade b/share/gtk-youtube-viewer.glade -index 2fe6948..f7f8528 100644 ---- a/share/gtk-youtube-viewer.glade -+++ b/share/gtk-youtube-viewer.glade -@@ -1178,23 +1178,6 @@ Unless the categoryID is valid, this field is ignored.</property> - <child> - <placeholder/> - </child> -- <child> -- <object class="GtkButton" id="donate_button"> -- <property name="use_action_appearance">False</property> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="receives_default">True</property> -- <property name="image">image78</property> -- <property name="relief">none</property> -- <property name="image_position">right</property> -- <signal name="clicked" handler="donate" swapped="no"/> -- </object> -- <packing> -- <property name="expand">False</property> -- <property name="fill">False</property> -- <property name="position">1</property> -- </packing> -- </child> - </object> - <packing> - <property name="expand">False</property> diff --git a/net-misc/youtube-viewer/youtube-viewer-3.0.8.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.0.8.ebuild deleted file mode 100644 index ebf76a4d2ce6..000000000000 --- a/net-misc/youtube-viewer/youtube-viewer-3.0.8.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/youtube-viewer-3.0.8.ebuild,v 1.3 2014/11/28 22:25:11 dilfridge Exp $ - -EAPI=5 - -inherit eutils perl-module vcs-snapshot - -DESCRIPTION="A command line utility for viewing youtube-videos in Mplayer" -HOMEPAGE="http://trizen.googlecode.com" -SRC_URI="https://github.com/trizen/youtube-viewer/tarball/${PV} -> ${P}.tar.gz" - -LICENSE="|| ( Artistic GPL-1+ )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gtk" - -RDEPEND=" - >=dev-lang/perl-5.16.0 - dev-perl/Data-Dump - dev-perl/libwww-perl - || ( media-video/mplayer[X,network] - media-video/mplayer2[X,network] ) - virtual/perl-File-Spec - virtual/perl-Getopt-Long - virtual/perl-Term-ANSIColor - virtual/perl-Text-ParseWords - virtual/perl-Text-Tabs+Wrap - gtk? ( - >=dev-perl/gtk2-perl-1.244.0 - virtual/freedesktop-icon-theme - x11-libs/gdk-pixbuf:2[X,jpeg] - )" -DEPEND="virtual/perl-Module-Build" - -SRC_TEST="do" - -S=${WORKDIR}/${P}/WWW-YoutubeViewer - -src_prepare() { - epatch "${FILESDIR}"/${P}-button.patch - rm share/gtk-youtube-viewer-icons/donate.png || die - perl-module_src_prepare -} - -# build system installs files on "perl Build.PL" too -# do all the work in src_install -src_configure() { :; } -src_compile() { :; } - -src_install() { - use gtk && local myconf="--gtk-youtube-viewer" - perl-module_src_configure - perl-module_src_install -} - -pkg_postinst() { - einfo - elog "optional dependencies:" - elog " dev-perl/LWP-Protocol-https or dev-perl/libwww-perl[ssl]" - elog " (for HTTPS protocol and login support)" - elog " dev-perl/TermReadKey (to get the terminal width size)" - elog " dev-perl/Term-ReadLine-Gnu (for a better STDIN support)" - elog " dev-perl/Text-CharWidth (print the results in a fixed-width" - elog " format (--fixed-width, -W))" - elog " dev-perl/XML-Fast (faster XML to HASH conversion)" - elog " net-misc/gcap (for retrieving Youtube closed captions)" - elog " virtual/perl-File-Temp (for posting comments)" - elog " virtual/perl-Scalar-List-Utils (to shuffle the playlists" - elog " (--shuffle, -s))" - elog " virtual/perl-threads (threads support)" - einfo -} diff --git a/net-misc/youtube-viewer/youtube-viewer-3.0.9-r2.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.0.9-r2.ebuild deleted file mode 100644 index 24db00591e63..000000000000 --- a/net-misc/youtube-viewer/youtube-viewer-3.0.9-r2.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/youtube-viewer-3.0.9-r2.ebuild,v 1.5 2014/11/28 22:25:11 dilfridge Exp $ - -EAPI=5 - -inherit gnome2-utils eutils perl-module vcs-snapshot - -DESCRIPTION="A command line utility for viewing youtube-videos in Mplayer" -HOMEPAGE="http://trizen.googlecode.com" -SRC_URI="https://github.com/trizen/youtube-viewer/tarball/${PV} -> ${P}.tar.gz" - -LICENSE="|| ( Artistic GPL-1+ )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gtk" - -RDEPEND=" - >=dev-lang/perl-5.16.0 - dev-perl/Data-Dump - dev-perl/libwww-perl - || ( media-video/mplayer[X,network] - media-video/mplayer2[X,network] - media-video/mpv[X] ) - virtual/perl-File-Spec - virtual/perl-Getopt-Long - virtual/perl-Term-ANSIColor - virtual/perl-Text-ParseWords - virtual/perl-Text-Tabs+Wrap - gtk? ( - dev-perl/File-ShareDir - >=dev-perl/gtk2-perl-1.244.0 - !net-misc/gtk-youtube-viewer - virtual/freedesktop-icon-theme - x11-libs/gdk-pixbuf:2[X,jpeg] - )" -DEPEND="virtual/perl-Module-Build" - -SRC_TEST="do" - -S=${WORKDIR}/${P}/WWW-YoutubeViewer - -src_prepare() { - perl-module_src_prepare -} - -# build system installs files on "perl Build.PL" too -# do all the work in src_install -src_configure() { :; } -src_compile() { :; } - -src_install() { - local myconf - if use gtk ; then - myconf="--gtk-youtube-viewer" - fi - perl-module_src_configure - perl-module_src_install - - if use gtk ; then - domenu share/gtk-youtube-viewer.desktop - doicon -s 256 share/gtk-youtube-viewer.png - fi -} - -pkg_preinst() { - use gtk && gnome2_icon_savelist - perl_set_version -} - -pkg_postinst() { - use gtk && gnome2_icon_cache_update - einfo - elog "optional dependencies:" - elog " dev-perl/LWP-Protocol-https or dev-perl/libwww-perl[ssl]" - elog " and virtual/perl-MIME-Base64" - elog " (for HTTPS protocol and login support)" - elog " dev-perl/Term-ReadLine-Gnu (for a better STDIN support)" - elog " dev-perl/Text-CharWidth (print the results in a fixed-width" - elog " format (--fixed-width, -W))" - elog " dev-perl/XML-Fast (faster XML to HASH conversion)" - elog " net-misc/gcap (for retrieving Youtube closed captions)" - elog " virtual/perl-File-Temp (for posting comments)" - elog " virtual/perl-Scalar-List-Utils (to shuffle the playlists" - elog " (--shuffle, -s))" - elog " virtual/perl-threads (threads support)" - einfo -} - -pkg_postrm() { - use gtk && gnome2_icon_cache_update -} diff --git a/net-misc/youtube-viewer/youtube-viewer-3.1.0.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.1.0.ebuild deleted file mode 100644 index e2c0eef4dda8..000000000000 --- a/net-misc/youtube-viewer/youtube-viewer-3.1.0.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/youtube-viewer-3.1.0.ebuild,v 1.4 2014/11/28 22:25:11 dilfridge Exp $ - -EAPI=5 - -inherit gnome2-utils eutils perl-module vcs-snapshot - -DESCRIPTION="A command line utility for viewing youtube-videos in Mplayer" -HOMEPAGE="http://trizen.googlecode.com" -SRC_URI="https://github.com/trizen/youtube-viewer/tarball/${PV} -> ${P}.tar.gz" - -LICENSE="|| ( Artistic GPL-1+ )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gtk" - -RDEPEND=" - >=dev-lang/perl-5.16.0 - dev-perl/Data-Dump - dev-perl/libwww-perl - || ( media-video/mplayer[X,network] - media-video/mplayer2[X,network] - media-video/mpv[X] ) - virtual/perl-File-Spec - virtual/perl-Getopt-Long - virtual/perl-Term-ANSIColor - virtual/perl-Text-ParseWords - virtual/perl-Text-Tabs+Wrap - gtk? ( - dev-perl/File-ShareDir - >=dev-perl/gtk2-perl-1.244.0 - virtual/freedesktop-icon-theme - x11-libs/gdk-pixbuf:2[X,jpeg] - )" -DEPEND="virtual/perl-Module-Build" - -SRC_TEST="do" - -S=${WORKDIR}/${P}/WWW-YoutubeViewer - -src_prepare() { - perl-module_src_prepare -} - -# build system installs files on "perl Build.PL" too -# do all the work in src_install -src_configure() { :; } -src_compile() { :; } - -src_install() { - local myconf - if use gtk ; then - myconf="--gtk-youtube-viewer" - fi - perl-module_src_configure - perl-module_src_install - - if use gtk ; then - domenu share/gtk-youtube-viewer.desktop - doicon share/icons/gtk-youtube-viewer.png - fi -} - -pkg_preinst() { - use gtk && gnome2_icon_savelist - perl_set_version -} - -pkg_postinst() { - use gtk && gnome2_icon_cache_update - einfo - elog "optional dependencies:" - elog " dev-perl/LWP-Protocol-https or dev-perl/libwww-perl[ssl]" - elog " and virtual/perl-MIME-Base64" - elog " (for HTTPS protocol and login support)" - elog " dev-perl/Term-ReadLine-Gnu (for a better STDIN support)" - elog " dev-perl/Text-CharWidth (print the results in a fixed-width" - elog " format (--fixed-width, -W))" - elog " dev-perl/XML-Fast (faster XML to HASH conversion)" - elog " net-misc/gcap (for retrieving Youtube closed captions)" - elog " virtual/perl-File-Temp (for posting comments)" - elog " virtual/perl-Scalar-List-Utils (to shuffle the playlists" - elog " (--shuffle, -s))" - elog " virtual/perl-threads (threads support)" - einfo -} - -pkg_postrm() { - use gtk && gnome2_icon_cache_update -} |