summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Azzali <mattepiu@gentoo.org>2006-06-06 14:43:43 +0000
committerMatteo Azzali <mattepiu@gentoo.org>2006-06-06 14:43:43 +0000
commit2471e6a23d3bea5bb3131d1d71b6c5b2fd96278a (patch)
tree73786735845fc5358aaa43c0c8961dfaa84ff28c /media-tv/xmltv
parentAdded xmltv required use flags (diff)
downloadgentoo-2-2471e6a23d3bea5bb3131d1d71b6c5b2fd96278a.tar.gz
gentoo-2-2471e6a23d3bea5bb3131d1d71b6c5b2fd96278a.tar.bz2
gentoo-2-2471e6a23d3bea5bb3131d1d71b6c5b2fd96278a.zip
Implemented new version based on use flag as per topic in gentoo-dev, removed old version.
(Portage version: 2.1_rc4-r3)
Diffstat (limited to 'media-tv/xmltv')
-rw-r--r--media-tv/xmltv/ChangeLog10
-rw-r--r--media-tv/xmltv/files/digest-xmltv-0.5.43-r43
-rw-r--r--media-tv/xmltv/xmltv-0.5.43-r4.ebuild204
3 files changed, 216 insertions, 1 deletions
diff --git a/media-tv/xmltv/ChangeLog b/media-tv/xmltv/ChangeLog
index 9c6f4546f152..5c2affa7d604 100644
--- a/media-tv/xmltv/ChangeLog
+++ b/media-tv/xmltv/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-tv/xmltv
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.44 2006/06/01 17:09:36 mattepiu Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/ChangeLog,v 1.45 2006/06/06 14:43:43 mattepiu Exp $
+
+ 6 Jun 2006; Matteo Azzali <mattepiu@gentoo.org> +xmltv-0.5.43-r4.ebuild:
+ Implemented new version based on use flag as per topic in gentoo-dev.
+ -xmltv-0.5.43-r3.ebuild: removing masked old implementation.
+
+ 1 Jun 2006; Matteo Azzali <mattepiu@gentoo.org> xmltv-0.5.43-r3.ebuild:
+ Masked cause XMLTV_OPTS is not accessible anymore. I'll need to mail
+ gentoo-dev and wait 3 days at least to unmask, wish me luck..
1 Jun 2006; Matteo Azzali <mattepiu@gentoo.org> xmltv-0.5.43-r3.ebuild:
Added Unicode-UTF8simple dep for pt users, thanks to mcummings.
diff --git a/media-tv/xmltv/files/digest-xmltv-0.5.43-r4 b/media-tv/xmltv/files/digest-xmltv-0.5.43-r4
new file mode 100644
index 000000000000..a6c8f082af33
--- /dev/null
+++ b/media-tv/xmltv/files/digest-xmltv-0.5.43-r4
@@ -0,0 +1,3 @@
+MD5 b6a9fc395782125ca66a8e26531aca58 xmltv-0.5.43.tar.bz2 534243
+RMD160 a870c3119ba9ee05bbcab72d0c7a4403ed118caf xmltv-0.5.43.tar.bz2 534243
+SHA256 a0e51a6a43f3a7ccb9c9294f855301a2eb3def01b8b3cd0547dd4c20c94f098d xmltv-0.5.43.tar.bz2 534243
diff --git a/media-tv/xmltv/xmltv-0.5.43-r4.ebuild b/media-tv/xmltv/xmltv-0.5.43-r4.ebuild
new file mode 100644
index 000000000000..72e19d022421
--- /dev/null
+++ b/media-tv/xmltv/xmltv-0.5.43-r4.ebuild
@@ -0,0 +1,204 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/xmltv-0.5.43-r4.ebuild,v 1.1 2006/06/06 14:43:43 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=""
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+PREFIX="/usr"
+
+# NOTE: you can customize the xmltv installation by
+# defining USE FLAGS:
+#
+# huro Alternate Hungarian and Romania grabber
+# uk_rt: Alternate Britain listings grabber
+# uk_bleb: Fast alternative grabber for the UK
+# it: Italy listings grabber
+# il: Israel listings grabber
+# na_dd: Alternate American listings grabber
+# na_icons: Downloads icons from Zap2IT (needs na_dd to work)
+# fi: Finland listings grabber
+# es: Spain listings grabber
+# nl: Netherlands listings grabber
+# nl_wolf: Alternate Netherlands listings grabber
+# dk: Denmark listings grabber
+# jp: Japan listings grabber
+# de_tvtoday: Germany listings grabber
+# se_swedb: New grabber for Sweden
+# fr: France listings grabber
+# br: Brazil listings grabber
+# brnet: Brazil NET Cable listings grabber
+# ch: Switzerland listings grabber
+# be: Belgium and Luxemburg listings grabber
+# is: Iceland listings grabber
+# no: Norway listings grabber
+# pt: Portugal listings grabber
+# za: South Africa listings grabber
+# ee: Estonia listings grabber
+# re: Reunion Island listings grabber
+
+# EXAMPLES:
+# enable just North American grabber
+# XMLTV_OPTS="tv_grab_na"
+#
+# enable graphical front-end, Italy grabber
+# XMLTV_OPTS="tv_check tv_grab_it"
+
+#for X in ${LANGS} ; do
+# SRC_URI="${SRC_URI} linguas_${X/-/_}? ( mirror://gentoo/firefox-${X}-${PV}.xpi )"
+#done
+
+
+IUSE="br brnet ch uk_rt uk_bleb uk_be is it na_dd na_icons fi es ee il re nl nl_wolf huro dk jp de_tvtoday se_swedb fr no pt za tv_pick_cgi tv_check"
+
+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-lang/perl-5.8.7 perl-core/Memoize )
+ || ( >=dev-lang/perl-5.8.8 perl-core/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-perl/TermReadKey
+ na_dd? ( <dev-perl/Class-MethodMaker-2 )
+ !na_dd? ( >=dev-perl/Class-MethodMaker-2 )
+ >=dev-lang/perl-5.6.1"
+
+DEPEND="${RDEPEND}
+ >=sys-apps/portage-2.0.50-r1
+ na_dd? ( dev-perl/HTML-TableExtract >=dev-perl/WWW-Mechanize-1.02 )
+ de_tvtoday? ( >=dev-perl/HTML-Parser-3.34 dev-perl/HTML-Tree )
+ 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 )
+ 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? ( >=dev-perl/HTML-Parser-3.34 dev-perl/HTML-TableExtract dev-perl/HTML-LinkExtractor )
+ pt? ( dev-perl/HTML-Tree dev-perl/Unicode-UTF8simple )
+ se? ( dev-perl/XML-LibXML )
+ se_swedb? ( dev-perl/HTTP-Cache-Transparent )
+ uk_bleb? ( dev-perl/Archive-Zip dev-perl/IO-stringy )
+ tv_check? ( dev-perl/perl-tk dev-perl/Tk-TableMatrix )
+ tv_pick_cgi? ( perl-core/CGI )
+ "
+
+make_config() {
+ # Never except default configuration
+ echo "no"
+
+ # Enable Australian
+ #use au && echo "yes" || echo "no"
+ # Enable Brazil
+ use br && echo "yes" || echo "no"
+ # Enable Brazil Cable
+ use brnet && echo "yes" || echo "no"
+ # Enable Switzerland
+ use ch && 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 uk_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 && 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"
+ # Enable Israel
+ use il && 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 Germany
+ use de_tvtoday && echo "yes" || echo "no"
+ # Enable Sweden
+ #use se && echo "yes" || echo "no"
+ # Enable Sweden 2
+ use se_swedb && 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 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"
+ i
+}
+
+src_unpack() {
+ unpack "${A}"
+
+ cd "${S}"
+ epatch "${FILESDIR}/tv_grab_de_tvtoday-0.5.43.diff"
+}
+
+src_compile() {
+ sed -i "s:\$VERSION = '${PV}':\$VERSION = '${PVR}':" Makefile.PL || die
+ make_config | perl Makefile.PL PREFIX=/usr
+}
+
+src_install() {
+ make
+ # actually make test should be unneede, but if non na grabbers
+ # start to not install remove comment below
+ # make test
+ make DESTDIR=${D} install
+
+ 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
+ fi
+}
+
+pkg_postinst() {
+ if use tv_pick_cgi ; then
+ einfo "To use tv_pick_cgi, please link it from /usr/bin/tv_pick_cgi"
+ einfo "to where the ScriptAlias directive is configured."
+ fi
+ einfo "users with na_dd may experience issues if na_dd is not set,"
+ einfo "please set it: you may need an old version of dev-perl/Class-MethodMaker"
+}
+