summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Azzali <mattepiu@gentoo.org>2007-12-08 11:08:02 +0000
committerMatteo Azzali <mattepiu@gentoo.org>2007-12-08 11:08:02 +0000
commiteb0f7d27ab5f276bbd71028b4b47658cccf73056 (patch)
treea52d5f56a323129530f96463e4d140fb3be1c7fe /media-tv
parentxmltv: 2 new use flags. (diff)
downloadgentoo-2-eb0f7d27ab5f276bbd71028b4b47658cccf73056.tar.gz
gentoo-2-eb0f7d27ab5f276bbd71028b4b47658cccf73056.tar.bz2
gentoo-2-eb0f7d27ab5f276bbd71028b4b47658cccf73056.zip
Version Bump.
(Portage version: 2.1.4_rc8)
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/xmltv/ChangeLog7
-rw-r--r--media-tv/xmltv/files/digest-xmltv-0.5.503
-rw-r--r--media-tv/xmltv/xmltv-0.5.50.ebuild205
3 files changed, 214 insertions, 1 deletions
diff --git a/media-tv/xmltv/ChangeLog b/media-tv/xmltv/ChangeLog
index 86c6f280c35c..e920123249d0 100644
--- a/media-tv/xmltv/ChangeLog
+++ b/media-tv/xmltv/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-tv/xmltv
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.74 2007/10/22 10:59:18 mattepiu Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.75 2007/12/08 11:08:02 mattepiu Exp $
+
+*xmltv-0.5.50 (08 Dec 2007)
+
+ 08 Dec 2007; Matteo Azzali <mattepiu@gentoo.org> +xmltv-0.5.50.ebuild:
+ Version Bump.
*xmltv-0.5.49 (22 Oct 2007)
diff --git a/media-tv/xmltv/files/digest-xmltv-0.5.50 b/media-tv/xmltv/files/digest-xmltv-0.5.50
new file mode 100644
index 000000000000..52759422325b
--- /dev/null
+++ b/media-tv/xmltv/files/digest-xmltv-0.5.50
@@ -0,0 +1,3 @@
+MD5 eb5f7235215906153ea996e2910954ae xmltv-0.5.50.tar.bz2 617384
+RMD160 9a9c1e4ca1d4476811dc6b477c3a2c758b31e05e xmltv-0.5.50.tar.bz2 617384
+SHA256 0ea8a009e987c4245fe34c1b530ca11b3d1c20aac8f2e9637730ec1b2039b535 xmltv-0.5.50.tar.bz2 617384
diff --git a/media-tv/xmltv/xmltv-0.5.50.ebuild b/media-tv/xmltv/xmltv-0.5.50.ebuild
new file mode 100644
index 000000000000..a2ec973d12f9
--- /dev/null
+++ b/media-tv/xmltv/xmltv-0.5.50.ebuild
@@ -0,0 +1,205 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/xmltv-0.5.50.ebuild,v 1.1 2007/12/08 11:08:02 mattepiu Exp $
+
+inherit eutils 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="ar be brnet ch dtvla uk_rt uk_bleb it na_dd na_icons fi es es_laguiatv ee re nc nl nl_wolf huro dk jp se_swedb hr no_gf fr no pt za eu_epg tv_combiner tv_pick_cgi tv_check na_dtv"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+PREFIX="/usr"
+
+# 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
+
+
+# Care!!!! grab_il is actually missing Text::Bidi
+#
+
+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
+ dev-perl/Compress-Zlib
+ dev-perl/Unicode-String
+ dev-perl/TermReadKey
+ dev-perl/File-Slurp
+ >=dev-lang/perl-5.6.1"
+
+DEPEND="${RDEPEND}
+ brnet? ( dev-perl/IO-stringy >=dev-perl/WWW-Mechanize-1.02 )
+ na_dd? ( na_icons? ( dev-perl/HTML-TableExtract >=dev-perl/WWW-Mechanize-1.02 ) )
+ dk? ( dev-perl/HTML-Tree )
+ es? ( dev-perl/HTML-Tree )
+ 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 )
+ jp? ( dev-perl/HTML-Tree dev-perl/Text-Kakasi )
+ na_dd? ( dev-perl/SOAP-Lite dev-perl/TermReadKey )
+ nl? ( dev-perl/HTML-Tree )
+ nl_wolf? ( dev-perl/HTML-Tree )
+ no_gf? ( dev-perl/HTTP-Cache-Transparent dev-perl/IO-stringy dev-perl/XML-LibXML )
+ no? ( >=dev-perl/HTML-Parser-3.34 dev-perl/HTML-TableExtract dev-perl/HTML-LinkExtractor )
+ 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_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? ( virtual/perl-CGI dev-perl/Lingua-EN-Numbers-Ordinate )
+ na_dtv? ( >=dev-perl/WWW-Mechanize-1.02 dev-perl/TimeDate )
+ "
+
+make_config() {
+ # Never except default configuration
+ echo "no"
+
+ # Enable Australian
+ #use au && echo "yes" || echo "no"
+ # Enable Agentina
+ use ar && echo "yes" || echo "no"
+ # Enable Brazil
+ #use br && echo "yes" || echo "no"
+ # Enable Brazil Cable
+ use brnet && echo "yes" || echo "no"
+ # Enable Switzerland Search
+ use ch && echo "yes" || echo "no"
+ # Enable Latin America
+ use dtvla && echo "yes" || echo "no"
+ # Enable Alternate Brittain
+ use uk_rt && echo "yes" || echo "no"
+ # Enable Alternate Brittain 2
+ use uk_bleb && echo "yes" || echo "no"
+ # Enable Belgium and Luxemburg
+ use be && echo "yes" || echo "no"
+ #Enable Iceland
+ #use is && echo "yes" || echo "no"
+ # Enable Italy
+ use it && echo "yes" || echo "no"
+ # Enable North America using DataDirect
+ use na_dd && echo "yes" || echo "no"
+ # Enable North America channel icons
+ use na_icons && use na_dd && echo "yes" || echo "no"
+ # Enable Finland
+ use fi && echo "yes" || echo "no"
+ # 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 Alternative
+ use es_laguiatv && echo "yes" || echo "no"
+ # Enable Netherlands
+ use nl && echo "yes" || echo "no"
+ # Enable Alternate Netherlands
+ use nl_wolf && echo "yes" || echo "no"
+ # Enable Hungary and Romania
+ use huro && echo "yes" || echo "no"
+ # Enable Denmark
+ use dk && echo "yes" || echo "no"
+ # Enable Japan
+ use jp && echo "yes" || echo "no"
+ # Enable Sweden
+ use se_swedb && echo "yes" || echo "no"
+ # Enable Croatia
+ use hr && echo "yes" || echo "no"
+ # Enable Norway Gfeed
+ use no_gf && echo "yes" || echo "no"
+ # Enable France
+ use fr && echo "yes" || echo "no"
+ # Enable Norway
+ use no && echo "yes" || echo "no"
+ # Enable Portugal
+ use pt && echo "yes" || echo "no"
+ # Enable South Africa
+ use za && echo "yes" || echo "no"
+ # Enable Europe epg
+ use eu_epg && echo "yes" || echo "no"
+ # Enable combiner
+ use tv_combiner && echo "yes" || echo "no"
+ # Enable GUI checking.
+ use tv_check && echo "yes" || echo "no"
+ # Enable CGI support
+ use tv_pick_cgi && echo "yes" || echo "no"
+ # Enable Estonia
+ use ee && echo "yes" || echo "no"
+ # Enable Reunion Island
+ use re && echo "yes" || echo "no"
+ # Enable Caledonie Island
+ use nc && echo "yes" || echo "no"
+ # Enable North America DirecTV
+ use na_dtv && echo "yes" || echo "no"
+}
+
+src_unpack() {
+ unpack "${A}"
+
+ cd "${S}"
+ #epatch ${FILESDIR}/xmltv-na_dd-xmltwig.patch
+}
+
+src_compile() {
+ sed -i "s:\$VERSION = '${PV}':\$VERSION = '${PVR}':" Makefile.PL || die
+ pm_echovar=`make_config`
+ perl-module_src_compile || die "error compiling"
+}
+
+src_install() {
+ # actually make test should be unneede, but if non na grabbers
+ # start to not install remove comment below
+ #make test
+ #make
+ #make DESTDIR=${D} install
+ perl-module_src_install || die "error installing"
+
+ 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 || die "error creating 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
+ if use na_icons ; then
+ if use na_dd ; then
+ elog "na_icons set for na_dd grabber user."
+ else
+ elog "na_icons works only when na_dd is set, "
+ elog "otherwise it does nothing."
+ fi
+ fi
+ elog "Israel (il) support has bee turned on for lack of testers, open a"
+ elog "bugreport if you want il support and are willing to collaborate/test"
+}