diff options
author | Wilson Michaels <thebitpit@earthlink.net> | 2020-04-07 15:42:09 -0500 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-05-04 19:24:46 +0300 |
commit | 6a3e6d5426597d353dd6c57b1f6649e654d2e739 (patch) | |
tree | 588150ef831484ddae07d0c64917e060d62ee09b /media-tv | |
parent | sys-kernel/bliss-kernel-bin: removing 5.5.2 (diff) | |
download | gentoo-6a3e6d5426597d353dd6c57b1f6649e654d2e739.tar.gz gentoo-6a3e6d5426597d353dd6c57b1f6649e654d2e739.tar.bz2 gentoo-6a3e6d5426597d353dd6c57b1f6649e654d2e739.zip |
media-tv/xmltv: Bump version 0.6.1
Bug: https://bugs.gentoo.org/716512
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Wilson Michaels <thebitpit@earthlink.net>
Closes: https://github.com/gentoo/gentoo/pull/15275
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/xmltv/Manifest | 1 | ||||
-rw-r--r-- | media-tv/xmltv/metadata.xml | 21 | ||||
-rw-r--r-- | media-tv/xmltv/xmltv-0.6.1.ebuild | 285 |
3 files changed, 302 insertions, 5 deletions
diff --git a/media-tv/xmltv/Manifest b/media-tv/xmltv/Manifest index fcf1acba6374..09547613c2b1 100644 --- a/media-tv/xmltv/Manifest +++ b/media-tv/xmltv/Manifest @@ -1 +1,2 @@ DIST xmltv-0.5.70.tar.bz2 1274164 BLAKE2B 4a6cbf6bc2f8f113a91fc579afbfc69fc04aec020d386182f6fd78f9f8c18821d0dc09077cccb1ad30e6f0583f958210fbf717d356f1e47dcf785e5a85864dc4 SHA512 36dd497dc20d296ca984ad0a1ca19f471c97cac7bfe7c5d4baeaae7faea565c36103bea10e7a7ae813c1cfc35c7ac376299edd2bf01c4c5da981cb5cca13317c +DIST xmltv-0.6.1.tar.gz 838051 BLAKE2B d4011ee31b56096ae275647e0cbd85b11c2edbc3d150208aa619900c9741ac3bed2a1255d778622883b3d24a32ce3b803f5719fdd2273549bafa31ebdcb1a887 SHA512 137dad875c6f7f77fb986b4662b411766424676df0a2422f3dc123c8cec4e1dff123ea68577add65c0e5bcf2d0bdf89d7fba0ed423502ec27e2aa82ec6b10bc2 diff --git a/media-tv/xmltv/metadata.xml b/media-tv/xmltv/metadata.xml index c1cc93bee800..92e9a4fd8f98 100644 --- a/media-tv/xmltv/metadata.xml +++ b/media-tv/xmltv/metadata.xml @@ -1,7 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>thebitpit@earthlink.net</email> + <name>Wilson Michaels</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> <use> <flag name="ar">Argentina tv listing grabber</flag> <flag name="ch-search">Grabber for Switzerland</flag> @@ -10,20 +17,23 @@ <flag name="es-laguiatv">Spain alternative grabber</flag> <flag name="eu-dotmedia">Grabber for Europe (xmltv.se / dotmedia)</flag> <flag name="eu-epg">EPG grabber for some European countries.</flag> - <flag name="fi">Finland tv listing grabber</flag> + <flag name="eu-epgdata">include fanart URLs for some European countries.</flag> + <flag name="eu-xmltvse">Grabbber for Europe [replaces eu-dotmedia and se-tvzon]</flag> + <flag name="fi">Finland tv listing grabber (0.6.1 add ampparit telsu)</flag> <flag name="fi-sv">Grabber for Finland (Swedish)</flag> <flag name="fr">France tv listing grabber</flag> <flag name="fr-kazer">France (Kazer) tv listing grabber</flag> <flag name="huro">Hungarian tv listing grabber</flag> <flag name="il">Israel tv listing grabber</flag> <flag name="is">Iceland tv listing grabber</flag> - <flag name="it">Italy tv listing grabber</flag> + <flag name="it">Italy tv listing grabber (RUV)</flag> <flag name="na-dd">North America tv listing grabber</flag> <flag name="na-dtv">North America Direct TV grabber</flag> <flag name="na-tvmedia">Grabber for North America (TVMedia)</flag> - <flag name="nl">Netherlands tv listing grabber</flag> + <flag name="nl">Netherlands tv listing grabber [REMOVED 0.6.1]</flag> <flag name="no-gf">Norway Gfeed tv listing grabber</flag> <flag name="pt-meo">Grabber for Portugal (MEO)</flag> + <flag name="pt-vodafone">Grabber for Portugal (Vodafone)</flag> <flag name="se-swedb">Sweden tv listing grabber</flag> <flag name="se-tvzon">Sweden (tvzon.se) tv listing grabber</flag> <flag name="tr">Turkey (Digiturk) tv listing grabber</flag> @@ -33,9 +43,10 @@ <flag name="uk-bleb">Britain tv listing grabber</flag> <flag name="uk-tvguide">UK and Ireland tv listing grabber using TV Guide website</flag> <flag name="zz-sdjson">Grabber for schedulesDirect.org SD-JSON service (many countries)</flag> + <flag name="zz-sdjson-sqlite">Grabber for schedulesDirect.org SD-JSON service (sqlite DB)</flag> </use> <upstream> - <remote-id type="sourceforge">xmltv</remote-id> + <remote-id type="github">XMLTV/xmltv</remote-id> </upstream> </pkgmetadata> diff --git a/media-tv/xmltv/xmltv-0.6.1.ebuild b/media-tv/xmltv/xmltv-0.6.1.ebuild new file mode 100644 index 000000000000..e7906a788a68 --- /dev/null +++ b/media-tv/xmltv/xmltv-0.6.1.ebuild @@ -0,0 +1,285 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit perl-module + +DESCRIPTION="Set of utilities to manage TV listings stored in the XMLTV format" +HOMEPAGE="http://wiki.xmltv.org/index.php/XMLTVProject https://github.com/XMLTV/xmltv" +SRC_URI="https://github.com/XMLTV/xmltv/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-linux" + +IUSE="ar ch-search dk dtvla eu-dotmedia eu-epgdata eu-xmltvse fi fi-sv fr +huro il is it na-dd na-dtv na-tvmedia pt-meo pt-vodafone se-swedb se-tvzon tr +tv-check tv-combiner tv-pick-cgi uk-bleb uk-tvguide zz-sdjson zz-sdjson-sqlite" + +RDEPEND=" + dev-lang/perl + dev-perl/Date-Manip + dev-perl/File-Slurp + dev-perl/JSON + dev-perl/libwww-perl + dev-perl/Lingua-Preferred + dev-perl/PerlIO-gzip + dev-perl/Term-ProgressBar + dev-perl/TermReadKey + dev-perl/XML-Parser + dev-perl/XML-TreePP + dev-perl/XML-Twig + dev-perl/XML-Writer + dev-perl/Unicode-String + virtual/perl-Memoize + virtual/perl-Storable + virtual/perl-IO-Compress + ar? ( + dev-perl/DateTime + dev-perl/HTML-Parser + dev-perl/HTML-Tree + dev-perl/HTTP-Cookies + ) + ch-search? ( + dev-perl/HTML-Tree + dev-perl/HTML-Parser + dev-perl/HTTP-Cookies + dev-perl/URI + ) + dk? ( + dev-perl/DateTime + dev-perl/IO-stringy + ) + dtvla? ( + dev-perl/DateTime + dev-perl/HTML-Parser + dev-perl/HTML-Tree + dev-perl/HTTP-Cookies + ) + eu-dotmedia? ( + dev-perl/HTTP-Cache-Transparent + dev-perl/IO-stringy + ) + eu-epgdata? ( + dev-perl/Archive-Zip + dev-perl/DateTime + dev-perl/DateTime-Format-Strptime + dev-perl/HTML-Parser + dev-perl/HTTP-Message + ) + eu-xmltvse? ( + dev-perl/HTTP-Cache-Transparent + dev-perl/IO-stringy + ) + fi? ( + dev-perl/HTML-Tree + dev-perl/LWP-Protocol-https + dev-perl/URI + ) + fi-sv? ( + dev-perl/DateTime + dev-perl/HTML-Tree + dev-perl/IO-stringy + ) + fr? ( + dev-perl/DateTime + dev-perl/DateTime-TimeZone + dev-perl/HTML-Parser + dev-perl/HTML-Tree + ) + huro? ( + dev-perl/HTML-Parser + dev-perl/HTML-Tree + ) + il? ( dev-perl/DateTime ) + is? ( + dev-perl/HTML-Parser + dev-perl/HTML-Tree + dev-perl/URI + dev-perl/XML-DOM + dev-perl/XML-LibXSLT + ) + it? ( + dev-perl/HTML-Parser + dev-perl/HTML-Tree + dev-perl/URI + ) + na-dd? ( dev-perl/SOAP-Lite ) + na-dtv? ( + dev-perl/DateTime + dev-perl/HTTP-Cookies + dev-perl/URI + ) + na-tvmedia? ( dev-perl/XML-LibXML ) + pt-meo? ( + dev-perl/DateTime + dev-perl/XML-LibXML + ) + pt-vodafone? ( + dev-perl/DateTime + dev-perl/URI + dev-perl/XML-LibXML + ) + se-swedb? ( + dev-perl/HTTP-Cache-Transparent + dev-perl/IO-stringy + dev-perl/XML-LibXML + ) + se-tvzon? ( + dev-perl/XML-LibXML + dev-perl/IO-stringy + dev-perl/HTTP-Cache-Transparent + ) + tr? ( + dev-perl/DateTime + dev-perl/HTTP-Cache-Transparent + dev-perl/HTTP-Cookies + dev-perl/URI + ) + uk-bleb? ( + dev-perl/Archive-Zip + dev-perl/IO-stringy + ) + uk-tvguide? ( + dev-perl/DateTime + dev-perl/HTML-Tree + dev-perl/HTTP-Cache-Transparent + dev-perl/HTTP-Cookies + dev-perl/URI + ) + zz-sdjson? ( + dev-lang/perl + dev-perl/DateTime + virtual/perl-Digest-SHA + dev-perl/HTTP-Message + dev-perl/LWP-Protocol-https + dev-perl/Try-Tiny + ) + zz-sdjson-sqlite? ( + dev-lang/perl + dev-perl/DateTime + dev-perl/DateTime-Format-ISO8601 + dev-perl/DateTime-Format-SQLite + dev-perl/DateTime-TimeZone + dev-perl/DBD-SQLite + dev-perl/DBI + virtual/perl-Digest-SHA + dev-perl/File-HomeDir + dev-perl/File-Which + dev-perl/List-MoreUtils + dev-perl/LWP-UserAgent-Determined + ) + tv-check? ( + dev-perl/Tk + dev-perl/Tk-TableMatrix + ) + tv-combiner? ( dev-perl/XML-LibXML ) + tv-pick-cgi? ( dev-perl/CGI ) +" + +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 + # Add revision number to version info. + # Remove the doc/COPYING file from documentation. + sed -i \ + -e "s:\$VERSION = '${PV}':\$VERSION = '${PVR}':" \ + -e "/^@docs/s:doc/COPYING ::" \ + Makefile.PL || die +} + +src_configure() { + # Must match the order of elements in @opt_components in Makefile.PL + 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 Europe (DEPRECATED, xmltv.se / dotmedia) + usex eu-dotmedia + # Enable EU epgdata.com including fanart + usex eu-epgdata + # Enable Europe (xmltv.se / xmltvse) + usex eu-xmltvse + # Enable Finland + usex fi + # Enable Swedish listings in Finland + usex fi-sv + # Enable France + usex fr + # 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 Portugal EPG from sappo.pt + usex pt-meo + # Enable Portugal EPG from Vodafone + usex pt-vodafone + # Enable Sweden + usex se-swedb + # Enable Sweeden Alternative (Repace with eu_xmltvse) + 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) + usex zz-sdjson-sqlite + # rules to improve episode numbering + 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() { + perl-module_src_install + + 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 +} |