# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) inherit linux-info python-any-r1 systemd toolchain-funcs 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" LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 arm arm64 x86" IUSE="+capmt +constcw +cwc dbus debug dvbcsa dvben50221 +dvb +ffmpeg hdhomerun +imagecache +inotify iptv satip systemd +timeshift uriparser xmltv zeroconf zlib" BDEPEND=" ${PYTHON_DEPS} sys-devel/gettext virtual/pkgconfig " # /dev/null if [[ ${TVHEADEND_CONFIG} = ${EPREFIX}/etc/tvheadend ]]; then echo ewarn "The HOME directory for the tvheadend user has changed from" ewarn "${EPREFIX}/etc/tvheadend to ${EPREFIX}/var/lib/tvheadend. The daemon will continue" ewarn "to use the old location until you update TVHEADEND_CONFIG in" ewarn "${EPREFIX}/etc/conf.d/tvheadend. Please manually move your existing files" ewarn "before you do so." fi }