Closing #69314 and #72801.
authorDaniel Ahlberg <aliz@gentoo.org>
Sat, 1 Jan 2005 13:34:40 +0000 (13:34 +0000)
committerDaniel Ahlberg <aliz@gentoo.org>
Sat, 1 Jan 2005 13:34:40 +0000 (13:34 +0000)
media-tv/xmltv/ChangeLog
media-tv/xmltv/Manifest
media-tv/xmltv/files/digest-xmltv-0.5.37 [new file with mode: 0644]
media-tv/xmltv/xmltv-0.5.37.ebuild [new file with mode: 0644]

index 98924feeea84f89a1c59b571792f8d5c82246308..adbd6ec45713d2ba6c6587ecf46a6d89f4900eb0 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for media-tv/xmltv
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.27 2004/09/29 14:27:26 aliz Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.28 2005/01/01 13:34:40 aliz Exp $
+
+*xmltv-0.5.37 (01 Jan 2005)
+
+  01 Jan 2005; Daniel Ahlberg <aliz@gentoo.org> xmltv-0.5.37.ebuild:
+  Version bump, closing #69314 and #72801.
 
 *xmltv-0.5.35 (29 Sep 2004)
 
index 04c07c2566236c6b09ecb35b14d9c0e8a57eb027..b9b57c3eb069598ddddbcd22114a4c95ed76ca2e 100644 (file)
@@ -1,10 +1,12 @@
-MD5 a831056265d7cc9b75864af7ecc773ea ChangeLog 7496
+MD5 2bd2e1bb563b89bb1e710a25e5a443e8 xmltv-0.5.34.ebuild 6710
+MD5 8c8f82abb2ff0bc89949cdcc4235e9ec xmltv-0.5.35.ebuild 7163
+MD5 c04aeabb84deda48b0d90d79446c09b3 xmltv-0.5.34-r1.ebuild 6866
+MD5 0439ba7f0efb4fc11124d1efc98655b2 ChangeLog 7638
 MD5 20e2255501865de5b568424821abf69d metadata.xml 161
+MD5 d7ef72e276c9d6aa3c1d4e9a9e663675 xmltv-0.5.37.ebuild 7474
 MD5 130087ba9a3d72e77be2cb3580de9a17 xmltv-0.5.23.ebuild 6062
-MD5 c04aeabb84deda48b0d90d79446c09b3 xmltv-0.5.34-r1.ebuild 6866
-MD5 8c8f82abb2ff0bc89949cdcc4235e9ec xmltv-0.5.35.ebuild 7163
-MD5 2bd2e1bb563b89bb1e710a25e5a443e8 xmltv-0.5.34.ebuild 6710
 MD5 dc434592be0863ac2e405460f0eb5819 files/digest-xmltv-0.5.23 65
-MD5 7e68f2515597e3cd1b0a2b1d49fda10e files/digest-xmltv-0.5.34-r1 65
-MD5 66039fc50c23ea7e5af7df53e774accf files/digest-xmltv-0.5.35 65
 MD5 7e68f2515597e3cd1b0a2b1d49fda10e files/digest-xmltv-0.5.34 65
