/[gentoo-x86]/net-misc/youtube-viewer/youtube-viewer-9999.ebuild
Gentoo

Diff of /net-misc/youtube-viewer/youtube-viewer-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.13 Revision 1.14
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/youtube-viewer-9999.ebuild,v 1.13 2013/09/21 12:36:17 hasufell Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/youtube-viewer-9999.ebuild,v 1.14 2013/12/14 14:26:00 hasufell Exp $
4 4
5EAPI=5 5EAPI=5
6 6
7inherit perl-module git-2 7inherit perl-module git-2
8 8
26 virtual/perl-Getopt-Long 26 virtual/perl-Getopt-Long
27 virtual/perl-Term-ANSIColor 27 virtual/perl-Term-ANSIColor
28 virtual/perl-Text-ParseWords 28 virtual/perl-Text-ParseWords
29 virtual/perl-Text-Tabs+Wrap 29 virtual/perl-Text-Tabs+Wrap
30 gtk? ( 30 gtk? (
31 dev-perl/File-ShareDir
31 >=dev-perl/gtk2-perl-1.244.0 32 >=dev-perl/gtk2-perl-1.244.0
32 virtual/freedesktop-icon-theme 33 virtual/freedesktop-icon-theme
33 x11-libs/gdk-pixbuf:2[X,jpeg] 34 x11-libs/gdk-pixbuf:2[X,jpeg]
34 )" 35 )"
35DEPEND="virtual/perl-Module-Build" 36DEPEND="virtual/perl-Module-Build"
43# do all the work in src_install 44# do all the work in src_install
44src_configure() { :; } 45src_configure() { :; }
45src_compile() { :; } 46src_compile() { :; }
46 47
47src_install() { 48src_install() {
49 local myconf="--share_dir=/usr/share"
48 use gtk && local myconf="--gtk-youtube-viewer" 50 use gtk && myconf+=" --gtk-youtube-viewer"
49 perl-module_src_configure 51 perl-module_src_configure
50 perl-module_src_install 52 perl-module_src_install
51} 53}
52 54
53pkg_postinst() { 55pkg_postinst() {
54 perl-module_pkg_postinst 56 perl-module_pkg_postinst
55 einfo 57 einfo
56 elog "optional dependencies:" 58 elog "optional dependencies:"
57 elog " dev-perl/LWP-Protocol-https or dev-perl/libwww-perl[ssl]" 59 elog " dev-perl/LWP-Protocol-https or dev-perl/libwww-perl[ssl]"
60 elog " and virtual/perl-MIME-Base64"
58 elog " (for HTTPS protocol and login support)" 61 elog " (for HTTPS protocol and login support)"
59 elog " dev-perl/TermReadKey (to get the terminal width size)"
60 elog " dev-perl/Term-ReadLine-Gnu (for a better STDIN support)" 62 elog " dev-perl/Term-ReadLine-Gnu (for a better STDIN support)"
61 elog " dev-perl/Text-CharWidth (print the results in a fixed-width" 63 elog " dev-perl/Text-CharWidth (print the results in a fixed-width"
62 elog " format (--fixed-width, -W))" 64 elog " format (--fixed-width, -W))"
63 elog " dev-perl/XML-Fast (faster XML to HASH conversion)" 65 elog " dev-perl/XML-Fast (faster XML to HASH conversion)"
64 elog " net-misc/gcap (for retrieving Youtube closed captions)" 66 elog " net-misc/gcap (for retrieving Youtube closed captions)"

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20