summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-10-28 14:00:38 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-10-28 14:00:38 +0000
commit554d7da5f1843f0a7a2fb58ea99ffaba85aa3d2a (patch)
treefb328bf9bc6a5aa1acab1a8ec179c72e82371819 /media-tv/xmltv
parenttrivial version bump (diff)
downloadgentoo-2-554d7da5f1843f0a7a2fb58ea99ffaba85aa3d2a.tar.gz
gentoo-2-554d7da5f1843f0a7a2fb58ea99ffaba85aa3d2a.tar.bz2
gentoo-2-554d7da5f1843f0a7a2fb58ea99ffaba85aa3d2a.zip
Version bump: EAPI 5, epatch_user, change homepage wrt bug #479056. Drop old versions
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'media-tv/xmltv')
-rw-r--r--media-tv/xmltv/ChangeLog11
-rw-r--r--media-tv/xmltv/metadata.xml2
-rw-r--r--media-tv/xmltv/xmltv-0.5.53.ebuild200
-rw-r--r--media-tv/xmltv/xmltv-0.5.54.ebuild203
-rw-r--r--media-tv/xmltv/xmltv-0.5.57.ebuild207
5 files changed, 218 insertions, 405 deletions
diff --git a/media-tv/xmltv/ChangeLog b/media-tv/xmltv/ChangeLog
index c431bea7cc11..d6fd8532238d 100644
--- a/media-tv/xmltv/ChangeLog
+++ b/media-tv/xmltv/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-tv/xmltv
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.90 2012/12/05 11:38:47 grobian Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.91 2013/10/28 14:00:38 pinkbyte Exp $
+
+*xmltv-0.5.57 (28 Oct 2013)
+
+ 28 Oct 2013; Sergey Popov <pinkbyte@gentoo.org> -xmltv-0.5.53.ebuild,
+ -xmltv-0.5.54.ebuild, +xmltv-0.5.57.ebuild, metadata.xml:
+ Version bump: EAPI 5, epatch_user, change homepage wrt bug #479056. Drop old
+ versions
05 Dec 2012; Fabian Groffen <grobian@gentoo.org> xmltv-0.5.55.ebuild:
Marked ~x86-linux, bug #444950
diff --git a/media-tv/xmltv/metadata.xml b/media-tv/xmltv/metadata.xml
index 5a84c7b40fe8..4300df28bb02 100644
--- a/media-tv/xmltv/metadata.xml
+++ b/media-tv/xmltv/metadata.xml
@@ -18,6 +18,8 @@
<flag name="fr">France tv listing grabber</flag>
<flag name="hr">Croatia tv listing grabber</flag>
<flag name="huro">Hungarian tv listing grabber</flag>
+ <flag name="in">India tv listing grabber</flag>
+ <flag name="il">Israel tv listing grabber</flag>
<flag name="is">Iceland tv listing grabber</flag>
<flag name="it">Italy tv listing grabber</flag>
<flag name="jp">Japan tv listing grabber</flag>
diff --git a/media-tv/xmltv/xmltv-0.5.53.ebuild b/media-tv/xmltv/xmltv-0.5.53.ebuild
deleted file mode 100644
index f665210c89ae..000000000000
--- a/media-tv/xmltv/xmltv-0.5.53.ebuild
+++ /dev/null
@@ -1,200 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/xmltv-0.5.53.ebuild,v 1.6 2012/03/18 19:44:45 armin76 Exp $
-
-inherit eutils perl-module
-
-DESCRIPTION="Set of utilities to manage TV listings stored in the XMLTV format."
-HOMEPAGE="http://membled.com/work/apps/xmltv/"
-SRC_URI="mirror://sourceforge/xmltv//${P}.tar.bz2"
-IUSE="ar be brnet ch dtvla uk_rt uk_bleb is it na_dd na_icons fi es es_laguiatv es_miguiatv ee re huro dk jp se_swedb hr no_gf fr pt za eu_epg tv_combiner tv_pick_cgi tv_check na_dtv"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-PREFIX="/usr"
-
-# NOTE: you can customize the xmltv installation by
-# defining USE FLAGS (custom ones in
-# /etc/portage/package.use for example).
-#
-# Do "equery u media-tv/xmltv" for the complete
-# list of the flags you can set, with description.
-
-# EXAMPLES:
-# enable just North American grabber
-# in /etc/portage/package.use : media-tv/xmltv na_dd
-#
-# enable graphical front-end, Italy grabber
-# in /etc/portage/package.use : media-tv/xmltv tv_check it
-
-RDEPEND=">=dev-perl/libwww-perl-5.65
- >=dev-perl/XML-Parser-2.34
- >=dev-perl/XML-Twig-3.10
- >=dev-perl/DateManip-5.42
- >=dev-perl/XML-Writer-0.6
- virtual/perl-Memoize
- virtual/perl-Storable
- >=dev-perl/Lingua-Preferred-0.2.4
- >=dev-perl/Term-ProgressBar-2.03
- virtual/perl-IO-Compress
- dev-perl/Unicode-String
- dev-perl/TermReadKey
- dev-perl/File-Slurp
- >=dev-lang/perl-5.6.1
- dev-perl/XML-LibXML"
-
- #nl_wolf? ( dev-perl/HTML-Tree )
-DEPEND="${RDEPEND}
- brnet? ( dev-perl/IO-stringy >=dev-perl/WWW-Mechanize-1.02 )
- na_dd? ( na_icons? ( dev-perl/HTML-TableExtract >=dev-perl/WWW-Mechanize-1.02 ) )
- dk? ( dev-perl/HTML-Tree )
- es? ( dev-perl/HTML-Tree )
- fi? ( dev-perl/HTML-Tree )
- fr? ( >=dev-perl/HTML-Parser-3.34 dev-perl/HTML-Tree )
- huro? ( dev-perl/HTML-Tree )
- it? ( dev-perl/XML-Simple )
- is? ( dev-perl/XML-LibXSLT )
- jp? ( dev-perl/HTML-Tree dev-perl/Text-Kakasi )
- na_dd? ( dev-perl/SOAP-Lite dev-perl/TermReadKey )
- no_gf? ( dev-perl/HTTP-Cache-Transparent dev-perl/IO-stringy dev-perl/XML-LibXML )
- pt? ( dev-perl/HTML-Tree dev-perl/Unicode-UTF8simple )
- eu_epg? ( dev-perl/Archive-Zip )
- se_swedb? ( dev-perl/HTTP-Cache-Transparent dev-perl/IO-stringy dev-perl/XML-LibXML )
- hr? ( dev-perl/HTTP-Cache-Transparent dev-perl/IO-stringy dev-perl/XML-LibXML )
- uk_rt? ( dev-perl/HTTP-Cache-Transparent dev-perl/IO-stringy )
- uk_bleb? ( dev-perl/Archive-Zip dev-perl/IO-stringy )
- ee? ( dev-perl/IO-stringy )
- re? ( dev-perl/Lingua-EN-Numbers-Ordinate )
- tv_combiner? ( dev-perl/XML-LibXML )
- tv_check? ( dev-perl/perl-tk dev-perl/Tk-TableMatrix )
- tv_pick_cgi? ( virtual/perl-CGI dev-perl/Lingua-EN-Numbers-Ordinate )
- na_dtv? ( >=dev-perl/WWW-Mechanize-1.02 dev-perl/TimeDate dev-perl/IO-stringy dev-perl/XML-LibXML )
- "
-
-make_config() {
- # Never except default configuration
- echo "no"
-
- # Enable Australian
- #use au && echo "yes" || echo "no"
- # Enable Agentina
- use ar && echo "yes" || echo "no"
- # Enable Brazil
- #use br && echo "yes" || echo "no"
- # Enable Brazil Cable
- use brnet && echo "yes" || echo "no"
- # Enable Switzerland Search
- use ch && echo "yes" || echo "no"
- # Enable Latin America
- use dtvla && echo "yes" || echo "no"
- # Enable Alternate Brittain
- use uk_rt && echo "yes" || echo "no"
- # Enable Alternate Brittain 2
- use uk_bleb && echo "yes" || echo "no"
- # Enable Belgium and Luxemburg
- use be && echo "yes" || echo "no"
- #Enable Iceland
- use is && echo "yes" || echo "no"
- # Enable Italy
- use it && echo "yes" || echo "no"
- # Enable North America using DataDirect
- use na_dd && echo "yes" || echo "no"
- # Enable North America channel icons
- use na_icons && use na_dd && echo "yes" || echo "no"
- # Enable Finland
- use fi && echo "yes" || echo "no"
- # Enable Spain
- use es && echo "yes" || echo "no"
- # Enable Spain Digital
- # use es_digital && echo "yes" || echo "no"
- # Israel Temporary Disabled
- # use il && echo "yes" || echo "no"
- #echo "no"
- # Enable Spain Alternatives
- use es_laguiatv && echo "yes" || echo "no"
- use es_miguiatv && echo "yes" || echo "no"
- # Enable Netherlands
- #use nl && echo "yes" || echo "no"
- # Enable Alternate Netherlands
- #use nl_wolf && echo "yes" || echo "no"
- # Enable Hungary and Romania
- use huro && echo "yes" || echo "no"
- # Enable Denmark
- use dk && echo "yes" || echo "no"
- # Enable Japan
- use jp && echo "yes" || echo "no"
- # Enable Sweden
- use se_swedb && echo "yes" || echo "no"
- # Enable Croatia
- use hr && echo "yes" || echo "no"
- # Enable Norway Gfeed
- use no_gf && echo "yes" || echo "no"
- # Enable France
- use fr && echo "yes" || echo "no"
- # Enable Norway
- #use no && echo "yes" || echo "no"
- # Enable Portugal
- use pt && echo "yes" || echo "no"
- # Enable South Africa
- use za && echo "yes" || echo "no"
- # Enable Europe epg
- use eu_epg && echo "yes" || echo "no"
- # Enable combiner
- use tv_combiner && echo "yes" || echo "no"
- # Enable GUI checking.
- use tv_check && echo "yes" || echo "no"
- # Enable CGI support
- use tv_pick_cgi && echo "yes" || echo "no"
- # Enable Estonia
- use ee && echo "yes" || echo "no"
- # Enable Reunion Island
- use re && echo "yes" || echo "no"
- # Enable Caledonie Island
- #use nc && echo "yes" || echo "no"
- # Enable North America DirecTV
- use na_dtv && echo "yes" || echo "no"
-}
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
-}
-
-src_compile() {
- sed -i "s:\$VERSION = '${PV}':\$VERSION = '${PVR}':" Makefile.PL || die
- pm_echovar=`make_config`
- perl-module_src_compile || die "error compiling"
-}
-
-src_install() {
- # actually make test should be unneede, but if non na grabbers
- # start to not install remove comment below
- #make test
- #make
- #make DESTDIR=${D} install
- perl-module_src_install || die "error installing"
-
- for i in `grep -rl "${D}" "${D}"` ; do
- sed -e "s:${D}::g" -i "${i}"
- done
-
- if use tv_pick_cgi ; then
- dobin choose/tv_pick/tv_pick_cgi || die "error creating tv_pick_cgi"
- fi
-}
-
-pkg_postinst() {
- if use tv_pick_cgi ; then
- elog "To use tv_pick_cgi, please link it from /usr/bin/tv_pick_cgi"
- elog "to where the ScriptAlias directive is configured."
- fi
- if use na_icons ; then
- if use na_dd ; then
- elog "na_icons set for na_dd grabber user."
- else
- elog "na_icons works only when na_dd is set, "
- elog "otherwise it does nothing."
- fi
- fi
-}
diff --git a/media-tv/xmltv/xmltv-0.5.54.ebuild b/media-tv/xmltv/xmltv-0.5.54.ebuild
deleted file mode 100644
index 1733416a7687..000000000000
--- a/media-tv/xmltv/xmltv-0.5.54.ebuild
+++ /dev/null
@@ -1,203 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/xmltv-0.5.54.ebuild,v 1.4 2012/03/18 19:44:45 armin76 Exp $
-
-inherit eutils perl-module
-
-DESCRIPTION="Set of utilities to manage TV listings stored in the XMLTV format."
-HOMEPAGE="http://membled.com/work/apps/xmltv/"
-SRC_URI="mirror://sourceforge/xmltv//${P}.tar.bz2
- http://dev.gentoo.org/~mattepiu/xmltv_it-0.5.54.tar.gz"
-
-IUSE="ar brnet ch dtvla uk_rt uk_bleb is it na_dd na_icons fi es es_laguiatv es_miguiatv ee re huro dk jp se_swedb hr no_gf fr pt za eu_epg tv_combiner tv_pick_cgi tv_check na_dtv"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-PREFIX="/usr"
-
-# NOTE: you can customize the xmltv installation by
-# defining USE FLAGS (custom ones in
-# /etc/portage/package.use for example).
-#
-# Do "equery u media-tv/xmltv" for the complete
-# list of the flags you can set, with description.
-
-# EXAMPLES:
-# enable just North American grabber
-# in /etc/portage/package.use : media-tv/xmltv na_dd
-#
-# enable graphical front-end, Italy grabber
-# in /etc/portage/package.use : media-tv/xmltv tv_check it
-
-RDEPEND=">=dev-perl/libwww-perl-5.65
- >=dev-perl/XML-Parser-2.34
- >=dev-perl/XML-Twig-3.10
- >=dev-perl/DateManip-5.42
- >=dev-perl/XML-Writer-0.6
- virtual/perl-Memoize
- virtual/perl-Storable
- >=dev-perl/Lingua-Preferred-0.2.4
- >=dev-perl/Term-ProgressBar-2.03
- virtual/perl-IO-Compress
- dev-perl/Unicode-String
- dev-perl/TermReadKey
- dev-perl/File-Slurp
- >=dev-lang/perl-5.6.1
- dev-perl/XML-LibXML"
-
- #nl_wolf? ( dev-perl/HTML-Tree )
-DEPEND="${RDEPEND}
- brnet? ( dev-perl/IO-stringy >=dev-perl/WWW-Mechanize-1.02 )
- na_dd? ( na_icons? ( dev-perl/HTML-TableExtract >=dev-perl/WWW-Mechanize-1.02 ) )
- dk? ( dev-perl/HTML-Tree )
- es? ( dev-perl/HTML-Tree )
- fi? ( dev-perl/HTML-Tree )
- fr? ( >=dev-perl/HTML-Parser-3.34 dev-perl/HTML-Tree )
- huro? ( dev-perl/HTML-Tree )
- it? ( dev-perl/XML-Simple )
- is? ( dev-perl/XML-LibXSLT )
- jp? ( dev-perl/HTML-Tree dev-perl/Text-Kakasi )
- na_dd? ( dev-perl/SOAP-Lite dev-perl/TermReadKey )
- no_gf? ( dev-perl/HTTP-Cache-Transparent dev-perl/IO-stringy dev-perl/XML-LibXML )
- pt? ( dev-perl/HTML-Tree dev-perl/Unicode-UTF8simple )
- eu_epg? ( dev-perl/Archive-Zip )
- se_swedb? ( dev-perl/HTTP-Cache-Transparent dev-perl/IO-stringy dev-perl/XML-LibXML )
- hr? ( dev-perl/HTTP-Cache-Transparent dev-perl/IO-stringy dev-perl/XML-LibXML )
- uk_rt? ( dev-perl/HTTP-Cache-Transparent dev-perl/IO-stringy )
- uk_bleb? ( dev-perl/Archive-Zip dev-perl/IO-stringy )
- ee? ( dev-perl/IO-stringy )
- re? ( dev-perl/Lingua-EN-Numbers-Ordinate )
- tv_combiner? ( dev-perl/XML-LibXML )
- tv_check? ( dev-perl/perl-tk dev-perl/Tk-TableMatrix )
- tv_pick_cgi? ( virtual/perl-CGI dev-perl/Lingua-EN-Numbers-Ordinate )
- na_dtv? ( >=dev-perl/WWW-Mechanize-1.02 dev-perl/TimeDate dev-perl/IO-stringy dev-perl/XML-LibXML )
- "
-
-make_config() {
- # Never except default configuration
- echo "no"
-
- # Enable Australian
- #use au && echo "yes" || echo "no"
- # Enable Agentina
- use ar && echo "yes" || echo "no"
- # Enable Brazil
- #use br && echo "yes" || echo "no"
- # Enable Brazil Cable
- use brnet && echo "yes" || echo "no"
- # Enable Switzerland Search
- use ch && echo "yes" || echo "no"
- # Enable Latin America
- use dtvla && echo "yes" || echo "no"
- # Enable Alternate Brittain
- use uk_rt && echo "yes" || echo "no"
- # Enable Alternate Brittain 2
- use uk_bleb && echo "yes" || echo "no"
- # Enable Belgium and Luxemburg
- #use be && echo "yes" || echo "no"
- #Enable Iceland
- use is && echo "yes" || echo "no"
- # Enable Italy
- use it && echo "yes" || echo "no"
- # Enable North America using DataDirect
- use na_dd && echo "yes" || echo "no"
- # Enable North America channel icons
- use na_icons && use na_dd && echo "yes" || echo "no"
- # Enable Finland
- use fi && echo "yes" || echo "no"
- # Enable Spain
- use es && echo "yes" || echo "no"
- # Enable Spain Digital
- # use es_digital && echo "yes" || echo "no"
- # Israel Temporary Disabled
- # use il && echo "yes" || echo "no"
- #echo "no"
- # Enable Spain Alternatives
- use es_laguiatv && echo "yes" || echo "no"
- use es_miguiatv && echo "yes" || echo "no"
- # Enable Netherlands
- #use nl && echo "yes" || echo "no"
- # Enable Alternate Netherlands
- #use nl_wolf && echo "yes" || echo "no"
- # Enable Hungary and Romania
- use huro && echo "yes" || echo "no"
- # Enable Denmark
- use dk && echo "yes" || echo "no"
- # Enable Japan
- use jp && echo "yes" || echo "no"
- # Enable Sweden
- use se_swedb && echo "yes" || echo "no"
- # Enable Croatia
- use hr && echo "yes" || echo "no"
- # Enable Norway Gfeed
- use no_gf && echo "yes" || echo "no"
- # Enable France
- use fr && echo "yes" || echo "no"
- # Enable Norway
- #use no && echo "yes" || echo "no"
- # Enable Portugal
- use pt && echo "yes" || echo "no"
- # Enable South Africa
- use za && echo "yes" || echo "no"
- # Enable Europe epg
- use eu_epg && echo "yes" || echo "no"
- # Enable combiner
- use tv_combiner && echo "yes" || echo "no"
- # Enable GUI checking.
- use tv_check && echo "yes" || echo "no"
- # Enable CGI support
- use tv_pick_cgi && echo "yes" || echo "no"
- # Enable Estonia
- use ee && echo "yes" || echo "no"
- # Enable Reunion Island
- use re && echo "yes" || echo "no"
- # Enable Caledonie Island
- #use nc && echo "yes" || echo "no"
- # Enable North America DirecTV
- use na_dtv && echo "yes" || echo "no"
-}
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- epatch "${WORKDIR}/xmltv_it-0.5.54.patch" || die
-}
-
-src_compile() {
- sed -i "s:\$VERSION = '${PV}':\$VERSION = '${PVR}':" Makefile.PL || die
- pm_echovar=`make_config`
- perl-module_src_compile || die "error compiling"
-}
-
-src_install() {
- # actually make test should be unneede, but if non na grabbers
- # start to not install remove comment below
- #make test
- #make
- #make DESTDIR=${D} install
- perl-module_src_install || die "error installing"
-
- for i in `grep -rl "${D}" "${D}"` ; do
- sed -e "s:${D}::g" -i "${i}"
- done
-
- if use tv_pick_cgi ; then
- dobin choose/tv_pick/tv_pick_cgi || die "error creating tv_pick_cgi"
- fi
-}
-
-pkg_postinst() {
- if use tv_pick_cgi ; then
- elog "To use tv_pick_cgi, please link it from /usr/bin/tv_pick_cgi"
- elog "to where the ScriptAlias directive is configured."
- fi
- if use na_icons ; then
- if use na_dd ; then
- elog "na_icons set for na_dd grabber user."
- else
- elog "na_icons works only when na_dd is set, "
- elog "otherwise it does nothing."
- fi
- fi
-}
diff --git a/media-tv/xmltv/xmltv-0.5.57.ebuild b/media-tv/xmltv/xmltv-0.5.57.ebuild
new file mode 100644
index 000000000000..2709eeb8864b
--- /dev/null
+++ b/media-tv/xmltv/xmltv-0.5.57.ebuild
@@ -0,0 +1,207 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/xmltv-0.5.57.ebuild,v 1.1 2013/10/28 14:00:38 pinkbyte Exp $
+
+EAPI=5
+
+inherit eutils perl-module
+
+DESCRIPTION="Set of utilities to manage TV listings stored in the XMLTV format"
+HOMEPAGE="http://xmltv.org"
+SRC_URI="mirror://sourceforge/xmltv/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux"
+
+IUSE="ar ch dtvla uk_rt uk_bleb is it na_dd na_icons fi es_laguiatv es_miguiatv ee re huro dk se_swedb hr no_gf fr pt eu_epg tv_combiner tv_pick_cgi tv_check na_dtv
+za nl in il"
+
+# NOTE: you can customize the xmltv installation by
+# defining USE FLAGS (custom ones in
+# /etc/portage/package.use for example).
+#
+# Do "equery u media-tv/xmltv" for the complete
+# list of the flags you can set, with description.
+
+# EXAMPLES:
+# enable just North American grabber
+# in /etc/portage/package.use : media-tv/xmltv na_dd
+#
+# enable graphical front-end, Italy grabber
+# in /etc/portage/package.use : media-tv/xmltv tv_check it
+
+RDEPEND=">=dev-perl/libwww-perl-5.65
+ >=dev-perl/XML-Parser-2.34
+ >=dev-perl/XML-Twig-3.10
+ >=dev-perl/DateManip-5.42
+ >=dev-perl/XML-Writer-0.6
+ virtual/perl-Memoize
+ virtual/perl-Storable
+ >=dev-perl/Lingua-Preferred-0.2.4
+ >=dev-perl/Term-ProgressBar-2.03
+ virtual/perl-IO-Compress
+ dev-perl/Unicode-String
+ dev-perl/TermReadKey
+ dev-perl/File-Slurp
+ >=dev-lang/perl-5.6.1
+ dev-perl/XML-LibXML"
+DEPEND="${RDEPEND}
+ nl? ( dev-perl/HTML-Tree )
+ na_icons? ( dev-perl/HTML-TableExtract >=dev-perl/WWW-Mechanize-1.02 )
+ dk? ( dev-perl/HTML-Tree dev-perl/DateTime dev-perl/Parse-RecDescent )
+ fi? ( dev-perl/HTML-Tree )
+ fr? ( >=dev-perl/HTML-Parser-3.34 dev-perl/HTML-Tree )
+ huro? ( dev-perl/HTML-Tree )
+ it? ( dev-perl/XML-Simple )
+ is? ( dev-perl/XML-LibXSLT )
+ na_dd? ( dev-perl/SOAP-Lite dev-perl/TermReadKey )
+ no_gf? ( dev-perl/HTTP-Cache-Transparent dev-perl/IO-stringy dev-perl/XML-LibXML )
+ pt? ( dev-perl/HTML-Tree dev-perl/Unicode-UTF8simple )
+ eu_epg? ( dev-perl/Archive-Zip )
+ se_swedb? ( dev-perl/HTTP-Cache-Transparent dev-perl/IO-stringy dev-perl/XML-LibXML )
+ hr? ( dev-perl/HTTP-Cache-Transparent dev-perl/IO-stringy dev-perl/XML-LibXML )
+ uk_rt? ( dev-perl/HTTP-Cache-Transparent dev-perl/IO-stringy )
+ uk_bleb? ( dev-perl/Archive-Zip dev-perl/IO-stringy )
+ ee? ( dev-perl/IO-stringy )
+ re? ( dev-perl/Lingua-EN-Numbers-Ordinate )
+ tv_combiner? ( dev-perl/XML-LibXML )
+ tv_check? ( dev-perl/perl-tk dev-perl/Tk-TableMatrix )
+ tv_pick_cgi? ( virtual/perl-CGI dev-perl/Lingua-EN-Numbers-Ordinate )
+ na_dtv? ( >=dev-perl/WWW-Mechanize-1.02 dev-perl/TimeDate dev-perl/IO-stringy dev-perl/XML-LibXML )
+ "
+
+REQUIRED_USE="na_icons? ( na_dd )"
+
+PREFIX="/usr"
+
+src_prepare() {
+ sed -i \
+ -e "s:\$VERSION = '${PV}':\$VERSION = '${PVR}':" \
+ -e "/^@docs/s:doc/COPYING ::" \
+ Makefile.PL || die
+
+ epatch_user
+}
+
+src_configure() {
+ make_config() {
+ # Never except default configuration
+ echo "no"
+
+ # Enable Australian
+ #use au && echo "yes" || echo "no"
+ # Enable Agentina
+ usex ar
+ # Enable Brazil
+ #use br && echo "yes" || echo "no"
+ # Enable Brazil Cable
+ #use brnet && echo "yes" || echo "no"
+ # Enable Switzerland Search
+ usex ch
+ # Enable Latin America
+ usex dtvla
+ # Enable Alternate Brittain
+ usex uk_rt
+ # Enable Alternate Brittain 2
+ usex uk_bleb
+ # Enable Belgium and Luxemburg
+ #use be && echo "yes" || echo "no"
+ #Enable Iceland
+ usex is
+ # Enable Italy
+ usex it
+ # Enable Italy from DVB-S stream
+ echo "no" # missing Linux::DVB
+ # Enable India (experimental)
+ usex in
+ # Enable North America using DataDirect
+ usex na_dd
+ # Enable North America channel icons
+ usex na_icons
+ # Enable Finland
+ usex fi
+ # Enable Israel
+ usex il
+ # Enable Spain
+ #use es && echo "yes" || echo "no"
+ # Enable Spain Digital
+ # use es_digital && echo "yes" || echo "no"
+ # Israel Temporary Disabled
+ # use il && echo "yes" || echo "no"
+ #echo "no"
+ # Enable Spain Alternatives
+ usex es_laguiatv
+ usex es_miguiatv
+ # Enable Netherlands
+ usex nl
+ # Enable Alternate Netherlands
+ #use nl_wolf && echo "yes" || echo "no"
+ # Enable Hungary and Romania
+ usex huro
+ # Enable Denmark
+ usex dk
+ # Enable Japan
+ #use jp && echo "yes" || echo "no"
+ # Enable Sweden
+ usex se_swedb
+ # Enable Croatia
+ usex hr
+ # Enable Norway Gfeed
+ usex no_gf
+ # Enable France
+ usex fr
+ # Enable Norway
+ #use no && echo "yes" || echo "no"
+ # Enable Portugal
+ usex pt
+ # Enable South Africa
+ usex za
+ # Enable Europe epg
+ usex eu_epg
+ # Enable combiner
+ usex tv_combiner
+ # Enable GUI checking.
+ usex tv_check
+ # Enable CGI support
+ usex tv_pick_cgi
+ # Enable Estonia
+ usex ee
+ # Enable Reunion Island
+ usex re
+ # Enable Caledonie Island
+ #use nc && echo "yes" || echo "no"
+ # Enable North America DirecTV
+ usex na_dtv
+ }
+
+ pm_echovar=`make_config`
+ perl-module_src_configure
+}
+
+src_install() {
+ # actually make test should be unneede, but if non na grabbers
+ # start to not install remove comment below
+ #make test
+ #make
+
+ # to bypass build issue
+ #make DESTDIR=${D} install || die "error installing"
+
+ perl-module_src_install
+
+ for i in `grep -rl "${D}" "${D}"` ; do
+ sed -e "s:${D}::g" -i "${i}"
+ done
+
+ if use tv_pick_cgi ; then
+ dobin choose/tv_pick/tv_pick_cgi
+ fi
+}
+
+pkg_postinst() {
+ if use tv_pick_cgi ; then
+ elog "To use tv_pick_cgi, please link it from /usr/bin/tv_pick_cgi"
+ elog "to where the ScriptAlias directive is configured."
+ fi
+}