/[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.7 Revision 1.9
1# Copyright 1999-2012 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.7 2012/08/21 16:35:23 mr_bones_ Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/youtube-viewer-9999.ebuild,v 1.9 2013/01/07 19:33:20 hasufell Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7inherit perl-module git-2 7inherit perl-module git-2
8 8
12EGIT_REPO_URI="git://github.com/trizen/${PN}.git" 12EGIT_REPO_URI="git://github.com/trizen/${PN}.git"
13 13
14LICENSE="GPL-3" 14LICENSE="GPL-3"
15SLOT="0" 15SLOT="0"
16KEYWORDS="" 16KEYWORDS=""
17IUSE="" 17IUSE="gtk"
18 18
19RDEPEND=" 19RDEPEND="
20 >=dev-lang/perl-5.16.0
20 dev-perl/Data-Dump 21 dev-perl/Data-Dump
21 dev-perl/libwww-perl 22 dev-perl/libwww-perl
22 dev-perl/XML-Fast 23 dev-perl/XML-Fast
23 || ( media-video/mplayer[X,network] 24 || ( media-video/mplayer[X,network]
24 media-video/mplayer2[X,network] ) 25 media-video/mplayer2[X,network] )
25 virtual/perl-File-Spec 26 virtual/perl-File-Spec
26 virtual/perl-Getopt-Long 27 virtual/perl-Getopt-Long
27 virtual/perl-Scalar-List-Utils 28 virtual/perl-Scalar-List-Utils
28 virtual/perl-Term-ANSIColor" 29 virtual/perl-Term-ANSIColor
30 gtk? (
31 >=dev-perl/gtk2-perl-1.244.0
32 !net-misc/gtk-youtube-viewer
33 virtual/freedesktop-icon-theme
34 x11-libs/gdk-pixbuf:2[X,jpeg]
35 )"
29DEPEND="virtual/perl-Module-Build" 36DEPEND="virtual/perl-Module-Build"
30 37
31EGIT_SOURCEDIR="${WORKDIR}" 38EGIT_SOURCEDIR="${WORKDIR}"
32S=${WORKDIR}/WWW-YoutubeViewer 39S=${WORKDIR}/WWW-YoutubeViewer
33 40
34SRC_TEST="do" 41SRC_TEST="do"
42
43# build system installs files on "perl Build.PL" too
44# do all the work in src_install
45src_configure() { :; }
46src_compile() { :; }
47
48src_install() {
49 use gtk && local myconf="--gtk-youtube-viewer"
50 perl-module_src_configure
51 perl-module_src_install
52}
35 53
36pkg_postinst() { 54pkg_postinst() {
37 perl-module_pkg_postinst 55 perl-module_pkg_postinst
38 einfo 56 einfo
39 elog "optional dependencies:" 57 elog "optional dependencies:"

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20