summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-tv/xmltv
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-tv/xmltv')
-rw-r--r--media-tv/xmltv/Manifest1
-rw-r--r--media-tv/xmltv/files/xmltv-na_dd-xmltwig.patch10
-rw-r--r--media-tv/xmltv/metadata.xml40
-rw-r--r--media-tv/xmltv/xmltv-0.5.57.ebuild207
4 files changed, 258 insertions, 0 deletions
diff --git a/media-tv/xmltv/Manifest b/media-tv/xmltv/Manifest
new file mode 100644
index 000000000000..440bd5ea5afc
--- /dev/null
+++ b/media-tv/xmltv/Manifest
@@ -0,0 +1 @@
+DIST xmltv-0.5.57.tar.bz2 778254 SHA256 4a42a1d239caa988fc6d25414ff0104aa831ffa273d4a571cff8c76c05e0afd3 SHA512 78e79b75b23cd8815403a0a5835036c67c80ff45fba79fae68e50a041ae384f427e18717d6122ea2d5eb57163370acac115946e24a8934a94b1cc72cb24314cc WHIRLPOOL 86624127ed922886d3c291358acdbd29a0b70d591baff83ed491345d5ec119de8ef486e0341499e1fa985fa38b85da9a6989e7e4159675da8876ec870b6cc433
diff --git a/media-tv/xmltv/files/xmltv-na_dd-xmltwig.patch b/media-tv/xmltv/files/xmltv-na_dd-xmltwig.patch
new file mode 100644
index 000000000000..285f03e19cea
--- /dev/null
+++ b/media-tv/xmltv/files/xmltv-na_dd-xmltwig.patch
@@ -0,0 +1,10 @@
+--- grab/na_dd/tv_grab_na_dd.in.orig 2006-11-29 18:06:47.000000000 +0100
++++ grab/na_dd/tv_grab_na_dd.in 2007-03-12 16:17:56.000000000 +0100
+@@ -737,7 +737,6 @@
+ #
+ $twig=XML::Twig->new(
+ twig_roots => { HTML => 1, message => 1, xtvd =>1},
+- ignore_elts => { schedules => 1 },
+ twig_handlers =>
+ {
+ HTML => sub {
diff --git a/media-tv/xmltv/metadata.xml b/media-tv/xmltv/metadata.xml
new file mode 100644
index 000000000000..49b400605ee8
--- /dev/null
+++ b/media-tv/xmltv/metadata.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>media-tv</herd>
+ <use>
+ <flag name="ar">Argentina tv listing grabber</flag>
+ <flag name="ch">Switzerland bluewin tv listing grabber</flag>
+ <flag name="dk">Denmark tv listing grabber</flag>
+ <flag name="dtvla">Latin America digital tv listing grabber</flag>
+ <flag name="ee">Estonia tv listing grabber</flag>
+ <flag name="es_laguiatv">Spain alternative grabber</flag>
+ <flag name="es_miguiatv">Spain alternative grabber</flag>
+ <flag name="eu_epg">EPG grabber for some European countries.</flag>
+ <flag name="fi">Finland tv listing grabber</flag>
+ <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="na_dd">North America tv listing grabber</flag>
+ <flag name="na_dtv">North America Direct TV grabber</flag>
+ <flag name="na_icons">option for na_dd to download icons</flag>
+ <flag name="nl">Netherlands tv listing grabber</flag>
+ <flag name="no_gf">Norway Gfeed tv listing grabber</flag>
+ <flag name="pt">Portugal tv listing grabber</flag>
+ <flag name="re">Reunion Island (France) tv listing grabber</flag>
+ <flag name="se_swedb">Sweden tv listing grabber</flag>
+ <flag name="tv_check">enable GUI checking</flag>
+ <flag name="tv_combiner">enable grabbers combiner</flag>
+ <flag name="tv_pick_cgi">enable CGI support</flag>
+ <flag name="uk_bleb">Britain tv listing grabber</flag>
+ <flag name="uk_rt">Britain alternative tv listing grabber</flag>
+ <flag name="za">South Africa tv listing grabber</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">xmltv</remote-id>
+ </upstream>
+</pkgmetadata>
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..0846a7dd6a86
--- /dev/null
+++ b/media-tv/xmltv/xmltv-0.5.57.ebuild
@@ -0,0 +1,207 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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? ( dev-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
+}