From e748ba9741f6540f4675c23e3e37b73e822c13a4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 31 May 2021 20:59:14 +0100 Subject: gentoo resync : 31.05.2021 --- media-tv/tvheadend/Manifest | 4 +- media-tv/tvheadend/files/tvheadend.service | 2 +- media-tv/tvheadend/tvheadend-4.2.8-r1.ebuild | 138 --------------------------- media-tv/tvheadend/tvheadend-4.2.8-r2.ebuild | 138 +++++++++++++++++++++++++++ 4 files changed, 141 insertions(+), 141 deletions(-) delete mode 100644 media-tv/tvheadend/tvheadend-4.2.8-r1.ebuild create mode 100644 media-tv/tvheadend/tvheadend-4.2.8-r2.ebuild (limited to 'media-tv/tvheadend') diff --git a/media-tv/tvheadend/Manifest b/media-tv/tvheadend/Manifest index 369afc1b54bb..3b33d7f2ba08 100644 --- a/media-tv/tvheadend/Manifest +++ b/media-tv/tvheadend/Manifest @@ -9,8 +9,8 @@ AUX tvheadend-4.2.8-no-dvb-fix.patch 817 BLAKE2B d07b38662175f64c29c166c16aa0fc7 AUX tvheadend-4.3-hdhomerun.patch 1435 BLAKE2B 3250c5d1ce2a757a2fdee646cb64136661e171c5ae5b30199560e2e74fbfbfefb6d8284e5c2cb92d179751f5fa814148240e08e132761d4d3e2b66844ccd53b9 SHA512 a013ecb61cf05ff5d976f88be58a4ba5471034ab02d34778a8c472746355f2630a88b90951ba98513c787e616119183087d7560be6a9c89c5ea9c26285fe2d5d AUX tvheadend.confd 359 BLAKE2B 3b44e47b9216daaa2defa69254700693015619e8b0196060e102b801337fd5a1e3f1376f4e5de59a8da0ae5bfb9a2335c1205504d28a3582ac6f7c095b0623d0 SHA512 11448507059ed12bef972dfd898771ab2a63078927e55a356b44be04c738e461535ba2a621a9aba4b621cb316dfd66e74b3c25c22c45ccf73a28f6dd0ad3cb23 AUX tvheadend.initd 375 BLAKE2B 6fbf53a0a67957ee5756b56189d42b741adb7603b5590aa5fa0fd6b2a1d1ba930af05de8ebedba343302aa861f7fb42d3eb25b67acf6b43aa7c956d4965ab944 SHA512 6f17fa6bee502f586b4500c5f5541c9c6ce095deed7ddb3c1d1ad129a2e22fa66de0e72b712866659f7080753c73f67154d6dcdbf8539d6c8a942bea29bb1aa7 -AUX tvheadend.service 575 BLAKE2B cc332347736f9dccc34ece966311899307d03e3bf852fa8052dd86f4bfe02e0b927da7b3b8b9d78c6fcb85d77ca889ac22c8106636cac825b8550e7bd5e38176 SHA512 c9c0f52dda9f325189f99fd275cd806f6b818761ab1bc00a36ddb934418d5cff4b9dcf594aaa446ec47f3b0004ab8fc75b221a4fb76ac8730c365f751056c522 +AUX tvheadend.service 573 BLAKE2B e99853082623ca0522bf83aec4be33f2cdc62ba3e3e09bd22246f93c93d5342180be409ba9ad8f862830aca68ca0dbfafd3da0ecb9033e43d6a7e50a523c0bd8 SHA512 8f8e8f9feed45c20919bca402ef9179208a305cd7b06b47dfbbc368fc85d739c3dca2b53e6964bff10f8581cc4c8091660ac2be3b975d80941dc7a16cbb3fb49 DIST tvheadend-4.2.8.tar.gz 21875281 BLAKE2B fdd99ca6aff56f8daa073394f9c58e9cba4ea988a2884e24c2288fd4870dd0460624fb700838ba92867a57473cc4133fed5fbd56f0e40f02a0878ffcd0642c00 SHA512 e629ffe1802e76b5121d5c22d11be86640f17816a5e902ed4842b2fd21df506d00d9caebafd931d71995e9d9049cb675c032478c9bed4f1ce82fc3f255f6166f -EBUILD tvheadend-4.2.8-r1.ebuild 3533 BLAKE2B 824a3a85737927b2117f64bb3b528323ec552c574b40d6288178599999277b7a149e4892c6f7a2907eb4dff15a8bdd33ec9b88f2aba5747333871364d694dc37 SHA512 0c23e74fc03a45d98b4739498a24584c54931899c407ba4df38624a96da8c1bb9a7045ee3883cf4c5ed98cd7e1c496c5164c11fbc5e796941b8242e3d1143b7c +EBUILD tvheadend-4.2.8-r2.ebuild 3533 BLAKE2B 824a3a85737927b2117f64bb3b528323ec552c574b40d6288178599999277b7a149e4892c6f7a2907eb4dff15a8bdd33ec9b88f2aba5747333871364d694dc37 SHA512 0c23e74fc03a45d98b4739498a24584c54931899c407ba4df38624a96da8c1bb9a7045ee3883cf4c5ed98cd7e1c496c5164c11fbc5e796941b8242e3d1143b7c EBUILD tvheadend-9999.ebuild 4135 BLAKE2B c53fae3f31cabe31e07f13b820c11c3bcecfff36d93935d7308297c41856de77e565d82c99a8f6f70a70adec2a44113924b11e3de023f3862b1361c46731c10c SHA512 932f9cbf016cf5909bb74356bb2dfe2984530ee248d86eaea50d17d56b02fe5e66eb1db167a84aa9a1f65a940bfe0def53fcc04b07b7d5460457455c567cccae MISC metadata.xml 1445 BLAKE2B f71dc280d5fce7c0945939bcaf75d0d7f294aea6055c956b04e9e439199c2a6c107c800be6d18a0c58d154bdf7cdd0cd7d874e5cde5fc93f9b24160f536d21d8 SHA512 e26b94f14a619051e637b018d0f47ce86381821dd5207ba5b34429e0c0f83c55bfa9c37871e722af85719cf3e06322703d4709cbbd771b8f092efb8e85cb5b72 diff --git a/media-tv/tvheadend/files/tvheadend.service b/media-tv/tvheadend/files/tvheadend.service index cd5c5e7f9115..11d3fe7a814f 100644 --- a/media-tv/tvheadend/files/tvheadend.service +++ b/media-tv/tvheadend/files/tvheadend.service @@ -9,7 +9,7 @@ Group=video RuntimeDirectory=tvheadend PIDFile=/run/tvheadend/tvheadend.pid EnvironmentFile=/etc/conf.d/tvheadend -ExecStart=/usr/bin/tvheadend -p /run/tvheadend/tvheadend.pid -c ${TVHEADEND_CONFIG} ${TVHEADEND_OPTIONS} +ExecStart=/usr/bin/tvheadend -p /run/tvheadend/tvheadend.pid -c ${TVHEADEND_CONFIG} $TVHEADEND_OPTIONS TimeoutStartSec=1m TimeoutStopSec=20s Restart=always diff --git a/media-tv/tvheadend/tvheadend-4.2.8-r1.ebuild b/media-tv/tvheadend/tvheadend-4.2.8-r1.ebuild deleted file mode 100644 index f003420b8602..000000000000 --- a/media-tv/tvheadend/tvheadend-4.2.8-r1.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9} ) - -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 -" - -RDEPEND=" - acct-user/tvheadend - virtual/libiconv - dbus? ( sys-apps/dbus ) - dvbcsa? ( media-libs/libdvbcsa ) - dvben50221? ( media-tv/linuxtv-dvb-apps ) - ffmpeg? ( media-video/ffmpeg:0= ) - hdhomerun? ( media-libs/libhdhomerun ) - dev-libs/openssl:0= - uriparser? ( dev-libs/uriparser ) - zeroconf? ( net-dns/avahi ) - zlib? ( sys-libs/zlib ) -" - -DEPEND=" - ${RDEPEND} - dvb? ( virtual/linuxtv-dvb-headers ) -" - -RDEPEND+=" - dvb? ( media-tv/dtv-scan-tables ) - xmltv? ( media-tv/xmltv ) -" - -REQUIRED_USE="dvbcsa? ( || ( capmt constcw cwc dvben50221 ) )" - -# Some patches from: -# https://github.com/rpmfusion/tvheadend - -PATCHES=( - "${FILESDIR}"/${PN}-4.0.9-use_system_queue.patch - "${FILESDIR}"/${PN}-4.2.{1,8}-hdhomerun.patch - "${FILESDIR}"/${PN}-4.2.2-dtv_scan_tables.patch - "${FILESDIR}"/${PN}-4.2.7-python3.patch - "${FILESDIR}"/${PN}-4.2.8-gcc9.patch - "${FILESDIR}"/${PN}-4.2.8-no-dvb-fix.patch - "${FILESDIR}"/${PN}-4.2.8-fno-common.patch -) - -DOCS=( README.md ) - -pkg_setup() { - python-any-r1_pkg_setup - - use inotify && - CONFIG_CHECK="~INOTIFY_USER" linux-info_pkg_setup -} - -src_configure() { - CC="$(tc-getCC)" \ - PKG_CONFIG="${CHOST}-pkg-config" \ - econf \ - --disable-bundle \ - --disable-ccache \ - --disable-dvbscan \ - --disable-ffmpeg_static \ - --disable-hdhomerun_static \ - --nowerror \ - $(use_enable capmt) \ - $(use_enable constcw) \ - $(use_enable cwc) \ - $(use_enable dbus dbus_1) \ - $(use_enable debug trace) \ - $(use_enable dvb linuxdvb) \ - $(use_enable dvbcsa) \ - $(use_enable dvben50221) \ - $(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 systemd libsystemd_daemon) \ - $(use_enable timeshift) \ - $(use_enable uriparser) \ - $(use_enable zeroconf avahi) \ - $(use_enable zlib) -} - -src_compile() { - emake CC="$(tc-getCC)" -} - -src_install() { - default - - newinitd "${FILESDIR}"/tvheadend.initd tvheadend - newconfd "${FILESDIR}"/tvheadend.confd tvheadend - - use systemd && - systemd_dounit "${FILESDIR}"/tvheadend.service -} - -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." - - . "${EROOT}"/etc/conf.d/tvheadend &>/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 -} diff --git a/media-tv/tvheadend/tvheadend-4.2.8-r2.ebuild b/media-tv/tvheadend/tvheadend-4.2.8-r2.ebuild new file mode 100644 index 000000000000..f003420b8602 --- /dev/null +++ b/media-tv/tvheadend/tvheadend-4.2.8-r2.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9} ) + +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 +" + +RDEPEND=" + acct-user/tvheadend + virtual/libiconv + dbus? ( sys-apps/dbus ) + dvbcsa? ( media-libs/libdvbcsa ) + dvben50221? ( media-tv/linuxtv-dvb-apps ) + ffmpeg? ( media-video/ffmpeg:0= ) + hdhomerun? ( media-libs/libhdhomerun ) + dev-libs/openssl:0= + uriparser? ( dev-libs/uriparser ) + zeroconf? ( net-dns/avahi ) + zlib? ( sys-libs/zlib ) +" + +DEPEND=" + ${RDEPEND} + dvb? ( virtual/linuxtv-dvb-headers ) +" + +RDEPEND+=" + dvb? ( media-tv/dtv-scan-tables ) + xmltv? ( media-tv/xmltv ) +" + +REQUIRED_USE="dvbcsa? ( || ( capmt constcw cwc dvben50221 ) )" + +# Some patches from: +# https://github.com/rpmfusion/tvheadend + +PATCHES=( + "${FILESDIR}"/${PN}-4.0.9-use_system_queue.patch + "${FILESDIR}"/${PN}-4.2.{1,8}-hdhomerun.patch + "${FILESDIR}"/${PN}-4.2.2-dtv_scan_tables.patch + "${FILESDIR}"/${PN}-4.2.7-python3.patch + "${FILESDIR}"/${PN}-4.2.8-gcc9.patch + "${FILESDIR}"/${PN}-4.2.8-no-dvb-fix.patch + "${FILESDIR}"/${PN}-4.2.8-fno-common.patch +) + +DOCS=( README.md ) + +pkg_setup() { + python-any-r1_pkg_setup + + use inotify && + CONFIG_CHECK="~INOTIFY_USER" linux-info_pkg_setup +} + +src_configure() { + CC="$(tc-getCC)" \ + PKG_CONFIG="${CHOST}-pkg-config" \ + econf \ + --disable-bundle \ + --disable-ccache \ + --disable-dvbscan \ + --disable-ffmpeg_static \ + --disable-hdhomerun_static \ + --nowerror \ + $(use_enable capmt) \ + $(use_enable constcw) \ + $(use_enable cwc) \ + $(use_enable dbus dbus_1) \ + $(use_enable debug trace) \ + $(use_enable dvb linuxdvb) \ + $(use_enable dvbcsa) \ + $(use_enable dvben50221) \ + $(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 systemd libsystemd_daemon) \ + $(use_enable timeshift) \ + $(use_enable uriparser) \ + $(use_enable zeroconf avahi) \ + $(use_enable zlib) +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + default + + newinitd "${FILESDIR}"/tvheadend.initd tvheadend + newconfd "${FILESDIR}"/tvheadend.confd tvheadend + + use systemd && + systemd_dounit "${FILESDIR}"/tvheadend.service +} + +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." + + . "${EROOT}"/etc/conf.d/tvheadend &>/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 +} -- cgit v1.2.3