diff options
author | Max Kalika <max@gentoo.org> | 2004-02-07 17:14:21 +0000 |
---|---|---|
committer | Max Kalika <max@gentoo.org> | 2004-02-07 17:14:21 +0000 |
commit | 5e313600089f55780a192f9ab37a50959e0b94e2 (patch) | |
tree | 34c58df2ac1298d0d8834d4edfbadcac40793e3e /media-tv/xmltv | |
parent | allow nptl-enabled build of mysql (diff) | |
download | historical-5e313600089f55780a192f9ab37a50959e0b94e2.tar.gz historical-5e313600089f55780a192f9ab37a50959e0b94e2.tar.bz2 historical-5e313600089f55780a192f9ab37a50959e0b94e2.zip |
Bump to version 0.5.28. This one removes the regular uk grabber. The alternate, uk_rt, is still available.
Diffstat (limited to 'media-tv/xmltv')
-rw-r--r-- | media-tv/xmltv/ChangeLog | 8 | ||||
-rw-r--r-- | media-tv/xmltv/Manifest | 4 | ||||
-rw-r--r-- | media-tv/xmltv/files/digest-xmltv-0.5.28 | 1 | ||||
-rw-r--r-- | media-tv/xmltv/xmltv-0.5.28.ebuild | 143 |
4 files changed, 154 insertions, 2 deletions
diff --git a/media-tv/xmltv/ChangeLog b/media-tv/xmltv/ChangeLog index 0311840d3e64..53958304146d 100644 --- a/media-tv/xmltv/ChangeLog +++ b/media-tv/xmltv/ChangeLog @@ -1,6 +1,12 @@ # 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.12 2004/01/16 17:19:38 max Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.13 2004/02/07 17:14:21 max Exp $ + +*xmltv-0.5.28 (07 Feb 2004) + + 07 Feb 2004; Max Kalika <max@gentoo.org> xmltv-0.5.28.ebuild: + Bump to version 0.5.28. This one removes the regular uk grabber. The + alternate, uk_rt, is still available. *xmltv-0.5.27 (16 Jan 2004) diff --git a/media-tv/xmltv/Manifest b/media-tv/xmltv/Manifest index cc2263ad12ba..e470548bd235 100644 --- a/media-tv/xmltv/Manifest +++ b/media-tv/xmltv/Manifest @@ -1,10 +1,12 @@ MD5 625689b14ab536e09920f2a348a53c2a xmltv-0.5.25.ebuild 6130 MD5 3450d6bbef5aafddba754df628308846 xmltv-0.5.27.ebuild 5803 MD5 2e110955a487837691d282267fbead61 xmltv-0.5.24.ebuild 6087 -MD5 4530ac731a5c40ea7ee9a52ad9535daa ChangeLog 5408 +MD5 4ca82fe1947d7e0bf65ca057bb3f167d ChangeLog 5613 MD5 20e2255501865de5b568424821abf69d metadata.xml 161 +MD5 7cd06fc0235248c97515c044b33ffa59 xmltv-0.5.28.ebuild 5246 MD5 e7ae84d64633a8b6fba9aa9d975e9e44 xmltv-0.5.23.ebuild 6058 MD5 dc434592be0863ac2e405460f0eb5819 files/digest-xmltv-0.5.23 65 MD5 e0dabb09f6e6c5045c7db7004e3f333f files/digest-xmltv-0.5.24 65 MD5 68f19eb43e6a6f6b2acc28f39900fe6a files/digest-xmltv-0.5.25 65 MD5 9121b9957cc23a1ed46519bc6b98a26c files/digest-xmltv-0.5.27 65 +MD5 4b9db4f6d35fff31a29fda7470401bea files/digest-xmltv-0.5.28 65 diff --git a/media-tv/xmltv/files/digest-xmltv-0.5.28 b/media-tv/xmltv/files/digest-xmltv-0.5.28 new file mode 100644 index 000000000000..f88a314df630 --- /dev/null +++ b/media-tv/xmltv/files/digest-xmltv-0.5.28 @@ -0,0 +1 @@ +MD5 029d2668c08b06b6ed779904c28efa46 xmltv-0.5.28.tar.bz2 388854 diff --git a/media-tv/xmltv/xmltv-0.5.28.ebuild b/media-tv/xmltv/xmltv-0.5.28.ebuild new file mode 100644 index 000000000000..7c31d143ddea --- /dev/null +++ b/media-tv/xmltv/xmltv-0.5.28.ebuild @@ -0,0 +1,143 @@ +# 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.28.ebuild,v 1.1 2004/02/07 17:14:21 max 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/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +# 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*. +# +# none: Don't enable any of the features below +# tv_grab_uk_rt: Alternate Britain listings grabber +# tv_grab_it: Italy listings grabber +# tv_grab_na: North America listings grabber +# tv_grab_nz: New Zealand listings grabber +# tv_grab_fi: Finland listings grabber +# tv_grab_es: Spain listings grabber +# tv_grab_nl: Netherlands listings grabber +# tv_grab_nl_wolf: Alternate Netherlands listings grabber +# tv_grab_hu: Hungary listings grabber +# tv_grab_dk: Denmark 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, New Zealand and Italy grabbers +# XMLTV_OPTS="tv_check tv_grab_nz tv_grab_it" + +DEPEND=">=sys-apps/sed-4 + >=dev-perl/libwww-perl-5.65 + >=dev-perl/XML-Parser-2.34 + >=dev-perl/XML-Twig-3.09 + >=dev-perl/XML-Writer-0.4.1 + >=dev-perl/DateManip-5.42 + dev-perl/Memoize + >=dev-perl/Term-ProgressBar-2.03 + dev-perl/Compress-Zlib + dev-perl/Lingua-EN-Numbers-Ordinate + dev-perl/Lingua-Preferred + >=dev-perl/Storable-2.04 + dev-perl/Unicode-String" + +# for tv_check +DEPEND="${DEPEND} dev-perl/perl-tk dev-perl/Tk-TableMatrix dev-perl/XML-Simple" +# for tv_grab_na +DEPEND="${DEPEND} >=dev-perl/HTML-Parser-3.34" +# for tv_grab_nz +DEPEND="${DEPEND} >=dev-lang/python-1.5.2" +# for tv_grab_fi tv_grab_es tv_grab_nl tv_grab_nl_wolf tv_grab_hu tv_grab_dk +DEPEND="${DEPEND} dev-perl/HTML-Tree" + +### disabled until portage dependecy checker has notions of things +### other then incrementals that are in /etc/make.conf +### 6/13/2003 Max Kalika <max@gentoo.org> +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_na ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} dev-perl/HTML-Parser" +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_sn ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} >=dev-perl/HTML-TableExtract-1.0.8" +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_nz ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} >=dev-lang/python-1.5.1" +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_fi ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} dev-perl/HTML-Tree" +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_es ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} dev-perl/HTML-Tree" +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_nl ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} dev-perl/HTML-Tree" +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_nl_wolf ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} dev-perl/HTML-Tree" +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_hu ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} dev-perl/HTML-Tree" +#[ -z "${XMLTV_OPTS}" -o "`has tv_grab_dk ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} dev-perl/HTML-Tree" +#[ -z "${XMLTV_OPTS}" -o "`has tv_check ${XMLTV_OPTS}`" ] \ +# && DEPEND="${DEPEND} dev-perl/perl-tk dev-perl/Tk-TableMatrix dev-perl/XML-Simple" + +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}`" ] && echo "yes" || echo "no" + # Enable Italy + [ "`has tv_grab_it ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable North America + [ "`has tv_grab_na ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable New Zealand + [ "`has tv_grab_nz ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Finland + [ "`has tv_grab_fi ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Spain + [ "`has tv_grab_es ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Netherlands + [ "`has tv_grab_nl ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Alternate Netherlands + [ "`has tv_grab_nl_wolf ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Hungary + [ "`has tv_grab_hu ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Denmark + [ "`has tv_grab_dk ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable GUI checking. + [ "`has tv_check ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable CGI support + [ "`has tv_pick_cgi ${XMLTV_OPTS}`" ] && 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}" -o "`has tv_pick_cgi ${XMLTV_OPTS}`" ] ; then + 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 + fi +} |