public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/youtube-viewer: ChangeLog youtube-viewer-3.0.9-r1.ebuild youtube-viewer-3.0.9.ebuild
@ 2013-12-25 21:28 Julian Ospald (hasufell)
  0 siblings, 0 replies; only message in thread
From: Julian Ospald (hasufell) @ 2013-12-25 21:28 UTC (permalink / raw
  To: gentoo-commits

hasufell    13/12/25 21:28:55

  Modified:             ChangeLog
  Added:                youtube-viewer-3.0.9-r1.ebuild
  Removed:              youtube-viewer-3.0.9.ebuild
  Log:
  revbump, add desktop file, add icons
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)

Revision  Changes    Path
1.28                 net-misc/youtube-viewer/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-viewer/ChangeLog?rev=1.28&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-viewer/ChangeLog?rev=1.28&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-viewer/ChangeLog?r1=1.27&r2=1.28

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/ChangeLog,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- ChangeLog	14 Dec 2013 14:26:00 -0000	1.27
+++ ChangeLog	25 Dec 2013 21:28:55 -0000	1.28
@@ -1,6 +1,12 @@
 # ChangeLog for net-misc/youtube-viewer
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/ChangeLog,v 1.27 2013/12/14 14:26:00 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/ChangeLog,v 1.28 2013/12/25 21:28:55 hasufell Exp $
+
+*youtube-viewer-3.0.9-r1 (25 Dec 2013)
+
+  25 Dec 2013; Julian Ospald <hasufell@gentoo.org>
+  -youtube-viewer-3.0.9.ebuild, +youtube-viewer-3.0.9-r1.ebuild:
+  revbump, add desktop file, add icons
 
 *youtube-viewer-3.0.9 (14 Dec 2013)
 



1.1                  net-misc/youtube-viewer/youtube-viewer-3.0.9-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-viewer/youtube-viewer-3.0.9-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/youtube-viewer/youtube-viewer-3.0.9-r1.ebuild?rev=1.1&content-type=text/plain

Index: youtube-viewer-3.0.9-r1.ebuild
===================================================================
# Copyright 1999-2013 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-r1.ebuild,v 1.1 2013/12/25 21:28:55 hasufell 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] )
	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="--share_dir=/usr/share"
	use gtk && myconf+=" --gtk-youtube-viewer"
	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-module_pkg_preinst
}

pkg_postinst() {
	use gtk && gnome2_icon_cache_update
	perl-module_pkg_postinst
	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
	perl-module_pkg_postrm
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-25 21:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-25 21:28 [gentoo-commits] gentoo-x86 commit in net-misc/youtube-viewer: ChangeLog youtube-viewer-3.0.9-r1.ebuild youtube-viewer-3.0.9.ebuild Julian Ospald (hasufell)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox