From: Matteo Azzali Date: Tue, 6 Jun 2006 14:43:43 +0000 (+0000) Subject: Implemented new version based on use flag as per topic in gentoo-dev, removed old... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=26e85c92311384c43741f6985bf3d685a7aff28b;p=gentoo.git Implemented new version based on use flag as per topic in gentoo-dev, removed old version. Package-Manager: portage-2.1_rc4-r3 --- 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 +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 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 xmltv-0.5.43-r3.ebuild: Added Unicode-UTF8simple dep for pt users, thanks to mcummings. diff --git a/media-tv/xmltv/Manifest b/media-tv/xmltv/Manifest index 7e89bfa4f55e..a101fb1f8ce5 100644 --- a/media-tv/xmltv/Manifest +++ b/media-tv/xmltv/Manifest @@ -22,10 +22,14 @@ EBUILD xmltv-0.5.43-r3.ebuild 9184 RMD160 9683a820d29532b0b01b03fa5ee178b1021e93 MD5 64f465becdd577dfc940226b3439454a xmltv-0.5.43-r3.ebuild 9184 RMD160 9683a820d29532b0b01b03fa5ee178b1021e9323 xmltv-0.5.43-r3.ebuild 9184 SHA256 f53f4e23b30287d458c8f45557ced3581f4800ce750dbc255bdd40e08611a848 xmltv-0.5.43-r3.ebuild 9184 -MISC ChangeLog 9956 RMD160 9c6dce0a5f62e20a437cb9b7d592db2d54e64c1d SHA1 29fee1cf32a573d1bf7bc6e4651d5c5545987ecb SHA256 28ba4ae8cbe97b9d442578a6d532c65141749012c6f7b783e350736c457f39c8 -MD5 d427898f1f2f2f2beb42866abfb0e3b3 ChangeLog 9956 -RMD160 9c6dce0a5f62e20a437cb9b7d592db2d54e64c1d ChangeLog 9956 -SHA256 28ba4ae8cbe97b9d442578a6d532c65141749012c6f7b783e350736c457f39c8 ChangeLog 9956 +EBUILD xmltv-0.5.43-r4.ebuild 6419 RMD160 cb6d330292ae10db51da147b7bf833f4a6ab9a12 SHA1 e4a0a1c2a1b22e4c9cb4cd949ba4f918c0a4091c SHA256 925a2daf779e03d2bd43c81a8cd8ed1b508689d3b50f6eb28ef13fa4a7fb3094 +MD5 26c5e609881a2d52d128d98c324f2918 xmltv-0.5.43-r4.ebuild 6419 +RMD160 cb6d330292ae10db51da147b7bf833f4a6ab9a12 xmltv-0.5.43-r4.ebuild 6419 +SHA256 925a2daf779e03d2bd43c81a8cd8ed1b508689d3b50f6eb28ef13fa4a7fb3094 xmltv-0.5.43-r4.ebuild 6419 +MISC ChangeLog 10380 RMD160 46202a0271c6e5c851679e0a7f568ec0c6c2a08d SHA1 951f7641ffa42b32d591f597fe32ffc91e33f11a SHA256 2f1f37c02ee3985e4e36babfbe459ce63319c36fc23b19a6d9caf7459e9dff0c +MD5 fa2d3bf4a5df431b6b75f0dd0ac33bec ChangeLog 10380 +RMD160 46202a0271c6e5c851679e0a7f568ec0c6c2a08d ChangeLog 10380 +SHA256 2f1f37c02ee3985e4e36babfbe459ce63319c36fc23b19a6d9caf7459e9dff0c ChangeLog 10380 MISC metadata.xml 253 RMD160 5ef8864f145f7593d909731ad87eeffa4b00dcc7 SHA1 a4e8c0ac9ef9fbe6e4d82ef5131047bb4e187dcc SHA256 8dcec70903c8e22a3a3ff3ba1e2ae5c508d58fe0662ceb53279ae94766b445c4 MD5 b403bbd8eaf2e42d9653fca6855d3996 metadata.xml 253 RMD160 5ef8864f145f7593d909731ad87eeffa4b00dcc7 metadata.xml 253 @@ -42,3 +46,6 @@ SHA256 e2a82ea97501ffabfa27c4dbd701ac4e37185655adfbcacc83f440d6a1676b62 files/di MD5 915417bae25fca13c0bfaa2be2bfc95c files/digest-xmltv-0.5.43-r3 241 RMD160 4f8ccb7188393cd26eccbef561e0403701e2731d files/digest-xmltv-0.5.43-r3 241 SHA256 075898db8f3b46f21d4dd7c0ea10a79a867a2cf25ce49b038692d25e5fa7fa4a files/digest-xmltv-0.5.43-r3 241 +MD5 915417bae25fca13c0bfaa2be2bfc95c files/digest-xmltv-0.5.43-r4 241 +RMD160 4f8ccb7188393cd26eccbef561e0403701e2731d files/digest-xmltv-0.5.43-r4 241 +SHA256 075898db8f3b46f21d4dd7c0ea10a79a867a2cf25ce49b038692d25e5fa7fa4a files/digest-xmltv-0.5.43-r4 241 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 ) + >=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" +} +