+MD5 66039fc50c23ea7e5af7df53e774accf files/digest-xmltv-0.5.35 65
+MD5 1b972dd0ced1a3531dcccd0e0c845310 files/digest-xmltv-0.5.37 65
+MD5 7e68f2515597e3cd1b0a2b1d49fda10e files/digest-xmltv-0.5.34-r1 65
diff --git a/media-tv/xmltv/files/digest-xmltv-0.5.37 b/media-tv/xmltv/files/digest-xmltv-0.5.37
new file mode 100644 (file)
index 0000000..691a52b
--- /dev/null
@@ -0,0 +1 @@
+MD5 40b7675cc1b7632065ebbd1e0ecf860f xmltv-0.5.37.tar.bz2 414564
diff --git a/media-tv/xmltv/xmltv-0.5.37.ebuild b/media-tv/xmltv/xmltv-0.5.37.ebuild
new file mode 100644 (file)
index 0000000..59763d0
--- /dev/null
@@ -0,0 +1,218 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/xmltv-0.5.37.ebuild,v 1.1 2005/01/01 13:34:40 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"
+IUSE=""
+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_uk_bleb:    Fast alternative grabber for the UK
+#  tv_grab_it:         Italy listings grabber
+#  tv_grab_it_lt:      Alternative grabber for Italy
+#  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_se_swedb:   New grabber for Sweden
+#  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"
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_uk_rt ${XMLTV_OPTS} ; then
+       newdepend \>=dev-perl/HTML-Parser-3.34
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_bleb ${XMLTV_OPTS} ; then
+       newdepend dev-perl/Archive-Zip dev-perl/IO-stringy
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_na_dd ${XMLTV_OPTS} ; then
+       newdepend dev-perl/SOAP-Lite dev-perl/TermReadKey
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_na_icons ${XMLTV_OPTS} ; then
+       newdepend dev-perl/HTML-TableExtract \>=dev-perl/WWW-Mechanize-1.02
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_fi ${XMLTV_OPTS} ; then
+       newdepend dev-perl/HTML-Tree
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_es ${XMLTV_OPTS} ; then
+       newdepend dev-perl/HTML-Tree
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_es_digital ${XMLTV_OPTS} ; then
+       newdepend dev-perl/HTML-Tree
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_nl ${XMLTV_OPTS} ; then
+       newdepend dev-perl/HTML-Tree
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_nl_wolf ${XMLTV_OPTS} ; then
+       newdepend dev-perl/HTML-Tree
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_huro ${XMLTV_OPTS} ; then
+       newdepend dev-perl/HTML-Tree
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_dk ${XMLTV_OPTS} ; then
+       newdepend dev-perl/HTML-Tree
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_jp ${XMLTV_OPTS} ; then
+       newdepend dev-perl/HTML-Tree dev-perl/Text-Kakasi
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_de_tvtoday ${XMLTV_OPTS} ; then
+       newdepend \>=dev-perl/HTML-Parser-3.34 dev-perl/HTML-Tree
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_se ${XMLTV_OPTS} ; then
+       newdepend dev-perl/XML-LibXML
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_fr ${XMLTV_OPTS} ; then
+       newdepend \>=dev-perl/HTML-Parser-3.34 dev-perl/HTML-Tree
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_no ${XMLTV_OPTS} ; then
+       newdepend \>=dev-perl/HTML-Parser-3.34 dev-perl/HTML-TableExtract dev-perl/HTML-LinkExtractor
+fi
+
+#if [ -z "${XMLTV_OPTS}" ] || has tv_grab_pt ${XMLTV_OPTS} ; then
+#      newdepend dev-perl/HTML-Tree
+#fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_check ${XMLTV_OPTS} ; then
+       newdepend dev-perl/perl-tk dev-perl/Tk-TableMatrix
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_pick_cgi ${XMLTV_OPTS} ; then
+       newdepend dev-perl/CGI
+fi
+
+if [ -z "${XMLTV_OPTS}" ] || has tv_grab_se_swedb ${XMLTV_OPTS} ; then
+       newdepend dev-perl/HTTP-Cache-Transparent
+fi
+
+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 Alternate Brittain 2
+       has tv_grab_uk_bleb ${XMLTV_OPTS}    >&/dev/null && echo "yes" || echo "no"
+       # Enable Italy
+       has tv_grab_it ${XMLTV_OPTS}         >&/dev/null && echo "yes" || echo "no"
+       # Enable Alternate Italy
+       has tv_grab_it_lt ${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 Sweden 2
+       has tv_grab_se_swedb ${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 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
+
+       if [ -z "${XMLTV_OPTS}" ] || has tv_pick_cgi ${XMLTV_OPTS} ; then
+               dobin choose/tv_pick/tv_pick_cgi
+               einfo "To use tv_pick_cgi, please link it from /usr/bin/tv_pick_cgi"
+               einfo "to where the ScriptAlias directive is configured."
+       fi
+}