diff options
author | Max Kalika <max@gentoo.org> | 2003-10-01 17:39:54 +0000 |
---|---|---|
committer | Max Kalika <max@gentoo.org> | 2003-10-01 17:39:54 +0000 |
commit | a1613154697bd88f93278afe8df835d65f4345bc (patch) | |
tree | 11023d2aefefbae7443a554867cb7b87b4312422 | |
parent | remove eutils inherit (diff) | |
download | gentoo-2-a1613154697bd88f93278afe8df835d65f4345bc.tar.gz gentoo-2-a1613154697bd88f93278afe8df835d65f4345bc.tar.bz2 gentoo-2-a1613154697bd88f93278afe8df835d65f4345bc.zip |
Bump to version 0.5.19 and mark stable.
-rw-r--r-- | media-tv/xmltv/ChangeLog | 8 | ||||
-rw-r--r-- | media-tv/xmltv/Manifest | 6 | ||||
-rw-r--r-- | media-tv/xmltv/files/digest-xmltv-0.5.19 | 1 | ||||
-rw-r--r-- | media-tv/xmltv/xmltv-0.5.18.ebuild | 4 | ||||
-rw-r--r-- | media-tv/xmltv/xmltv-0.5.19.ebuild | 161 |
5 files changed, 175 insertions, 5 deletions
diff --git a/media-tv/xmltv/ChangeLog b/media-tv/xmltv/ChangeLog index 19179753d7fd..1237fd304732 100644 --- a/media-tv/xmltv/ChangeLog +++ b/media-tv/xmltv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-tv/xmltv # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.5 2003/09/16 15:46:27 max Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.6 2003/10/01 17:39:52 max Exp $ + +*xmltv-0.5.19 (01 Oct 2003) + + 01 Oct 2003; Max Kalika <max@gentoo.org> xmltv-0.5.18.ebuild, + xmltv-0.5.19.ebuild: + Bump to version 0.5.19 and mark stable. *xmltv-0.5.18 (16 Sep 2003) diff --git a/media-tv/xmltv/Manifest b/media-tv/xmltv/Manifest index fd91d380b144..167b43171fb3 100644 --- a/media-tv/xmltv/Manifest +++ b/media-tv/xmltv/Manifest @@ -1,11 +1,13 @@ MD5 75e21efa952fb3c32384c0a2510d918c xmltv-0.5.16.ebuild 6010 -MD5 c7012e3dd8adfcd5859e607e167d4955 xmltv-0.5.18.ebuild 6011 +MD5 885983d3d3f329c6dc755da3b7aaec8d xmltv-0.5.18.ebuild 6010 MD5 eae8d14f26339258cb7d7b43727ac294 xmltv-0.5.14-r1.ebuild 6106 MD5 71abfbc86eebca3cdb2f478369396441 xmltv-0.5.17.ebuild 6010 -MD5 231317dfe9dad6a6cc371bce62b56360 ChangeLog 3876 +MD5 041bbe2f70462867552d64cdd9078cc5 ChangeLog 4035 MD5 20e2255501865de5b568424821abf69d metadata.xml 161 +MD5 5c0c6e85fd5e46e8943454b728dc4b58 xmltv-0.5.19.ebuild 6010 MD5 fdac3cb914cbd57d6e7cc4d75a9b32e7 files/digest-xmltv-0.5.16 65 MD5 911e0dbfda6b923eda72868a99bff4b1 files/digest-xmltv-0.5.17 65 MD5 336f6161c2a3fcd603317dfc65af7971 files/digest-xmltv-0.5.18 65 +MD5 2ac54f2548b19a80a48d7116da974ea6 files/digest-xmltv-0.5.19 65 MD5 35c0ccab3f399ea2ed58bb3c97bfa8e7 files/digest-xmltv-0.5.14-r1 65 MD5 e515eee3cdb5c503cd44ddba41527013 files/xmltv-0.5.14-code_500.patch 2320 diff --git a/media-tv/xmltv/files/digest-xmltv-0.5.19 b/media-tv/xmltv/files/digest-xmltv-0.5.19 new file mode 100644 index 000000000000..cac8add05a7b --- /dev/null +++ b/media-tv/xmltv/files/digest-xmltv-0.5.19 @@ -0,0 +1 @@ +MD5 b7df1e4f3c7edb6faa64530a8913b655 xmltv-0.5.19.tar.bz2 398884 diff --git a/media-tv/xmltv/xmltv-0.5.18.ebuild b/media-tv/xmltv/xmltv-0.5.18.ebuild index 9c01b0cd700e..5263446fdc54 100644 --- a/media-tv/xmltv/xmltv-0.5.18.ebuild +++ b/media-tv/xmltv/xmltv-0.5.18.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 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.18.ebuild,v 1.1 2003/09/16 15:46:27 max Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/xmltv-0.5.18.ebuild,v 1.2 2003/10/01 17:39:52 max Exp $ inherit perl-module @@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="x86" # NOTE: you can customize the xmltv installation by # defining a XMLTV_OPTS variable which contains diff --git a/media-tv/xmltv/xmltv-0.5.19.ebuild b/media-tv/xmltv/xmltv-0.5.19.ebuild new file mode 100644 index 000000000000..345e0c7e42d5 --- /dev/null +++ b/media-tv/xmltv/xmltv-0.5.19.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2003 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.19.ebuild,v 1.1 2003/10/01 17:39:52 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_de: Germany and Austria listing grabbers +# tv_grab_uk: Britain listings grabber +# tv_grab_uk_rt: Alternate Britain listings grabber +# tv_grab_it: Italy listings grabber +# tv_grab_na: North America listings grabber +# tv_grab_sn: Sweden and Norway 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-Twig-3.09 + dev-perl/XML-Writer + >=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/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" +# for tv_grab_sn +DEPEND="${DEPEND} >=dev-perl/HTML-TableExtract-1.08" +# 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 Germany and Austria + [ "`has tv_grab_de ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # Enable Brittain + [ "`has tv_grab_uk ${XMLTV_OPTS}`" ] && echo "yes" || echo "no" + # 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 Sweden and Norway + [ "`has tv_grab_sn ${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_nl ${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 +} + +pkg_postinst() { + ewarn "If you are upgrading from < 0.5.10 and you need to use the" + ewarn "DE (Germany/Austria), UK or UK_RT (Britain), or IT (Italy)" + ewarn "grabbers, please make sure you have the appropriate value" + ewarn "specified in your XMLTV_OPTS setting because these grabbers" + ewarn "no longer build by default." + echo +} |