diff options
Diffstat (limited to 'media-tv/tvheadend')
-rw-r--r-- | media-tv/tvheadend/Manifest | 9 | ||||
-rw-r--r-- | media-tv/tvheadend/files/tvheadend-4.2.1-hdhomerun.patch | 24 | ||||
-rw-r--r-- | media-tv/tvheadend/files/tvheadend-4.2.8-fno-common.patch | 55 | ||||
-rw-r--r-- | media-tv/tvheadend/files/tvheadend-4.2.8-gcc9.patch | 36 | ||||
-rw-r--r-- | media-tv/tvheadend/files/tvheadend-4.2.8-hdhomerun.patch | 29 | ||||
-rw-r--r-- | media-tv/tvheadend/files/tvheadend-4.2.8-no-dvb-fix.patch | 28 | ||||
-rw-r--r-- | media-tv/tvheadend/metadata.xml | 4 | ||||
-rw-r--r-- | media-tv/tvheadend/tvheadend-4.2.8-r2.ebuild | 138 |
8 files changed, 1 insertions, 322 deletions
diff --git a/media-tv/tvheadend/Manifest b/media-tv/tvheadend/Manifest index 0c07fed545da..d8ab890d4c8b 100644 --- a/media-tv/tvheadend/Manifest +++ b/media-tv/tvheadend/Manifest @@ -1,18 +1,11 @@ AUX tvheadend-4.0.9-use_system_queue.patch 296 BLAKE2B 0986117969d9bb3463123e984aba7a73c8caf89b16f0c10e870a9b49857f8c946958a31900d99c5d332f5635cbd49ae544c2cc97f1e8a211c352bcaba965fe76 SHA512 56180b9c2fbb092530963229213805ec63e3d941c67d967e38b46f778db85db981234fe5727b5a8dcf64ab3a9e24c9d10b681abf275249e0d6f0ad63e391ecc4 -AUX tvheadend-4.2.1-hdhomerun.patch 1045 BLAKE2B cad3922efbdd20c457c9570ecc75a786a997cafbe698226e31e4175394c38b79071ed7a165194ddc31e318ed015a0253dfb1f978695db35721749077154534f4 SHA512 416af870e5070001fbd0e09ec8c14160ff7c54b716564f708c6a983ca529cdf5963678c05551ad676a23c3347b4932bd7ae65e8eeea47a5f9f3955b46292c3f9 AUX tvheadend-4.2.2-dtv_scan_tables.patch 463 BLAKE2B 4e52d89d75c05d8a3cc645280794dd4570953bb5452d1067442177d7eb4c85779a8bcb96f1f8d3fbbcb6a34e770ff014bb262103eae5a92556ac4586038cdd9e SHA512 9bdecbac57ee1f30be91f9145e32f89949b5631090edc85cd5383915b09949ec9211f62474bd06afb4600e431093ce2ee5550d204b08c64b5b2e1a1cd38a517d AUX tvheadend-4.2.7-python3.patch 2952 BLAKE2B c6eee8aea74abd9a6eaacd3206a4b0191a45ce63e9e18bb213f1f6c85702a3836c44c55dd7131df4d739fb1f689c8bd97e24f4924e113649b7b0c9d349d471c7 SHA512 f031a06e5d4db4ea265a3e99bb07bee983ab40e5b028d9e69457971090e538b2057d49258cadda75db7816c2e4e9609819e59ab8a30d3ce848444774bfa1a02f -AUX tvheadend-4.2.8-fno-common.patch 1771 BLAKE2B a9c52afedc3c145fdd3bb3b67abf6890228b3083c56ba29abd86288fbf6b71d2960e6b4ed7aec383830f45db1cd637e8ef6124aa305166e301c49f52b3e65cbf SHA512 c2378d2f76dea88f2e987d9c62ca67f40cefd467c050dc30ab5d7127bc530642e78ccca9f36371373f2bd2101e451148310db41770e932f592484a119cae16fb -AUX tvheadend-4.2.8-gcc9.patch 1772 BLAKE2B dc0033d7f61b8099d3f352cf8f05ff9073f3d6196c10ecac97c1cb1e7af7e01712478b2ef78b991336127ffbfcc9faf49b30b92f9af5e3c500783bc580a8908a SHA512 9b9d74a7d88187dd7895302b3c6142a14a136823fda5840fa464a5d3f3f97c8b59d4f839d10da14bd13bb6b346b75cac07069dab8ae626f68bc3000a70484834 -AUX tvheadend-4.2.8-hdhomerun.patch 1067 BLAKE2B bbbac3dfc8e533770d096bf726c40429358307d5134186693fca5bb69ea7a291afc0f2aa24fb2744d330e72bdfb78ec44ed96f2f2c9a625d9ac63ed2bc913a5c SHA512 118d9086f52c727dd64c0a10471857b12f8c0798887bcd712383823ffcaa0a12a3b487b7941871f8120bc00672608eca596d6ca09cfd47abb9684deef4611faa -AUX tvheadend-4.2.8-no-dvb-fix.patch 817 BLAKE2B d07b38662175f64c29c166c16aa0fc76240aa86d325a1b715dee3de4733287a615566d9cb53fce9da37cc69ff66992eb228c45e8b7dce77cc125a8dfc303ece8 SHA512 37fe828b3a878913468bd06e115dfd9eec29df840455872019414187bb4a904c50d2476fc0508c465a92029f28068a6e6da54d9089ca2c5957f34a94835dc04a 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 573 BLAKE2B e99853082623ca0522bf83aec4be33f2cdc62ba3e3e09bd22246f93c93d5342180be409ba9ad8f862830aca68ca0dbfafd3da0ecb9033e43d6a7e50a523c0bd8 SHA512 8f8e8f9feed45c20919bca402ef9179208a305cd7b06b47dfbbc368fc85d739c3dca2b53e6964bff10f8581cc4c8091660ac2be3b975d80941dc7a16cbb3fb49 -DIST tvheadend-4.2.8.tar.gz 21875281 BLAKE2B fdd99ca6aff56f8daa073394f9c58e9cba4ea988a2884e24c2288fd4870dd0460624fb700838ba92867a57473cc4133fed5fbd56f0e40f02a0878ffcd0642c00 SHA512 e629ffe1802e76b5121d5c22d11be86640f17816a5e902ed4842b2fd21df506d00d9caebafd931d71995e9d9049cb675c032478c9bed4f1ce82fc3f255f6166f DIST tvheadend-4.3_p20240322.tar.gz 22572932 BLAKE2B b3c09c170a13765194885854ca162a2a55e8b10fca2f6c24eb7b03b9670adb0c88f082986ac974a174abc52db3c49704735b371de28050d12d4aad6cb4a8dfc0 SHA512 068e8f6c1d3b3da9af8babd25705c754b2d72173751d65086663a64a45c332c1e1b478f65b86665a531a1f3b9b2168df23f93583b82d96c08e80c475406986da -EBUILD tvheadend-4.2.8-r2.ebuild 3611 BLAKE2B 80411facff811cbff41124e5a68cdb80f6a5b4e4ad44e182bcb9358ef7ced1bfb25dface222d16599f4b401c90a65adb0b9e7e7538b0fb7e5be2fd906a0088b6 SHA512 37932ec32c4cc7dda757c13246954e60a1d9ebf33f401f7ac54e580db753f8aff19ab89ffbd45469a050bd654bbdfd24845e8fbcbafcff22b7bd86bf9b6cc31c EBUILD tvheadend-4.3_p20240322.ebuild 4417 BLAKE2B a59ffe6dbf89d7be88d156102e973d10344194ffffd8e6f5e71b6600a0bf55e440242975148b433cbcf68f8a5c485d32f31dcc45d463d4e74a615235d9a8cd7a SHA512 63e00ec5ce6bac7b8c9492dc25947a234c6416387b7dcbefc636a1d7224beaaf3bc253ba90b6bd385c4be455015f806e68822cd68bb3a2d9d830ad43bfaab22c EBUILD tvheadend-9999.ebuild 4273 BLAKE2B df25cdcc7f9bebcb423711cebac099e355d514ca2816ad99f358e5f18efd8e450f68f66bb1541dfa257c83eb6d482899e5dc6eb2f247d44cd549cec3f0002847 SHA512 32496bc56999d7ba908e6b3b1aa175365a18f4cacd331a8e4e7eecd82d66681615ccd24928ec7b45ac936e593803188af88030dc6c9e2f57d91a42e7586e8c43 -MISC metadata.xml 1446 BLAKE2B 622295d497db162d2a214c94187f0e15a9c23b8cc7d484255618f2bb3d10c5de9ecd9aaacbceeb05c27e5d53ffa2338fcd2678cdfdc386104033c1c57aa51c96 SHA512 5e34e61e7ecec9a997ece8b50f6a45f1158e203df0759e08e8d3735a4973baa795a556f9bcac1aaf8069cd25974655adc3f393c0f1670cf6e6a3762903d84759 +MISC metadata.xml 1168 BLAKE2B dc42b9e7a3cc221a875b758f838fe3e4aac5fe6af865459b3e866e735905f8a3245496019d5924bc5cc6ee77410a03e0977dd425141c66ca52fcb8d83d410d99 SHA512 242b625a50dcadc5d6af611cdabce021cf09e3e13f626930532e725f9cac8d80bfeed87f0dd6e420c9c9a5c0ac521508440ec85f649581e5cb214b6cfc11c935 diff --git a/media-tv/tvheadend/files/tvheadend-4.2.1-hdhomerun.patch b/media-tv/tvheadend/files/tvheadend-4.2.1-hdhomerun.patch deleted file mode 100644 index 64f6f691b976..000000000000 --- a/media-tv/tvheadend/files/tvheadend-4.2.1-hdhomerun.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -up ./configure.orig ./configure ---- ./configure.orig 2017-04-21 10:32:22.000000000 +0200 -+++ ./configure 2017-04-23 13:31:08.717237211 +0200 -@@ -357,7 +357,7 @@ if enabled hdhomerun_static; then - else - - if enabled_or_auto hdhomerun_client; then -- if check_cc_header 'libhdhomerun/hdhomerun' libhdhomerun; then -+ if check_cc_header 'hdhomerun/hdhomerun' libhdhomerun; then - enable hdhomerun_client - LDFLAGS="$LDFLAGS -lhdhomerun" - fi -diff -up ./src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h.orig ./src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h ---- ./src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h.orig 2017-04-21 10:32:22.000000000 +0200 -+++ ./src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h 2017-04-23 13:31:08.717237211 +0200 -@@ -24,7 +24,7 @@ - #include "htsbuf.h" - #include "tvhdhomerun.h" - --#include "libhdhomerun/hdhomerun.h" -+#include <hdhomerun/hdhomerun.h> - - typedef struct tvhdhomerun_device_info tvhdhomerun_device_info_t; - typedef struct tvhdhomerun_device tvhdhomerun_device_t; diff --git a/media-tv/tvheadend/files/tvheadend-4.2.8-fno-common.patch b/media-tv/tvheadend/files/tvheadend-4.2.8-fno-common.patch deleted file mode 100644 index 23f48652f9de..000000000000 --- a/media-tv/tvheadend/files/tvheadend-4.2.8-fno-common.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 1f2a0a59e3acaef88509d3ac899b905c73b7b8f8 Mon Sep 17 00:00:00 2001 -From: James Le Cuirot <chewi@gentoo.org> -Date: Fri, 15 May 2020 17:45:30 +0100 -Subject: [PATCH] Fix building with -fno-common (default from GCC 10) - ---- - src/input.h | 4 ++-- - src/input/mpegts.c | 2 ++ - src/input/mpegts.h | 2 +- - 3 files changed, 5 insertions(+), 3 deletions(-) - -diff --git a/src/input.h b/src/input.h -index a9c96df04..3dce355c6 100644 ---- a/src/input.h -+++ b/src/input.h -@@ -133,8 +133,8 @@ void tvh_hardware_delete ( tvh_hardware_t *th ); - extern const idclass_t tvh_input_class; - extern const idclass_t tvh_input_instance_class; - --tvh_input_list_t tvh_inputs; --tvh_hardware_list_t tvh_hardware; -+extern tvh_input_list_t tvh_inputs; -+extern tvh_hardware_list_t tvh_hardware; - - #define TVH_INPUT_FOREACH(x) LIST_FOREACH(x, &tvh_inputs, ti_link) - #define TVH_HARDWARE_FOREACH(x) LIST_FOREACH(x, &tvh_hardware, th_link) -diff --git a/src/input/mpegts.c b/src/input/mpegts.c -index e02d491f1..fca4f3429 100644 ---- a/src/input/mpegts.c -+++ b/src/input/mpegts.c -@@ -20,6 +20,8 @@ - #include "mpegts/fastscan.h" - #include "memoryinfo.h" - -+struct mpegts_listeners mpegts_listeners; -+ - extern memoryinfo_t mpegts_input_queue_memoryinfo; - extern memoryinfo_t mpegts_input_table_memoryinfo; - -diff --git a/src/input/mpegts.h b/src/input/mpegts.h -index 9dda3baca..9c4c57b73 100644 ---- a/src/input/mpegts.h -+++ b/src/input/mpegts.h -@@ -1149,7 +1149,7 @@ typedef struct mpegts_listener - void (*ml_mux_delete) (mpegts_mux_t *mm, void *p); - } mpegts_listener_t; - --LIST_HEAD(,mpegts_listener) mpegts_listeners; -+extern LIST_HEAD(mpegts_listeners, mpegts_listener) mpegts_listeners; - - #define mpegts_add_listener(ml)\ - LIST_INSERT_HEAD(&mpegts_listeners, ml, ml_link) --- -2.26.2 - diff --git a/media-tv/tvheadend/files/tvheadend-4.2.8-gcc9.patch b/media-tv/tvheadend/files/tvheadend-4.2.8-gcc9.patch deleted file mode 100644 index 9ccadb44c42c..000000000000 --- a/media-tv/tvheadend/files/tvheadend-4.2.8-gcc9.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -up ./src/plumbing/transcoding.c.orig ./src/plumbing/transcoding.c ---- ./src/plumbing/transcoding.c.orig 2019-01-12 09:58:47.000000000 +0100 -+++ ./src/plumbing/transcoding.c 2019-03-12 15:49:24.922314869 +0100 -@@ -1804,7 +1804,7 @@ transcoder_init_video(transcoder_t *t, s - char *str, *token, *saveptr, codec_list[sizeof(tp->tp_src_vcodec)]; - int codec_match=0; - -- strncpy(codec_list, tp->tp_src_vcodec, sizeof(tp->tp_src_vcodec)-1); -+ memcpy(codec_list, tp->tp_src_vcodec, sizeof(tp->tp_src_vcodec)-1); - - tvhtrace(LS_TRANSCODE, "src_vcodec=\"%s\" ssc_type=%d (%s)\n", - tp->tp_src_vcodec, -@@ -2130,10 +2130,10 @@ transcoder_set_properties(streaming_targ - transcoder_t *t = (transcoder_t *)st; - transcoder_props_t *tp = &t->t_props; - -- strncpy(tp->tp_vcodec, props->tp_vcodec, sizeof(tp->tp_vcodec)-1); -- strncpy(tp->tp_vcodec_preset, props->tp_vcodec_preset, sizeof(tp->tp_vcodec_preset)-1); -- strncpy(tp->tp_acodec, props->tp_acodec, sizeof(tp->tp_acodec)-1); -- strncpy(tp->tp_scodec, props->tp_scodec, sizeof(tp->tp_scodec)-1); -+ memcpy(tp->tp_vcodec, props->tp_vcodec, sizeof(tp->tp_vcodec)-1); -+ memcpy(tp->tp_vcodec_preset, props->tp_vcodec_preset, sizeof(tp->tp_vcodec_preset)-1); -+ memcpy(tp->tp_acodec, props->tp_acodec, sizeof(tp->tp_acodec)-1); -+ memcpy(tp->tp_scodec, props->tp_scodec, sizeof(tp->tp_scodec)-1); - tp->tp_channels = props->tp_channels; - tp->tp_vbitrate = props->tp_vbitrate; - tp->tp_abitrate = props->tp_abitrate; -@@ -2141,7 +2141,7 @@ transcoder_set_properties(streaming_targ - - memcpy(tp->tp_language, props->tp_language, 4); - -- strncpy(tp->tp_src_vcodec, props->tp_src_vcodec, sizeof(tp->tp_src_vcodec)-1); -+ memcpy(tp->tp_src_vcodec, props->tp_src_vcodec, sizeof(tp->tp_src_vcodec)-1); - } - - diff --git a/media-tv/tvheadend/files/tvheadend-4.2.8-hdhomerun.patch b/media-tv/tvheadend/files/tvheadend-4.2.8-hdhomerun.patch deleted file mode 100644 index c30af8aba2a1..000000000000 --- a/media-tv/tvheadend/files/tvheadend-4.2.8-hdhomerun.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 13cd23c371e3377973502f8dc65654b6a0ff372b Mon Sep 17 00:00:00 2001 -From: Michael Marley <michael@michaelmarley.com> -Date: Wed, 26 Jun 2019 19:35:50 -0400 -Subject: [PATCH] Fix compilation with libhdhomerun 20190621 - -They renamed the symbol that was used to determine whether the -"hdhomerun_discover_find_devices_custom" needed to be aliased, -causing an FTBFS. Instead, recognize both the old and new symbols. ---- - src/input/mpegts/tvhdhomerun/tvhdhomerun.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/input/mpegts/tvhdhomerun/tvhdhomerun.c b/src/input/mpegts/tvhdhomerun/tvhdhomerun.c -index 58dec51ab..18068faf5 100644 ---- a/src/input/mpegts/tvhdhomerun/tvhdhomerun.c -+++ b/src/input/mpegts/tvhdhomerun/tvhdhomerun.c -@@ -32,7 +32,8 @@ - - #include "config.h" - --#ifdef HDHOMERUN_TAG_DEVICE_AUTH_BIN -+#if defined(HDHOMERUN_TAG_DEVICE_AUTH_BIN) \ -+ || defined(HDHOMERUN_TAG_DEVICE_AUTH_BIN_DEPRECATED) - #define hdhomerun_discover_find_devices_custom \ - hdhomerun_discover_find_devices_custom_v2 - #endif --- -2.23.0 - diff --git a/media-tv/tvheadend/files/tvheadend-4.2.8-no-dvb-fix.patch b/media-tv/tvheadend/files/tvheadend-4.2.8-no-dvb-fix.patch deleted file mode 100644 index b398064292e5..000000000000 --- a/media-tv/tvheadend/files/tvheadend-4.2.8-no-dvb-fix.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 27ec1008df054072fac6b58ffb8d820423522442 Mon Sep 17 00:00:00 2001 -From: James Le Cuirot <chewi@gentoo.org> -Date: Sun, 10 May 2020 23:02:14 +0100 -Subject: [PATCH] dvbpsi: Fix build when DVB is not enabled at all - ---- - src/input/mpegts/dvb_psi.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/input/mpegts/dvb_psi.c b/src/input/mpegts/dvb_psi.c -index 15203d98c..96b1689fb 100644 ---- a/src/input/mpegts/dvb_psi.c -+++ b/src/input/mpegts/dvb_psi.c -@@ -2331,9 +2331,11 @@ psi_tables_install ( mpegts_input_t *mi, mpegts_mux_t *mm, - psi_tables_atsc_t(mm); - break; - case DVB_SYS_DVBC_ANNEX_B: -+#if ENABLE_MPEGTS_DVB - if (idnode_is_instance(&mm->mm_id, &dvb_mux_dvbc_class)) - psi_tables_dvb(mm); - else -+#endif - psi_tables_atsc_c(mm); - break; - case DVB_SYS_NONE: --- -2.26.2 - diff --git a/media-tv/tvheadend/metadata.xml b/media-tv/tvheadend/metadata.xml index 7dfa9e2d079e..8c2259f17cf7 100644 --- a/media-tv/tvheadend/metadata.xml +++ b/media-tv/tvheadend/metadata.xml @@ -6,12 +6,8 @@ <name>James Le Cuirot</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="ddci">Enable support for DDCI hardware</flag> <flag name="dvbcsa">Enable decryption of the DVB Common Scrambling Algorithm</flag> - <flag name="dvben50221">Enable support for hardware CAM</flag> <flag name="hdhomerun">Enable support for the HDHomeRun device</flag> <flag name="imagecache">Enable support for image caching</flag> <flag name="iptv">Enable support for Internet Protocol TV</flag> diff --git a/media-tv/tvheadend/tvheadend-4.2.8-r2.ebuild b/media-tv/tvheadend/tvheadend-4.2.8-r2.ebuild deleted file mode 100644 index 11b918469163..000000000000 --- a/media-tv/tvheadend/tvheadend-4.2.8-r2.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# 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 -" -# <ffmpeg-5 dep for bug #834399, https://github.com/tvheadend/tvheadend/pull/1460 -RDEPEND=" - acct-user/tvheadend - virtual/libiconv - dbus? ( sys-apps/dbus ) - dvbcsa? ( media-libs/libdvbcsa ) - dvben50221? ( media-tv/linuxtv-dvb-apps ) - ffmpeg? ( <media-video/ffmpeg-5:= ) - hdhomerun? ( media-libs/libhdhomerun ) - dev-libs/openssl:0= - uriparser? ( dev-libs/uriparser ) - zeroconf? ( net-dns/avahi ) - zlib? ( sys-libs/zlib ) -" - -DEPEND=" - ${RDEPEND} - dvb? ( sys-kernel/linux-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="$(tc-getPKG_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 -} |