commit:     3f38b9c5a0536d3b1effe0af621e28b1dfe11da4
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  4 22:28:48 2017 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Dec  4 22:28:48 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f38b9c5

media-tv/tvheadend: Drop old 4.0.9

Closes: https://bugs.gentoo.org/595032
Closes: https://bugs.gentoo.org/596930
Closes: https://bugs.gentoo.org/633966
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 media-tv/tvheadend/Manifest                        |   2 -
 .../files/tvheadend-4.0.9-hdhomerun-include.patch  |  27 -----
 media-tv/tvheadend/metadata.xml                    |   1 -
 media-tv/tvheadend/tvheadend-4.0.9.ebuild          | 117 ---------------------
 4 files changed, 147 deletions(-)

diff --git a/media-tv/tvheadend/Manifest b/media-tv/tvheadend/Manifest
index 7d3e91d7b72..37bd4a7dfce 100644
--- a/media-tv/tvheadend/Manifest
+++ b/media-tv/tvheadend/Manifest
@@ -1,3 +1 @@
-DIST dtv-scan-tables-2015-02-08-f2053b3.tar.bz2 123415 BLAKE2B 
569987bc91f2060e5bb18b5caf35baebe1e72d95953bc69e19a713b33521668550f04dfc7ba125e3cf5ba6badee5a80c5bcdd37e2a5ca086d5dcc29cb0031c16
 SHA512 
aedf0429c2ec0a4692e19c0b4ae1e8c063a5a0fb8695359aa8f716a7f40fd88435ed8b1d2aec2461de3f49b533d6cd012c2a54d06058a5291781da4adf82d609
-DIST tvheadend-4.0.9.tar.gz 15825419 BLAKE2B 
b719032e46df24f37614c4a9d1da690b82f15906b1cff7eaa9573162a08e70e2813515972a9dd478530ad4ba984b01dd3fb3bf178e1c3973465000357b541f7e
 SHA512 
ba8c6edcef126c6a260a9251b0948747074061c8f16fb20f03b250c6698645172c9396530b7fa44bf9cf4d8305fcece08c672c812ba6c48211edfbb2691fb58e
 DIST tvheadend-4.2.4.tar.gz 21526564 BLAKE2B 
19c571bb253041bd122306eaa516071d096d747b03eaf623b45b79fc0511633a75f1a0925a890207c994da001a2ba3404d1860b91236adae34e307bcf8c57796
 SHA512 
333a3509da198f5d96316f30fd010a216262315614db302c83405de78d29b32b1d878c0abd7fae2214713107e6955478ee3222b18888a84c57810035af882df4

diff --git a/media-tv/tvheadend/files/tvheadend-4.0.9-hdhomerun-include.patch 
b/media-tv/tvheadend/files/tvheadend-4.0.9-hdhomerun-include.patch
deleted file mode 100644
index 8a0768fa6f0..00000000000
--- a/media-tv/tvheadend/files/tvheadend-4.0.9-hdhomerun-include.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff --git a/configure b/configure
-index 47d2cf2..6f9fcc5 100755
---- a/configure
-+++ b/configure
-@@ -290,7 +290,7 @@ if enabled hdhomerun_static; then
- else
- 
-   if enabled_or_auto hdhomerun_client; then
--    if check_cc_header 'libhdhomerun/hdhomerun' libhdhomerun; then
-+    if check_cc_header 'hdhomerun/hdhomerun' libhdhomerun; then
-       enable  hdhomerun_client
-       LDFLAGS="$LDFLAGS -lhdhomerun"
-     fi
-diff --git a/src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h 
b/src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h
-index 962627a..6d1c52b 100644
---- a/src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h
-+++ b/src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h
-@@ -24,7 +24,8 @@
- #include "htsbuf.h"
- #include "tvhdhomerun.h"
- 
--#include <libhdhomerun/hdhomerun.h>
-+#include <hdhomerun/hdhomerun.h>
-+#include <hdhomerun/hdhomerun_debug.h>
- 
- typedef struct tvhdhomerun_device_info tvhdhomerun_device_info_t;
- typedef struct tvhdhomerun_device      tvhdhomerun_device_t;

diff --git a/media-tv/tvheadend/metadata.xml b/media-tv/tvheadend/metadata.xml
index f8bdade2268..ad28ad1f4b6 100644
--- a/media-tv/tvheadend/metadata.xml
+++ b/media-tv/tvheadend/metadata.xml
@@ -10,7 +10,6 @@
                <flag name="constcw">Enable support for the constcw 
protocol</flag>
                <flag name="cwc">Enable support for the cwc (newcamd) 
protocol</flag>
                <flag name="dvbcsa">Enable decryption of the DVB Common 
