summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-06-26 17:12:23 +0200
committerMichał Górny <mgorny@gentoo.org>2016-06-26 17:12:23 +0200
commitb2fc2e7e87c4cff7b8acf5f9b720db6b538b3175 (patch)
treea8dc64b5b76b3796951bd47679a277ddeafa0599 /media-tv
parentdev-perl/Gtk2-WebKit: Remove last rited packages (diff)
downloadgentoo-b2fc2e7e87c4cff7b8acf5f9b720db6b538b3175.tar.gz
gentoo-b2fc2e7e87c4cff7b8acf5f9b720db6b538b3175.tar.bz2
gentoo-b2fc2e7e87c4cff7b8acf5f9b720db6b538b3175.zip
media-tv/tvmovie2vdr: Remove last rited packages
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/tvmovie2vdr/Manifest1
-rw-r--r--media-tv/tvmovie2vdr/metadata.xml8
-rw-r--r--media-tv/tvmovie2vdr/tvmovie2vdr-0.5.13.ebuild109
3 files changed, 0 insertions, 118 deletions
diff --git a/media-tv/tvmovie2vdr/Manifest b/media-tv/tvmovie2vdr/Manifest
deleted file mode 100644
index 9a2a14e8c721..000000000000
--- a/media-tv/tvmovie2vdr/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST tvmovie2vdr-0.5.13.tar.gz 214932 SHA256 26952547e0c75b278b1cf928c91d2fdf7e895d60f7c429e287be443896cc0b05 SHA512 7f81046e48fe1d232c6aeaa7907c27219c68a4ebd06b573ad5d78e1559237368af8d51e73c463070d18692a2fb54a54b817cda76b0d8f38e1ec47f83bc713f80 WHIRLPOOL a7bfae037f1776227622430a80ab2fbdc12a795f3f95dbce88e6787300b35ff30cff03526ccc6ae3b074e0fc2e5b47eb576c8c999ff8794c9cdc16558879e67a
diff --git a/media-tv/tvmovie2vdr/metadata.xml b/media-tv/tvmovie2vdr/metadata.xml
deleted file mode 100644
index 984a01fab265..000000000000
--- a/media-tv/tvmovie2vdr/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>vdr@gentoo.org</email>
- <name>Gentoo VDR Project</name>
- </maintainer>
-</pkgmetadata>
diff --git a/media-tv/tvmovie2vdr/tvmovie2vdr-0.5.13.ebuild b/media-tv/tvmovie2vdr/tvmovie2vdr-0.5.13.ebuild
deleted file mode 100644
index 703fe5e41741..000000000000
--- a/media-tv/tvmovie2vdr/tvmovie2vdr-0.5.13.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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="https://wiki.gentoo.org/wiki/No_homepage"
-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/Date-Manip-5.42a-r1
- >=virtual/perl-IO-Compress-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/Date-Manip
- dev-perl/XML-Simple-DTDReader"
-
-src_compile() {
- # change default downloadpath in config
- sed -i config/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 tvinfomerk2vdr clearoldtimer \
- -e 's:push (@INC, "./config");: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 channels.pl channels_vps_wanted.pl channels_wanted.pl config.pl; do
- newins "config/${c}_dist" "${c}"
- done
-
- # include files - helpers for different providers
- insinto "${SHARE_DIR}/inc"
- doins inc/*
-
- exeinto "${SHARE_DIR}/contrib"
- doexe ./contrib/*
- doexe clearoldtimer getinfosat tvm2vdr.sh
-
- # install main binaries
- dobin tvinfomerk2vdr
- dobin tvm2vdr
-
- # 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}" "${D}/var/vdr/epgimages"
-
- # 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"
-
- eerror "The executable name of tvmovie2vdr changed!"
- eerror "Old name was tvm2vdr.pl, new is: tvm2vdr"
- eerror "Please change name in your cron-job!"
- eerror
-
- elog "You have to configure the following files:"
- elog "\t${CONF_DIR}/config.pl"
- elog "\t${CONF_DIR}/channels_wanted.pl"
- elog
- elog "It's a good idea to add the following to /etc/crontab:"
- elog "\t3 5 * * * vdr /usr/bin/tvinfomerk2vdr"
- elog "\t7 5 * * * vdr /usr/bin/tvm2vdr"
- 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
-}