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