# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) inherit git-r3 linux-info python-any-r1 systemd toolchain-funcs DESCRIPTION="Tvheadend is a TV streaming server and digital video recorder" HOMEPAGE="https://tvheadend.org/" EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" LICENSE="GPL-3" SLOT="0" KEYWORDS="" IUSE="dbus debug +ddci dvbcsa +dvb +ffmpeg hdhomerun +imagecache +inotify iptv opus satip systemd +timeshift uriparser vpx x264 x265 xmltv zeroconf zlib" BDEPEND=" ${PYTHON_DEPS} sys-devel/gettext virtual/pkgconfig " RDEPEND=" acct-user/tvheadend virtual/libiconv dbus? ( sys-apps/dbus ) dvbcsa? ( media-libs/libdvbcsa ) ffmpeg? ( /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 }