Scrambling Algorithm</flag>
-               <flag name="dvbscan">Use scan tables from dtv-scan-tables git 
repository</flag>
                <flag name="dvben50221">Enable support for hardware CAM</flag>
                <flag name="hdhomerun">Enable support for the HDHomeRun 
device</flag>
                <flag name="imagecache">Enable support for image caching</flag>

diff --git a/media-tv/tvheadend/tvheadend-4.0.9.ebuild 
b/media-tv/tvheadend/tvheadend-4.0.9.ebuild
deleted file mode 100644
index d3627e8f13c..00000000000
--- a/media-tv/tvheadend/tvheadend-4.0.9.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils linux-info systemd toolchain-funcs user
-
-DTV_SCAN_TABLES_VERSION="2015-02-08-f2053b3"
-
-DESCRIPTION="Tvheadend is a TV streaming server and digital video recorder"
-HOMEPAGE="https://tvheadend.org/";
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
-               dvbscan? ( 
https://linuxtv.org/downloads/dtv-scan-tables/dtv-scan-tables-${DTV_SCAN_TABLES_VERSION}.tar.bz2
 )"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="capmt constcw +cwc dbus +dvb +dvbscan ffmpeg hdhomerun libav imagecache 
inotify iptv satip +timeshift uriparser xmltv zeroconf zlib"
-
-# does not build with ffmpeg-3 - bug 574990
-# https://tvheadend.org/issues/3597
-RDEPEND="dev-libs/openssl:=
-       virtual/libiconv
-       dbus? ( sys-apps/dbus )
-       ffmpeg? (
-               !libav? ( <media-video/ffmpeg-3:= )
-               libav? ( media-video/libav:= )
-       )
-       hdhomerun? ( media-libs/libhdhomerun )
-       uriparser? ( dev-libs/uriparser )
-       zeroconf? ( net-dns/avahi )
-       zlib? ( sys-libs/zlib )"
-
-DEPEND="${RDEPEND}
-       dvb? ( virtual/linuxtv-dvb-headers )
-       capmt? ( virtual/linuxtv-dvb-headers )
-       virtual/pkgconfig"
-
-RDEPEND+="
-       xmltv? ( media-tv/xmltv )"
-
-CONFIG_CHECK="~INOTIFY_USER"
-
-DOCS=( README.md )
-PATCHES=( "${FILESDIR}/${P}-hdhomerun-include.patch" )
-
-src_unpack() {
-       unpack "${P}.tar.gz"
-
-       if use dvbscan; then
-               mkdir "${S}/data/dvb-scan" || die
-               cd "${T}" || die
-               unpack dtv-scan-tables-${DTV_SCAN_TABLES_VERSION}.tar.bz2
-               rmdir "${S}/data/dvb-scan" || die
-               mv "${T}/usr/share/dvb" "${S}/data/dvb-scan" || die
-
-               # This is needed to prevent make from removing files
-               touch "${S}/data/dvb-scan/.stamp" || die
-       fi
-}
-
-pkg_setup() {
-       enewuser tvheadend -1 -1 /dev/null video
-}
-
-src_configure() {
-       CC="$(tc-getCC)" \
-       econf --prefix="${EPREFIX}"/usr \
-               --datadir="${EPREFIX}"/usr/share \
-               --disable-ccache \
-               --nowerror \
-               --disable-hdhomerun_static \
-               $(use_enable capmt) \
-               $(use_enable constcw) \
-               $(use_enable cwc) \
-               $(use_enable dbus dbus_1) \
-               $(use_enable dvbscan) \
-               $(use_enable dvb linuxdvb) \
-               $(use_enable ffmpeg libav) \
-               $(use_enable hdhomerun hdhomerun_client) \
-               $(use_enable imagecache) \
-               $(use_enable inotify) \
-               $(use_enable iptv) \
-               $(use_enable satip satip_server) \
-               $(use_enable satip satip_client) \
-               $(use_enable timeshift) \
-               $(use_enable uriparser) \
-               $(use_enable zeroconf avahi) \
-               $(use_enable zlib)
-}
-
-src_compile() {
-       emake CC="$(tc-getCC)"
-}
-
-src_install() {
-       default
-
-       newinitd "${FILESDIR}/tvheadend.initd" tvheadend
-       newconfd "${FILESDIR}/tvheadend.confd" tvheadend
-
-       systemd_dounit "${FILESDIR}/tvheadend.service"
-
-       dodir /etc/tvheadend
-       fperms 0700 /etc/tvheadend
-       fowners tvheadend:video /etc/tvheadend
-}
-
-pkg_postinst() {
-       elog "The Tvheadend web interface can be reached at:"
-       elog "http://localhost:9981/";
-       elog
-       elog "Make sure that you change the default username"
-       elog "and password via the Configuration / Access control"
-       elog "tab in the web interface."
-}

Reply via email to