Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/tvheadend/
Date: Sun, 20 Jan 2019 15:31:20
Message-Id: 1547998264.82cad0512e17dc97ad55e9722664c4e822a7ac44.chewi@gentoo
1 commit: 82cad0512e17dc97ad55e9722664c4e822a7ac44
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 20 15:31:04 2019 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 20 15:31:04 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82cad051
7
8 media-tv/tvheadend: Drop old 4.2.7
9
10 Package-Manager: Portage-2.3.56, Repoman-2.3.12
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 media-tv/tvheadend/Manifest | 1 -
14 media-tv/tvheadend/tvheadend-4.2.7.ebuild | 120 ------------------------------
15 2 files changed, 121 deletions(-)
16
17 diff --git a/media-tv/tvheadend/Manifest b/media-tv/tvheadend/Manifest
18 index f1516f1c434..a4b0579a1fa 100644
19 --- a/media-tv/tvheadend/Manifest
20 +++ b/media-tv/tvheadend/Manifest
21 @@ -1,2 +1 @@
22 -DIST tvheadend-4.2.7.tar.gz 21815613 BLAKE2B 2a90801189901c8129209d9157fbca826e5e46c2641aa08676a44f3076f4dd82c7732e188e87835ce22b19aedea96b8c816733998241a213904c9f9aff1a2537 SHA512 14dd4f452a785359614e2dfe3c210543e0bddf011b8bb994a282cfcff3f3e2573e48636e4c778c7fea39c01318053211e674911fcec3ad5f7b536bdd9e5f5aa9
23 DIST tvheadend-4.2.8.tar.gz 21875281 BLAKE2B fdd99ca6aff56f8daa073394f9c58e9cba4ea988a2884e24c2288fd4870dd0460624fb700838ba92867a57473cc4133fed5fbd56f0e40f02a0878ffcd0642c00 SHA512 e629ffe1802e76b5121d5c22d11be86640f17816a5e902ed4842b2fd21df506d00d9caebafd931d71995e9d9049cb675c032478c9bed4f1ce82fc3f255f6166f
24
25 diff --git a/media-tv/tvheadend/tvheadend-4.2.7.ebuild b/media-tv/tvheadend/tvheadend-4.2.7.ebuild
26 deleted file mode 100644
27 index 604b181ffec..00000000000
28 --- a/media-tv/tvheadend/tvheadend-4.2.7.ebuild
29 +++ /dev/null
30 @@ -1,120 +0,0 @@
31 -# Copyright 1999-2019 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit linux-info systemd toolchain-funcs user
37 -
38 -DESCRIPTION="Tvheadend is a TV streaming server and digital video recorder"
39 -HOMEPAGE="https://tvheadend.org/"
40 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 -
42 -LICENSE="GPL-3"
43 -SLOT="0"
44 -KEYWORDS="~amd64 ~arm ~x86"
45 -
46 -IUSE="+capmt +constcw +cwc dbus debug dvbcsa dvben50221 +dvb +ffmpeg hdhomerun +imagecache +inotify iptv libressl satip systemd +timeshift uriparser xmltv zeroconf zlib"
47 -
48 -BDEPEND="
49 - sys-devel/gettext
50 - virtual/pkgconfig"
51 -
52 -RDEPEND="
53 - virtual/libiconv
54 - dbus? ( sys-apps/dbus )
55 - dvbcsa? ( media-libs/libdvbcsa )
56 - dvben50221? ( media-tv/linuxtv-dvb-apps )
57 - ffmpeg? ( media-video/ffmpeg:0/55.57.57 )
58 - hdhomerun? ( media-libs/libhdhomerun )
59 - !libressl? ( dev-libs/openssl:0= )
60 - libressl? ( dev-libs/libressl:= )
61 - uriparser? ( dev-libs/uriparser )
62 - zeroconf? ( net-dns/avahi )
63 - zlib? ( sys-libs/zlib )"
64 -
65 -DEPEND="
66 - ${RDEPEND}
67 - dvb? ( virtual/linuxtv-dvb-headers )"
68 -
69 -RDEPEND+="
70 - dvb? ( media-tv/dtv-scan-tables )
71 - xmltv? ( media-tv/xmltv )"
72 -
73 -REQUIRED_USE="dvbcsa? ( || ( capmt constcw cwc dvben50221 ) )"
74 -
75 -# Some patches from:
76 -# https://github.com/rpmfusion/tvheadend
77 -
78 -PATCHES=(
79 - "${FILESDIR}"/${PN}-4.0.9-use_system_queue.patch
80 - "${FILESDIR}"/${PN}-4.2.1-hdhomerun.patch
81 - "${FILESDIR}"/${PN}-4.2.2-dtv_scan_tables.patch
82 -)
83 -
84 -DOCS=( README.md )
85 -
86 -pkg_setup() {
87 - use inotify &&
88 - CONFIG_CHECK="~INOTIFY_USER" linux-info_pkg_setup
89 -
90 - enewuser tvheadend -1 -1 /etc/tvheadend video
91 -}
92 -
93 -src_configure() {
94 - CC="$(tc-getCC)" \
95 - PKG_CONFIG="${CHOST}-pkg-config" \
96 - econf \
97 - --disable-bundle \
98 - --disable-ccache \
99 - --disable-dvbscan \
100 - --disable-ffmpeg_static \
101 - --disable-hdhomerun_static \
102 - --nowerror \
103 - $(use_enable capmt) \
104 - $(use_enable constcw) \
105 - $(use_enable cwc) \
106 - $(use_enable dbus dbus_1) \
107 - $(use_enable debug trace) \
108 - $(use_enable dvb linuxdvb) \
109 - $(use_enable dvbcsa) \
110 - $(use_enable dvben50221) \
111 - $(use_enable ffmpeg libav) \
112 - $(use_enable hdhomerun hdhomerun_client) \
113 - $(use_enable imagecache) \
114 - $(use_enable inotify) \
115 - $(use_enable iptv) \
116 - $(use_enable satip satip_server) \
117 - $(use_enable satip satip_client) \
118 - $(use_enable systemd libsystemd_daemon) \
119 - $(use_enable timeshift) \
120 - $(use_enable uriparser) \
121 - $(use_enable zeroconf avahi) \
122 - $(use_enable zlib)
123 -}
124 -
125 -src_compile() {
126 - emake CC="$(tc-getCC)"
127 -}
128 -
129 -src_install() {
130 - default
131 -
132 - newinitd "${FILESDIR}"/tvheadend.initd tvheadend
133 - newconfd "${FILESDIR}"/tvheadend.confd tvheadend
134 -
135 - use systemd &&
136 - systemd_dounit "${FILESDIR}"/tvheadend.service
137 -
138 - dodir /etc/tvheadend
139 - fperms 0700 /etc/tvheadend
140 - fowners tvheadend:video /etc/tvheadend
141 -}
142 -
143 -pkg_postinst() {
144 - elog "The Tvheadend web interface can be reached at:"
145 - elog "http://localhost:9981/"
146 - elog
147 - elog "Make sure that you change the default username"
148 - elog "and password via the Configuration / Access control"
149 - elog "tab in the web interface."
150 -}