tvheadend: add conditions for -O3 and LTO optimizations
[feed/packages.git] / multimedia / tvheadend / Config.in
1 comment "Generic options"
2 depends on PACKAGE_tvheadend
3
4 config TVHEADEND_OPTIMIZE_SPEED
5 bool "Optimize for speed"
6 depends on PACKAGE_tvheadend && (arm || aarch64 || x86_64)
7 default n
8 help
9 Optimize tvheadend for speed instead of size. This option adds -O3 and LTO (Link Time Optimization).
10 Note: No benchmarks were performed when this option was added. Speed improvements (if any) are not known.
11
12 config TVHEADEND_TRACE
13 bool "Low level debug trace"
14 depends on PACKAGE_tvheadend
15 default n
16 help
17 Support low level debug trace for tvheadend subsystems.
18 For a list of available subsystems, run "tvheadend --subsystems" in OpenWRT console.
19 Note: Selecting this option does not automatically enable trace logging.
20 It only includes support for --trace command line option and GUI.
21
22 config TVHEADEND_AVAHI_SUPPORT
23 bool "Avahi client"
24 depends on PACKAGE_tvheadend
25 select PACKAGE_libavahi-client
26 default n
27 help
28 Enables the opensource implementation of Apple's zero configuration protocol.
29 Tvheadend will advertise itself on the network using this protocol.
30
31 choice
32 prompt "Regular Expression"
33 depends on PACKAGE_tvheadend
34 config TVHEADEND_REGEX_POSIX
35 bool "POSIX (internal)"
36 help
37 Use internal POSIX Regular Expressions.
38 Note that not all EPG parsers will work with POSIX RegEx.
39 config TVHEADEND_REGEX_PCRE
40 bool "PCRE (libpcre)"
41 select PACKAGE_libpcre
42 help
43 Use more advanced Perl-Compatible Regular Expressions, provided by libpcre.
44 config TVHEADEND_REGEX_PCRE2
45 bool "PCRE2 (libpcre2)"
46 select PACKAGE_libpcre2
47 help
48 Use more advanced Perl-Compatible Regular Expressions, provided by libpcre2.
49 endchoice
50
51 config TVHEADEND_IMAGECACHE
52 bool "Image cache"
53 depends on PACKAGE_tvheadend
54 default n
55 help
56 Support caching TV station logos and other images on disk.
57 Note: Activating disk cache will increase fash memory wear.
58 Selecting this option does not automatically enable disk caching. It only includes support for it.
59
60 comment "Input & output support"
61 depends on PACKAGE_tvheadend
62
63 config TVHEADEND_LINUXDVB_SUPPORT
64 bool "DVB tuners"
65 depends on PACKAGE_tvheadend
66 default y
67 help
68 Include support for DVB tuners.
69 Note: Kernel driver(s) and firmware must also be installed.
70
71 config TVHEADEND_DVBSCAN_SUPPORT
72 bool "Include DVB-scan tables"
73 depends on TVHEADEND_LINUXDVB_SUPPORT
74 default TVHEADEND_LINUXDVB_SUPPORT
75 help
76 Download and include DVB scan tables.
77
78 config TVHEADEND_IPTV
79 bool "IPTV client"
80 depends on PACKAGE_tvheadend
81 default y
82 help
83 Include IP-TV client.
84
85 config TVHEADEND_SATIP_CLIENT
86 bool "SAT>IP client"
87 depends on PACKAGE_tvheadend
88 default y
89 help
90 Include SAT>IP client. This allows tvheadend to receive streams from a SAT>IP server.
91
92 config TVHEADEND_SATIP_SERVER
93 bool "SAT>IP server"
94 depends on PACKAGE_tvheadend
95 default y
96 help
97 Include SAT>IP server. This allows tvheadend to stream to SAT>IP clients.
98
99 config TVHEADEND_HDHOMERUN_CLIENT
100 bool "HDHomeRun client"
101 depends on PACKAGE_tvheadend
102 default y
103 help
104 Include HDHomeRun client.
105 HDHomeRun is a network-attached, digital television tuner box.
106
107 comment "SoftCAM (Software Conditional Access Module)"
108 depends on PACKAGE_tvheadend
109 depends on BUILD_PATENTED
110
111 config TVHEADEND_CSA
112 bool "CSA decoding"
113 depends on PACKAGE_tvheadend
114 depends on BUILD_PATENTED
115 select PACKAGE_libdvbcsa
116 default n
117 help
118 Support decoding CSA (Common Scrambling Algorithm). Uses libdvbcsa package.
119
120 config TVHEADEND_CONSTCW
121 bool "CCW"
122 depends on TVHEADEND_CSA
123 default TVHEADEND_CSA
124 help
125 Support Constant Control Word.
126
127 config TVHEADEND_CAPMT
128 bool "CWC capmt client"
129 depends on TVHEADEND_CSA
130 default n
131 help
132 Support Control Word Client capmt (Linux Network DVBAPI) protocol.
133
134 config TVHEADEND_NEWCAMD
135 bool "CWC newcamd client"
136 depends on TVHEADEND_CSA
137 default n
138 help
139 Support Control Word Client newcamd protocol.
140
141 config TVHEADEND_CCCAM
142 bool "CCCam client"
143 depends on TVHEADEND_CSA
144 default n
145
146 comment "DVB descrambling and some codecs are only available with BUILD_PATENTED."
147 depends on PACKAGE_tvheadend
148 depends on !BUILD_PATENTED
149
150 ## Transcoding | Uncomment these options.
151 ##comment "Transcoding and codecs"
152 ## depends on PACKAGE_tvheadend
153 ##
154 ##config TVHEADEND_LIBFFMPEG
155 ## bool "ffmpeg transcoding"
156 ## depends on PACKAGE_tvheadend
157 ## depends on BUILD_PATENTED
158 ## select PACKAGE_libffmpeg-full
159 ## default n
160 ## help
161 ## Use ffmpeg libraries for transcoding.
162 ##
163 ##config TVHEADEND_LIBX264
164 ## bool "x264"
165 ## depends on PACKAGE_tvheadend
166 ## depends on BUILD_PATENTED
167 ## select PACKAGE_libx264
168 ## default n
169 ## help
170 ## Make x264 video codec available for transcoding. Uses libx264 package.
171 ##
172 ##config TVHEADEND_LIBX265
173 ## bool "x265"
174 ## depends on PACKAGE_tvheadend
175 ## depends on BUILD_PATENTED
176 ## default n
177 ## help
178 ## Make x265 video codec available for transcoding. Uses static (built-in) libx265.
179 ##
180 ##config TVHEADEND_LIBVPX
181 ## bool "VP8, VP9"
182 ## depends on PACKAGE_tvheadend
183 ## select PACKAGE_libvpx
184 ## default n
185 ## help
186 ## Make VP8 and VP9 video codecs available for transcoding. Uses libvpx package.
187 ##
188 ##config TVHEADEND_LIBTHEORA
189 ## bool "Theora"
190 ## depends on PACKAGE_tvheadend
191 ## select PACKAGE_libtheora
192 ## default n
193 ## help
194 ## Make Theora video codec available for transcoding. Uses libtheora package.
195 ##
196 ##config TVHEADEND_LIBFDKAAC
197 ## bool "AAC"
198 ## depends on PACKAGE_tvheadend
199 ## depends on BUILD_PATENTED
200 ## select PACKAGE_fdk-aac
201 ## default n
202 ## help
203 ## Make AAC audio codec available for transcoding. Uses fdk-aac package.
204 ##
205 ##config TVHEADEND_LIBVORBIS
206 ## bool "Vorbis"
207 ## depends on PACKAGE_tvheadend
208 ## select PACKAGE_libvorbis
209 ## default n
210 ## help
211 ## Make Vorbis audio codec available for transcoding. Uses libvorbis package.
212 ##
213 ##config TVHEADEND_LIBOPUS
214 ## bool "Opus"
215 ## depends on PACKAGE_tvheadend
216 ## select PACKAGE_libopusenc
217 ## default n
218 ## help
219 ## Make Opus audio codec available for transcoding. Uses libopusenc package.