diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-04 12:06:33 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-04 12:06:33 +0000 |
commit | a833e3f4a431b8eea751b7420e127787f9c92117 (patch) | |
tree | b941d23e9e3d5f070b01feb15ef927839af7456a /media-tv/xmltv | |
parent | 4cd2370bed609c118b6edfde5d3f116e5c35b897 (diff) |
gentoo resync : 04.12.2017
Diffstat (limited to 'media-tv/xmltv')
-rw-r--r-- | media-tv/xmltv/Manifest | 6 | ||||
-rw-r--r-- | media-tv/xmltv/metadata.xml | 1 | ||||
-rw-r--r-- | media-tv/xmltv/xmltv-0.5.70.ebuild | 195 |
3 files changed, 200 insertions, 2 deletions
diff --git a/media-tv/xmltv/Manifest b/media-tv/xmltv/Manifest index 3db3e6ce9c28..08b8e0cdf514 100644 --- a/media-tv/xmltv/Manifest +++ b/media-tv/xmltv/Manifest @@ -1,8 +1,10 @@ AUX xmltv-0.5.68-perl526-1.patch 2066 BLAKE2B 97483506ba9351f3962e81a96f02548d24b55c1d78d5bf6bfc914bf292de6f94e539edf1b51840bd1cdd8ae4b4b139da32f84a071e8c75364df8300793b3f1aa SHA512 3dd149163cb6e0eb1077bf742cef4857869a7b4318732c084e30b402ab2db1b5760cac5bad9125fde7f5142f2a0b4b6c4d2c1aeed40abb9dc9a263af08c03290 DIST xmltv-0.5.57.tar.bz2 778254 SHA256 4a42a1d239caa988fc6d25414ff0104aa831ffa273d4a571cff8c76c05e0afd3 SHA512 78e79b75b23cd8815403a0a5835036c67c80ff45fba79fae68e50a041ae384f427e18717d6122ea2d5eb57163370acac115946e24a8934a94b1cc72cb24314cc WHIRLPOOL 86624127ed922886d3c291358acdbd29a0b70d591baff83ed491345d5ec119de8ef486e0341499e1fa985fa38b85da9a6989e7e4159675da8876ec870b6cc433 DIST xmltv-0.5.67.tar.bz2 1188778 SHA256 f5ee784961be2a35035d55ef39bcba0ccfd7aecfa5359c1a890cb411c1c7a694 SHA512 2451634bf63ed8f5ee1ef4eff23fa5cfe2a98422e8ae75bf055951d5139d8b7ff03ece6aeee9b3ae81abba5a3edd66e64bd9ae8f610f92cb97ec017b839eee1f WHIRLPOOL c500e8b61a59fd0507c66fbdd0401304321cfae837255085cd373ea0bb26133ebf16b2854cb0715ddd2783ed44c603dc7bb61d40a30552cea3691315c1bfc2eb -DIST xmltv-0.5.68.tar.bz2 1200116 SHA256 ed6589118943f1028b318dea2cd30c395c41b8abc9bbf106b3787f095d79919d SHA512 bf21837d3804058c6cbfeb0e75af57e5d6e3cd35da40c96291c951bdadc3b4dbfa64c8145a4e2129713b65e7540e1d5da08fe6fbab4c7561ec448f2ce07acbd5 WHIRLPOOL 50ca08aaa414cab036d19cd6ff42de31c44abd53baed357a518c2888553d4ef3c9f4e524aaa9ab50912e247803efafe987c3de3d299b91ebb30bd7ed45b74848 +DIST xmltv-0.5.68.tar.bz2 1200116 BLAKE2B 3dcf6140c8eea5bcb729d8159b0e698f0716aff6e46175412a9087f156be5d9a400b4efb96c3566c17bbf352354671fe54d6c5bccd6ef878102a8c98b5749af8 SHA512 bf21837d3804058c6cbfeb0e75af57e5d6e3cd35da40c96291c951bdadc3b4dbfa64c8145a4e2129713b65e7540e1d5da08fe6fbab4c7561ec448f2ce07acbd5 +DIST xmltv-0.5.70.tar.bz2 1274164 BLAKE2B 4a6cbf6bc2f8f113a91fc579afbfc69fc04aec020d386182f6fd78f9f8c18821d0dc09077cccb1ad30e6f0583f958210fbf717d356f1e47dcf785e5a85864dc4 SHA512 36dd497dc20d296ca984ad0a1ca19f471c97cac7bfe7c5d4baeaae7faea565c36103bea10e7a7ae813c1cfc35c7ac376299edd2bf01c4c5da981cb5cca13317c EBUILD xmltv-0.5.57.ebuild 5401 BLAKE2B 0c4ca8aa05463ca5d41790431d844adefddad12def480b846b5a04273d8c7b3ff67d698af343d81eedc384c15fae90f093441972d3ed516944d2eb074a305b83 SHA512 881ec922d61a10fe6911e0fd9f6d3dcc15e58ba4ed480cf6eb79dddaf73d5b46fda6c0e084e83681a9ab4ea544bfc3c97722e9de2b8bd225008c50abe3b24e35 EBUILD xmltv-0.5.67.ebuild 6412 BLAKE2B 4243e3b07cd309fafa2b80a638ba06c934498c49553067eb46d87a76e7bf6a98009710a3c5e297f261b83a38e2fc07ecb21720aaeea587f33de60a318fd211b8 SHA512 dff1d33659be05a6aa2a02db20df66ceac10ac2d6f14f29a071e700be59ad93fd2af5cbcd561387af88e43b77a97f24660365e878dac8cc25ec37b226a1de004 EBUILD xmltv-0.5.68.ebuild 6719 BLAKE2B 53aedba579a68deda5abd38587708af93bfcd7ff85180097b089dd250b802fc280bb76f2ed0ead591fe8a6c5356d27e0fe29dd76f66342175c84d98ae2d20c42 SHA512 44b24f18ce10ef1a6c578045a134b90abbcfbcfcc9af5381dd84047c2a87f2ce57b0a696096ed3d4402cf8b20769dd36e1bddb7f73cfca6da37f808c6f98eda5 -MISC metadata.xml 3093 BLAKE2B 90b78856bc1087d855dbd2b42cbd3feee702acc866c066d65ef2f866f454a162884ab497303363297392685f1cd413ec06b01a2700b6123b6040d3d7007ab50e SHA512 07b487b5d43f2cac0a15962bd87e11eaa38a703d9b6453b433eaab615a27f3f853982105e50c3b62ec625074c19dd491f0f2c3dbbe43c80284d99415bfa4a261 +EBUILD xmltv-0.5.70.ebuild 5716 BLAKE2B a44d3b66c3a5def7d45d5383f484a28fcbbac2bfe7c48fdcd7de526d21b002f4ef820e091cef01508091c87ee71886bc3d336030af3b3d3344453576a0df48ea SHA512 b89eb6e531be3d77e6a3d5aa7cd7949fc940c5a1d4e196c0568bc841f3f64d7b68a99935218711ce9c081044bda4052300737f019c5c3ae08dd211ae3a3e4ef7 +MISC metadata.xml 3190 BLAKE2B 2d22268251417f41624e47fa7696e963318493e67d431af881d2cfd6520ead145cea16e0bad0a42c6b745f2fea0f90de7285374baf6832d85b24fac453158dfd SHA512 b6e46b63d3a3ddee90318a204892b2a8d790ee7c8c226ed53e79ce30f817cb5b7a28d0a63b941e0cee0d1a18ee1b73845fde3402bccbc75efc46f8113e17f5e7 diff --git a/media-tv/xmltv/metadata.xml b/media-tv/xmltv/metadata.xml index bef47687a8ae..8f4d6b5829f2 100644 --- a/media-tv/xmltv/metadata.xml +++ b/media-tv/xmltv/metadata.xml @@ -53,6 +53,7 @@ <flag name="uk_tvguide">UK and Ireland tv listing grabber using TV Guide website</flag> <flag name="sd_json">Grabber for schedulesDirect.org SD-JSON service (many countries)</flag> <flag name="za">South Africa tv listing grabber</flag> + <flag name="zz_sdjson">Grabber for schedulesDirect.org SD-JSON service (many countries)</flag> </use> <upstream> <remote-id type="sourceforge">xmltv</remote-id> diff --git a/media-tv/xmltv/xmltv-0.5.70.ebuild b/media-tv/xmltv/xmltv-0.5.70.ebuild new file mode 100644 index 000000000000..b137f72ef360 --- /dev/null +++ b/media-tv/xmltv/xmltv-0.5.70.ebuild @@ -0,0 +1,195 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils perl-module + +DESCRIPTION="Set of utilities to manage TV listings stored in the XMLTV format" +HOMEPAGE="http://xmltv.org" +SRC_URI="mirror://sourceforge/xmltv/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-linux" + +IUSE="ar ch_search dk dtvla es_laguiatv eu_dotmedia eu_epg fi fi_sv +fr fr_kazer huro il is it na_dd na_dtv na_tvmedia nl no_gf pt_meo se_swedb +se_tvzon tr uk_bleb uk_tvguide tv_check tv_combiner tv_pick_cgi zz_sdjson" + +# 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 + +RDEPEND=">=dev-perl/libwww-perl-5.65 + >=dev-perl/XML-Parser-2.34 + >=dev-perl/XML-Twig-3.10 + >=dev-perl/Date-Manip-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 + virtual/perl-IO-Compress + dev-perl/Unicode-String + dev-perl/TermReadKey + dev-perl/File-Slurp + >=dev-lang/perl-5.6.1 + dev-perl/XML-LibXML + dev-perl/XML-TreePP +" +DEPEND="${RDEPEND} + ar? ( dev-perl/HTML-Tree >=dev-perl/HTML-Parser-3.34 dev-perl/HTTP-Cookies dev-perl/TimeDate ) + ch_search? ( dev-perl/HTML-Tree >=dev-perl/HTML-Parser-3.34 ) + dk? ( dev-perl/JSON dev-perl/IO-stringy dev-perl/DateTime ) + dtvla? ( dev-perl/HTML-Tree dev-perl/HTTP-Cookies dev-perl/TimeDate ) + es_laguiatv? ( dev-perl/HTML-Tree ) + eu_dotmedia? ( dev-perl/XML-LibXML dev-perl/IO-stringy dev-perl/HTTP-Cache-Transparent ) + eu_epg? ( dev-perl/Archive-Zip dev-perl/DateTime-Format-Strptime >=dev-perl/HTML-Parser-3.34 dev-perl/IO-stringy ) + fi? ( dev-perl/HTML-Tree ) + fi_sv? ( dev-perl/IO-stringy dev-perl/HTML-Tree dev-perl/DateTime ) + fr? ( dev-perl/DateTime-TimeZone dev-perl/HTML-Tree dev-perl/DateTime >=dev-perl/HTML-Parser-3.34 ) + huro? ( dev-perl/HTML-Tree ) + is? ( dev-perl/XML-DOM dev-perl/XML-LibXSLT ) + na_dd? ( dev-perl/SOAP-Lite ) + na_dtv? ( >=dev-perl/HTML-Parser-3.34 dev-perl/DateTime dev-perl/HTTP-Cookies ) + na_tvmedia? ( dev-perl/XML-LibXML ) + nl? ( dev-perl/HTTP-Cache-Transparent dev-perl/HTML-Tree dev-perl/DateTime >=dev-perl/HTML-Parser-3.34 dev-perl/TimeDate ) + pt_meo? ( dev-perl/XML-LibXML dev-perl/DateTime ) + se_swedb? ( dev-perl/XML-LibXML dev-perl/IO-stringy dev-perl/HTTP-Cache-Transparent ) + se_tvzon? ( dev-perl/XML-LibXML dev-perl/IO-stringy dev-perl/HTTP-Cache-Transparent ) + tr? ( dev-perl/URI dev-perl/HTTP-Cache-Transparent dev-perl/DateTime dev-perl/HTTP-Cookies dev-perl/TimeDate ) + uk_bleb? ( dev-perl/IO-stringy dev-perl/Archive-Zip ) + uk_tvguide? ( dev-perl/HTML-Tree dev-perl/URI dev-perl/HTTP-Cache-Transparent dev-perl/DateTime dev-perl/TimeDate ) + zz_sdjson? ( dev-perl/DateTime-Format-ISO8601 virtual/perl-Digest-SHA dev-perl/JSON dev-perl/List-MoreUtils dev-perl/libwww-perl virtual/perl-Storable dev-perl/Try-Tiny ) + tv_check? ( dev-perl/Tk dev-perl/Tk-TableMatrix ) + tv_combiner? ( dev-perl/XML-LibXML ) +" + +PREFIX="/usr" + +pkg_setup() { + # Uses Data::Manip in various places which can fail + # if TZ is still set to Factory as it is in stock gentoo + # install media + export TZ=UTC +} + +src_prepare() { + default + + sed -i \ + -e "s:\$VERSION = '${PV}':\$VERSION = '${PVR}':" \ + -e "/^@docs/s:doc/COPYING ::" \ + Makefile.PL || die +} + +src_configure() { + make_config() { + # Never except default configuration + echo "no" + + # Enable Agentina + usex ar + # Enable Switzerland Search + usex ch_search + # Enable Denmark + usex dk + # Enable Latin America + usex dtvla + # Enable Spain + usex es_laguiatv + # Enable EU xmltv.se + usex eu_dotmedia + # Enable EU epgdata.com + usex eu_epg + # Enable Finland + usex fi + # Enable Swedish listings in Finland + usex fi_sv + # Enable France + usex fr + # Enable France EPG from kazer.org + usex fr_kazer + # Enable Hungary and Romania + usex huro + # Enable Israel + usex il + # Enable Iceland + usex is + # Enable Italy + usex it + # Enable Italy from DVB-S stream + echo "no" # missing Linux::DVB + # Enable North America using DataDirect + usex na_dd + # Enable North America from directv.com + usex na_dtv + # Enable North America XMLTVListings.com + usex na_tvmedia + # Enable Netherlands + usex nl + # Enable Portugal EPG from sappo.pt + usex pt_meo + # Enable Sweden + usex se_swedb + # Enable Sweeden Alternative + usex se_tvzon + # Enable Turkey + usex tr + # Enable UK fast alternative grabber + usex uk_bleb + # Enable UK/Ireland TV Guide + usex uk_tvguide + # Enable Schedules Direct JSON + usex zz_sdjson + # Enable Schedules Direct JSON (SQLite version) + echo "no" # TODO + # Enable GUI checking. + usex tv_check + # Enable combiner + usex tv_combiner + # Enable CGI support + usex tv_pick_cgi + } + + pm_echovar=`make_config` + perl-module_src_configure +} + +src_install() { + # actually make test should be unneeded, but if non na grabbers + # start to not install remove comment below + #make test + #make + + # to bypass build issue + #make DESTDIR=${D} install || die "error installing" + + perl-module_src_install + + for i in $(grep -rl "${D}" "${D}"); do + sed -e "s:${D}::g" -i "${i}" || die + done + + if use tv_pick_cgi; then + dobin choose/tv_pick/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 +} |