summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-05-31 10:34:41 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-05-31 10:34:41 +0000
commit289e28d0e6f990d5641ca5288a1efd15a3fbd844 (patch)
treea8f1955cb17b873dd0bcd8aa13fe7567de86e940 /media-tv/tvmovie2vdr
parentInitial import of ebuild. Generated by g-cpan, dependency for tvmovie2vdr. (diff)
downloadgentoo-2-289e28d0e6f990d5641ca5288a1efd15a3fbd844.tar.gz
gentoo-2-289e28d0e6f990d5641ca5288a1efd15a3fbd844.tar.bz2
gentoo-2-289e28d0e6f990d5641ca5288a1efd15a3fbd844.zip
Initial import of ebuild. Based on the ebuild from gentoo.de.
(Portage version: 2.1.2.9)
Diffstat (limited to 'media-tv/tvmovie2vdr')
-rw-r--r--media-tv/tvmovie2vdr/ChangeLog10
-rw-r--r--media-tv/tvmovie2vdr/Manifest16
-rw-r--r--media-tv/tvmovie2vdr/files/digest-tvmovie2vdr-0.5.123
-rw-r--r--media-tv/tvmovie2vdr/metadata.xml10
-rw-r--r--media-tv/tvmovie2vdr/tvmovie2vdr-0.5.12.ebuild105
5 files changed, 144 insertions, 0 deletions
diff --git a/media-tv/tvmovie2vdr/ChangeLog b/media-tv/tvmovie2vdr/ChangeLog
new file mode 100644
index 000000000000..b7493f9262da
--- /dev/null
+++ b/media-tv/tvmovie2vdr/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-tv/tvmovie2vdr
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/tvmovie2vdr/ChangeLog,v 1.1 2007/05/31 10:34:41 zzam Exp $
+
+*tvmovie2vdr-0.5.12 (31 May 2007)
+
+ 31 May 2007; Matthias Schwarzott <zzam@gentoo.org> +metadata.xml,
+ +tvmovie2vdr-0.5.12.ebuild:
+ Initial import of ebuild. Based on the ebuild from gentoo.de.
+
diff --git a/media-tv/tvmovie2vdr/Manifest b/media-tv/tvmovie2vdr/Manifest
new file mode 100644
index 000000000000..e08f37dedaa8
--- /dev/null
+++ b/media-tv/tvmovie2vdr/Manifest
@@ -0,0 +1,16 @@
+DIST tvmovie2vdr-0.5.12.tar.gz 216884 RMD160 329cf617fb55e0703a8fdf8c9bcdb8cf002c2538 SHA1 0ca082091f8e79f22b57994efc9c297553939590 SHA256 fa4375ae36d15fea133ec7cf18a2409b9f33231cfc392bdbf60944a5c6564740
+EBUILD tvmovie2vdr-0.5.12.ebuild 3114 RMD160 c5f026595e5209cc7b1f24cd9dd7980dee7685fd SHA1 3e646000c27009c1cfd24604e3d423eddd67ca26 SHA256 de334072cf9a07fa3448c8a305846b156ca3f3015155d09c5f927e1bb40a905d
+MD5 4b81083a9ad18b59fda49a4d7cf93e70 tvmovie2vdr-0.5.12.ebuild 3114
+RMD160 c5f026595e5209cc7b1f24cd9dd7980dee7685fd tvmovie2vdr-0.5.12.ebuild 3114
+SHA256 de334072cf9a07fa3448c8a305846b156ca3f3015155d09c5f927e1bb40a905d tvmovie2vdr-0.5.12.ebuild 3114
+MISC ChangeLog 319 RMD160 c3d50b0c79c6e604c342c13901c1780cc8f73dc6 SHA1 1e1f6dc3795de5e816939ae75534fdd14f3a9892 SHA256 8c6093c8e6a1994cc207da8ec8964bfb0c8654718fdc13ccb1240f27cb1def6b
+MD5 684fc1f36c2ac23e032e27e636733922 ChangeLog 319
+RMD160 c3d50b0c79c6e604c342c13901c1780cc8f73dc6 ChangeLog 319
+SHA256 8c6093c8e6a1994cc207da8ec8964bfb0c8654718fdc13ccb1240f27cb1def6b ChangeLog 319
+MISC metadata.xml 258 RMD160 3978316b72989b0150dd21a2ba1f2449a158ebc9 SHA1 4ed083cc2156c1d9ea22136d69bcdd9da3d758b9 SHA256 1d6292676863287cee09b69ba35f3ea7546ed6718a3fea1d326deae735dadf64
+MD5 8ba67721f7ef0b4783a69038d2995113 metadata.xml 258
+RMD160 3978316b72989b0150dd21a2ba1f2449a158ebc9 metadata.xml 258
+SHA256 1d6292676863287cee09b69ba35f3ea7546ed6718a3fea1d326deae735dadf64 metadata.xml 258
+MD5 5db6754e1790dcf020475c1cf6fde4cd files/digest-tvmovie2vdr-0.5.12 256
+RMD160 a5e6574a508539ff1f8c303c378a538e872807b4 files/digest-tvmovie2vdr-0.5.12 256
+SHA256 bd56be7ebfbebb799e01c785e72bd7da00895a9bf0ac92f865f1262d4257391d files/digest-tvmovie2vdr-0.5.12 256
diff --git a/media-tv/tvmovie2vdr/files/digest-tvmovie2vdr-0.5.12 b/media-tv/tvmovie2vdr/files/digest-tvmovie2vdr-0.5.12
new file mode 100644
index 000000000000..e1082f19e368
--- /dev/null
+++ b/media-tv/tvmovie2vdr/files/digest-tvmovie2vdr-0.5.12
@@ -0,0 +1,3 @@
+MD5 a3022228e68ff1ddd935f3e3297f31ab tvmovie2vdr-0.5.12.tar.gz 216884
+RMD160 329cf617fb55e0703a8fdf8c9bcdb8cf002c2538 tvmovie2vdr-0.5.12.tar.gz 216884
+SHA256 fa4375ae36d15fea133ec7cf18a2409b9f33231cfc392bdbf60944a5c6564740 tvmovie2vdr-0.5.12.tar.gz 216884
diff --git a/media-tv/tvmovie2vdr/metadata.xml b/media-tv/tvmovie2vdr/metadata.xml
new file mode 100644
index 000000000000..b9c00d0c96fd
--- /dev/null
+++ b/media-tv/tvmovie2vdr/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>media-tv</herd>
+ <maintainer>
+ <email>vdr@gentoo.org</email>
+ <name>Gentoo VDR Project</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/media-tv/tvmovie2vdr/tvmovie2vdr-0.5.12.ebuild b/media-tv/tvmovie2vdr/tvmovie2vdr-0.5.12.ebuild
new file mode 100644
index 000000000000..b392e27c93c7
--- /dev/null
+++ b/media-tv/tvmovie2vdr/tvmovie2vdr-0.5.12.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/tvmovie2vdr/tvmovie2vdr-0.5.12.ebuild,v 1.1 2007/05/31 10:34:41 zzam Exp $
+
+inherit eutils
+
+VDR_CONF_DIR="/etc/vdr"
+VDR_VIDEO_DIR="/var/vdr/video"
+
+CONF_DIR="/etc/vdr/tvmovie2vdr"
+VAR_DIR="/var/vdr/tvmovie2vdr"
+SHARE_DIR="/usr/share/${PN}"
+
+DESCRIPTION="load the program guide from tvmovie and others to vdr"
+HOMEPAGE="http://steckrue.be/tvm2vdr/"
+SRC_URI="http://steckrue.be/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.2.0
+ >=dev-perl/DateManip-5.42a-r1
+ >=dev-perl/Compress-Zlib-1.22
+ >=dev-perl/Archive-Zip-1.14
+ >=dev-perl/Text-Iconv-1.4
+ >=dev-perl/libwww-perl-5.69-r2
+ >=dev-perl/HTML-Parser-3.34-r1
+ >=dev-perl/HTML-Scrubber-0.08
+ >=dev-perl/HTML-TableContentParser-0.13
+ >=dev-perl/XML-Simple-DTDReader-0.03
+ >=media-gfx/imagemagick-6.2.2.3
+ dev-perl/DateManip
+ dev-perl/XML-Simple-DTDReader"
+
+src_compile() {
+ # change default downloadpath in config
+ sed -i config.pl_dist \
+ -e "s:channelsfile = .*;:channelsfile = \"${VDR_CONF_DIR}/channels.conf\";:" \
+ -e "s:epgfile = .*;:epgfile = \"${VDR_VIDEO_DIR}/epg.data\";:" \
+ -e "s:downloadprefix = .*;:downloadprefix = \"${VAR_DIR}/downloadfiles/\";:" \
+ -e "s:updateprefix = .*;:updateprefix = \"${VAR_DIR}/downloadupdatefiles/\";:" \
+ -e "s:infosaturl=.*;:infosaturl=\"${VAR_DIR}/infosatepg\";:" \
+ -e 's:imagepath = .*;:imagepath = "/var/vdr/epgimages";:'
+
+ # set correct pathes to conf and include files
+ sed -i tvm2vdr.pl tvinfomerk2vdr.pl clearoldtimer.pl \
+ -e 's:push (@INC, "./");:push (@INC, "'${CONF_DIR}'");:' \
+ -e 's:push (@INC, "./inc");:push (@INC, "'${SHARE_DIR}/inc'");:' \
+ -e "s:contrib/:${SHARE_DIR}/contrib/:"
+}
+
+src_install() {
+ # config files
+ insinto "${CONF_DIR}"
+ local c
+ for c in *dist; do
+ newins "${c}" "${c%_dist}"
+ done
+
+ # include files - helpers for different providers
+ insinto "${SHARE_DIR}/inc"
+ doins inc/*.pl
+
+ exeinto "${SHARE_DIR}/contrib"
+ doexe ./contrib/*.pl
+ doexe clearoldtimer.pl getinfosat.sh tvm2vdr.sh
+
+ # install main binaries
+ dobin tvinfomerk2vdr.pl
+ dobin tvm2vdr.pl
+
+ # dirs to keep downloaded data in
+ keepdir "${VAR_DIR}/downloadfiles"
+ keepdir "${VAR_DIR}/downloadupdatefiles"
+ keepdir "/var/vdr/epgimages"
+ chown -R vdr:vdr "${D}/${VAR_DIR}"
+
+ # install documentation
+ dodoc HISTORY README tvm2vdr.sh
+}
+
+pkg_postinst() {
+ # cleanup old cruft
+ [ -L "${ROOT}/etc/vdr/tvmovie2vdr/files" ] \
+ && rm -f "${ROOT}/etc/vdr/tvmovie2vdr/files"
+
+ [ -L "${ROOT}/var/vdr/tvmovie2vdr/tvmovie2vdr" ] \
+ && rm -f "${ROOT}/var/vdr/tvmovie2vdr/tvmovie2vdr"
+
+
+ elog "You have to configure the following files:"
+ elog "\t${CONF_DIR}/config.pl"
+ elog "\t${CONF_DIR}/channels.pl"
+ elog
+ elog "It's a good idea to add the following to /etc/crontab:"
+ elog "\t3 5 * * * vdr /usr/bin/tvinfomerk2vdr.pl"
+ elog "\t7 5 * * * vdr /usr/bin/tvm2vdr.pl"
+ elog
+ elog "To delete old pictures you should run the following command with the tvmovie2vdr run:"
+ elog "\tfind /var/vdr/epgimages/ -type f -mtime +10 -exec rm {} \;"
+ elog "or see tvm2vdr.sh in /usr/share/tvmovie2vdr/contrib"
+ elog
+}