Removed tvheadend
This commit is contained in:
parent
42b4268f73
commit
bd62532f52
@ -1,7 +0,0 @@
|
||||
AUX tvheadend.confd 355 SHA256 1dd2bed597ccb84e59beae0ec130287f31a4cc2c2e974708462f08d8885b2e5e SHA512 64ae0cca1e1b46a3ecb2fb4a4ba69ad1dd6a72ce57944b44be28768d293f9cca2ab29067335023f384433e8c75d976fbc4610ca574c930b9891a2f1c75ff4c0b WHIRLPOOL 156a098daf40f42098e3c6862ef307784a882a7e80e269525d702fd17a458b479911c41a3017621cf55cbd96d281fad0de1e6e59b6bb0f0d729cf94d2384343a
|
||||
AUX tvheadend.initd 375 SHA256 696dee0e0959cd2358b5250f89a9faf8db95172e55658ec8827e7d4999d0114e SHA512 df6b66aef890f18f3fb21900b7015e2bd4f4d876fd68a04198a9424aca0d61dea5febf503609e90d0cc1e8a4fdf139cabcb5b0ab0064423aeb7c366e3607e392 WHIRLPOOL 1dc4bd1bcacc01ff6e72cc01f7305c86dffccecfe189345ab99045521e39ff09af75a39dec702033179a113d3785db5431e706a31684f9a37c2ac47475abe575
|
||||
AUX tvheadend.service 304 SHA256 e4ed1f5a50620773cbffff9a22d6ea06311965a6ce139eb8d9f67df10986aecd SHA512 96c61ef4082ecf77ca17a377de3698ae2a47c29519e02676a28d1d2813d5f43dfc3b29d8b91a126a7b8da5f38a8dc2cf13044dba285e22235e7782053041207f WHIRLPOOL 704fb969e5d954330e12c1d4cafa588738cfac4c65d2a234cb8d9a46180a9e33ead0532d94d94fce4efaac566859ec21e4d6f548c56b42a89b7a4f82733a5b53
|
||||
DIST dtv-scan-tables-2015-02-08-f2053b3.tar.bz2 123415 SHA256 83ed1b669009ef325e5d9ccb897e48b31e15e71e81bff442b3d0bbd650131c77 SHA512 aedf0429c2ec0a4692e19c0b4ae1e8c063a5a0fb8695359aa8f716a7f40fd88435ed8b1d2aec2461de3f49b533d6cd012c2a54d06058a5291781da4adf82d609 WHIRLPOOL afaef58cdf2ce1ca03c0a695dbf13192b544e3c5a0012cc70a55834d0b1034d509174684fd0fe3f2111becbe32aac16cad5d467adc278a4b6b16c7dbd384757f
|
||||
DIST tvheadend-4.0.9.tar.gz 15825419 SHA256 cea1106f45e286e8c25e6b2f0a581c28bd85e93ce3801ecaac7041568a214977 SHA512 ba8c6edcef126c6a260a9251b0948747074061c8f16fb20f03b250c6698645172c9396530b7fa44bf9cf4d8305fcece08c672c812ba6c48211edfbb2691fb58e WHIRLPOOL c0db6afa8d16201eab5fb188f81d062f84066037395f7e47e496d377e8207e2ffef021a58e07cba4af1217963fb2541b1822681fd33799113858329e9ff287bf
|
||||
EBUILD tvheadend-4.0.9.ebuild 3018 SHA256 07e8065248df131400eaae08cafbe3be52aff573cdbc81dad6c22ae580e96260 SHA512 6bd85e53da1070fcde826c2f11626372a2dddce9b3b501cae64efb84342384d56fa2718a609c769d2fe8fd795090c68eb183f94ed246f7bb7cf201117cca1bb7 WHIRLPOOL 950e20231acdfc69343fd395ee6b9e0a0e04cd4d30a8b536bdc1478f88dad97cddd0091ce9665d323950ee34c4dd140eb912e3b3f585e537dded59850d91e988
|
||||
MISC metadata.xml 1080 SHA256 e4eba5c862151ba15339d82a5722e402fd879d7d2517bf16ce4b0100d7963e53 SHA512 c73fe203e28350af2dc3d88fa9a8d4179d3171e4e07f24b7928abe4a4f95eca0c092b6eb2a0534e4b13045722da02cb691fe009669b683238978f14d5bf6e591 WHIRLPOOL 6dcfc45c179b926fa1d1629dc36df14736b793b72503aacae72507924ca086d930c464f455378ba2e5da76dac4d4af16169eaaba9ca21e1115ce6d58aa273bcc
|
@ -1,14 +0,0 @@
|
||||
# /etc/conf.d/tvheadend: config file for /etc/init.d/tvheadend
|
||||
# See the tvheadend(1) manpage for more info.
|
||||
|
||||
# Run Tvheadend as this user.
|
||||
TVHEADEND_USER="tvheadend"
|
||||
|
||||
# Run Tvheadend as this group.
|
||||
TVHEADEND_GROUP="video"
|
||||
|
||||
# Path to Tvheadend config.
|
||||
TVHEADEND_CONFIG="/etc/tvheadend"
|
||||
|
||||
# Other options you want to pass to Tvheadend.
|
||||
TVHEADEND_OPTIONS=""
|
@ -1,19 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting Tvheadend"
|
||||
start-stop-daemon --start --quiet --exec /usr/bin/tvheadend \
|
||||
-- -f -C -u ${TVHEADEND_USER} -g ${TVHEADEND_GROUP} \
|
||||
-c ${TVHEADEND_CONFIG} ${TVHEADEND_OPTIONS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Tvheadend"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/tvheadend.pid
|
||||
eend $?
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
[Unit]
|
||||
Description=tvheadend
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/run/tvheadend.pid
|
||||
ExecStart=/usr/bin/tvheadend -f -p /run/tvheadend.pid -C -c /etc/tvheadend -u tvheadend -g video
|
||||
ExecStop=/usr/bin/rm /run/tvheadend.pid
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>wraeth@gentoo.org</email>
|
||||
<name>Sam Jorna</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="capmt">Enable support for capmt (dvbapi) protocol</flag>
|
||||
<flag name="constcw">Enable support for the constcw protocol</flag>
|
||||
<flag name="cwc">Enable support for the cwc (newcamd) protocol</flag>
|
||||
<flag name="hdhomerun">Enable support for the HDHomeRun device</flag>
|
||||
<flag name="iptv">Enable support for Internet Protocol TV</flag>
|
||||
<flag name="satip">Enable support for IP-based Satellite TV</flag>
|
||||
<flag name="timeshift">Enable TimeShift support</flag>
|
||||
<flag name="xmltv">Use <pkg>media-tv/xmltv</pkg></flag>
|
||||
<flag name="dvbscan">Use <pkg>media-tv/linuxtv-dvb-apps</pkg></flag>
|
||||
<flag name="imagecache">Enable support for image caching</flag>
|
||||
<flag name="uriparser">Use <pkg>dev-libs/uriparser</pkg></flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">tvheadend/tvheadend</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,122 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
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? ( http://linuxtv.org/downloads/dtv-scan-tables/dtv-scan-tables-${DTV_SCAN_TABLES_VERSION}.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="avahi capmt constcw +cwc dbus +dvb +dvbscan ffmpeg hdhomerun libav imagecache inotify iptv satip +timeshift uriparser xmltv zlib"
|
||||
|
||||
# does not build with ffmpeg-3 - bug 574990
|
||||
# https://tvheadend.org/issues/3597
|
||||
RDEPEND="dev-libs/openssl:=
|
||||
virtual/libiconv
|
||||
avahi? ( net-dns/avahi )
|
||||
dbus? ( sys-apps/dbus )
|
||||
ffmpeg? (
|
||||
!libav? (
|
||||
media-video/ffmpeg:0=
|
||||
<media-video/ffmpeg-3
|
||||
)
|
||||
libav? ( media-video/libav:= )
|
||||
)
|
||||
hdhomerun? ( media-libs/libhdhomerun )
|
||||
uriparser? ( dev-libs/uriparser )
|
||||
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 )
|
||||
|
||||
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_prepare() {
|
||||
# remove '-Werror' wrt bug #438424
|
||||
sed -e 's:-Werror::' -i Makefile || die 'sed failed!'
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --prefix="${EPREFIX}"/usr \
|
||||
--datadir="${EPREFIX}"/usr/share \
|
||||
--disable-ccache \
|
||||
$(use_enable avahi) \
|
||||
$(use_enable capmt) \
|
||||
$(use_enable constcw) \
|
||||
$(use_enable cwc) \
|
||||
$(use_enable dbus) \
|
||||
$(use_enable dvb linuxdvb) \
|
||||
$(use_enable dvbscan) \
|
||||
$(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 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."
|
||||
}
|
Loading…
Reference in New Issue
Block a user