summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-05-24 23:12:45 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-05-24 23:12:45 +0000
commit7f36ac0199b136551b886f8a0ed6e5832feff677 (patch)
tree3f9f8dc7c16edda932efd829f7ff53367897bea7 /media-tv
parentgcc 3.4 fix, closes #51849; ebuild cleanups (Manifest recommit) (diff)
downloadgentoo-2-7f36ac0199b136551b886f8a0ed6e5832feff677.tar.gz
gentoo-2-7f36ac0199b136551b886f8a0ed6e5832feff677.tar.bz2
gentoo-2-7f36ac0199b136551b886f8a0ed6e5832feff677.zip
Version bump and fixes.
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/xmltv/ChangeLog7
-rw-r--r--media-tv/xmltv/Manifest2
-rw-r--r--media-tv/xmltv/files/digest-xmltv-0.5.341
-rw-r--r--media-tv/xmltv/xmltv-0.5.34.ebuild170
4 files changed, 179 insertions, 1 deletions
diff --git a/media-tv/xmltv/ChangeLog b/media-tv/xmltv/ChangeLog
index 7fee364a7158..987f4d24a813 100644
--- a/media-tv/xmltv/ChangeLog
+++ b/media-tv/xmltv/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-tv/xmltv
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.20 2004/05/16 21:29:12 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.21 2004/05/24 23:12:45 aliz Exp $
+
+*xmltv-0.5.34 (24 May 2004)
+
+ 24 May 2004; Daniel Ahlberg <aliz@gentoo.org> xmltv-0.5.34.ebuild:
+ Version bump, fixed config and dependencies for all grabbers.
*xmltv-0.5.33 (16 May 2004)
diff --git a/media-tv/xmltv/Manifest b/media-tv/xmltv/Manifest
index df933978d70a..b109f647ae6c 100644
--- a/media-tv/xmltv/Manifest
+++ b/media-tv/xmltv/Manifest
@@ -1,3 +1,4 @@
+MD5 f0c539438ad275a1823b5002be948603 xmltv-0.5.34.ebuild 6472
MD5 0d904363d7e001eb9b7c82bfd3c6b039 xmltv-0.5.31.ebuild 6299
MD5 0dd0496a79518b8d8d4ed54ceba804a4 xmltv-0.5.33.ebuild 6407
MD5 5138514860e0835913c815981fdf30ae xmltv-0.5.29.ebuild 5280
@@ -12,3 +13,4 @@ MD5 e037f58683c2fe79ce55312b5d69cdcf files/digest-xmltv-0.5.30 65
MD5 540f82973470d2c56d9fd1a7582e7c48 files/digest-xmltv-0.5.31 65
MD5 598d36feaa369b0fa89d6246ffe68869 files/digest-xmltv-0.5.32 65
MD5 9b8fa89ca06d071544dada74ed5b15d3 files/digest-xmltv-0.5.33 65
+MD5 7e68f2515597e3cd1b0a2b1d49fda10e files/digest-xmltv-0.5.34 65
diff --git a/media-tv/xmltv/files/digest-xmltv-0.5.34 b/media-tv/xmltv/files/digest-xmltv-0.5.34
new file mode 100644
index 000000000000..e7b38daddd00
--- /dev/null
+++ b/media-tv/xmltv/files/digest-xmltv-0.5.34
@@ -0,0 +1 @@
+MD5 1bd213630e1916adf9cf0cdfd9bef49e xmltv-0.5.34.tar.bz2 397979
diff --git a/media-tv/xmltv/xmltv-0.5.34.ebuild b/media-tv/xmltv/xmltv-0.5.34.ebuild
new file mode 100644
index 000000000000..bbe30bdcc8f0
--- /dev/null
+++ b/media-tv/xmltv/xmltv-0.5.34.ebuild
@@ -0,0 +1,170 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/xmltv-0.5.34.ebuild,v 1.1 2004/05/24 23:12:45 aliz Exp $
+
+inherit 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"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+# NOTE: you can customize the xmltv installation by
+# defining a XMLTV_OPTS variable which contains
+# a space-separated list of optional features.
+# If this variable is unspecified or has an
+# empty value, everything will be *enabled*.
+#
+# tv_grab_huro Alternate Hungarian and Romania grabber
+# tv_grab_uk_rt: Alternate Britain listings grabber
+# tv_grab_it: Italy listings grabber
+# tv_grab_na_icons: Downloads icons from Zap2IT
+# tv_grab_na_dd: Alternate American listings grabber
+# tv_grab_nz: New Zealand listings grabber
+# tv_grab_fi: Finland listings grabber
+# tv_grab_es: Spain listings grabber
+# tv_grab_es_digital: Spain digital satellite listings grabber
+# tv_grab_nl: Netherlands listings grabber
+# tv_grab_nl_wolf: Alternate Netherlands listings grabber
+# tv_grab_dk: Denmark listings grabber
+# tv_grab_jp: Japan listings grabber
+# tv_grab_de_tvtoday: Germany listings grabber
+# tv_grab_se: Sweden listings grabber
+# tv_grab_fr: France listings grabber
+# tv_check: Graphical front-end for listings data
+# tv_pick_cgi: CGI front-end for listings data
+
+# EXAMPLES:
+# enable just North American grabber
+# XMLTV_OPTS="tv_grab_na"
+#
+# enable graphical front-end, Italy grabber
+# XMLTV_OPTS="tv_check tv_grab_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.4.6
+ dev-perl/Memoize
+ dev-perl/Storable
+ dev-perl/Lingua-EN-Numbers-Ordinate
+ >=dev-perl/Lingua-Preferred-0.2.4
+ >=dev-perl/Term-ProgressBar-2.03
+ dev-perl/Compress-Zlib
+ dev-perl/Unicode-String
+ >=dev-lang/perl-5.6.1"
+
+DEPEND="${RDEPEND}
+ >=sys-apps/portage-2.0.50-r1
+ >=sys-apps/sed-4"
+
+[ -z "${XMLTV_OPTS}" ] || has tv_grab_uk_rt ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} >=dev-perl/HTML-Parser-3.34"
+[ -z "${XMLTV_OPTS}" ] || has tv_grab_na_dd ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} dev-perl/SOAP-Lite dev-perl/TermReadKey"
+[ -z "${XMLTV_OPTS}" ] || has tv_grab_na_icons ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} dev-perl/HTML-TableExtract >=dev-perl/WWW-Mechanize-1.02"
+[ -z "${XMLTV_OPTS}" ] || has tv_grab_fi ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} dev-perl/HTML-Tree"
+[ -z "${XMLTV_OPTS}" ] || has tv_grab_es ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} dev-perl/HTML-Tree"
+[ -z "${XMLTV_OPTS}" ] || has tv_grab_es_digital ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} dev-perl/HTML-Tree"
+[ -z "${XMLTV_OPTS}" ] || has tv_grab_nl ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} dev-perl/HTML-Tree"
+[ -z "${XMLTV_OPTS}" ] || has tv_grab_nl_wolf ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} dev-perl/HTML-Tree"
+[ -z "${XMLTV_OPTS}" ] || has tv_grab_huro ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} dev-perl/HTML-Tree"
+[ -z "${XMLTV_OPTS}" ] || has tv_grab_dk ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} dev-perl/HTML-Tree"
+[ -z "${XMLTV_OPTS}" ] || has tv_grab_jp ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} dev-perl/HTML-Tree dev-perl/Text-Kakasi"
+[ -z "${XMLTV_OPTS}" ] || has tv_grab_de_tvtoday ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} >=dev-perl/HTML-Parser-3.34 dev-perl/HTML-Tree"
+[ -z "${XMLTV_OPTS}" ] || has tv_grab_se ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} dev-perl/XML-LibXML"
+[ -z "${XMLTV_OPTS}" ] || has tv_grab_fr ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} >=dev-perl/HTML-Parser-3.34 dev-perl/HTML-Tree"
+[ -z "${XMLTV_OPTS}" ] || has tv_grab_no ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} >=dev-perl/HTML-Parser-3.34 dev-perl/HTML-TableExtract dev-perl/HTML-LinkExtractor"
+[ -z "${XMLTV_OPTS}" ] || has tv_grab_pt ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} dev-perl/HTML-Tree"
+[ -z "${XMLTV_OPTS}" ] || has tv_check ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} dev-perl/perl-tk dev-perl/Tk-TableMatrix"
+[ -z "${XMLTV_OPTS}" ] || has tv_pick_cgi ${XMLTV_OPTS} \
+ && DEPEND="${DEPEND} dev-perl/CGI"
+
+make_config() {
+ if [ -z "${XMLTV_OPTS}" ] ; then
+ # No customization needed, build everything (default)
+ echo "yes"
+ return
+ else
+ # Need to specify custom settings, do not accept defaults
+ echo "no"
+ fi
+
+ # Enable Alternate Brittain
+ has tv_grab_uk_rt ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable Italy
+ has tv_grab_it ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable North America using DataDirect
+ has tv_grab_na_dd ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable North America channel icons
+ has tv_grab_na_icons ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable Finland
+ has tv_grab_fi ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable Spain
+ has tv_grab_es ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable Spain Digital
+ has tv_grab_es_digital ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable Netherlands
+ has tv_grab_nl ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable Alternate Netherlands
+ has tv_grab_nl_wolf ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable Hungary and Romania
+ has tv_grab_huro ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable Denmark
+ has tv_grab_dk ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable Japan
+ has tv_grab_jp ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable Germany
+ has tv_grab_de_tvtoday ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable Sweden
+ has tv_grab_se ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable France
+ has tv_grab_fr ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable Norway
+ has tv_grab_no ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable Portugal
+ has tv_grab_pt ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable GUI checking.
+ has tv_check ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+ # Enable CGI support
+ has tv_pick_cgi ${XMLTV_OPTS} >&/dev/null && echo "yes" || echo "no"
+}
+
+src_compile() {
+ make_config | perl-module_src_compile
+}
+
+src_install() {
+ perl-module_src_install
+
+ for i in `grep -rl "${D}" "${D}"` ; do
+ sed -e "s:${D}::g" -i "${i}"
+ done
+
+ [ -z "${XMLTV_OPTS}" ] || has tv_pick_cgi ${XMLTV_OPTS} && {
+ dobin choose/tv_pick/tv_pick_cgi
+ einfo
+ einfo "To use tv_pick_cgi, please link it from /usr/bin/tv_pick_cgi"
+ einfo "to where the ScriptAlias directive is configured."
+ einfo
+ }
+}