-
Notifications
You must be signed in to change notification settings - Fork 0
/
vdr-softhddevice.spec
497 lines (357 loc) · 17.3 KB
/
vdr-softhddevice.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
# version we want to build against
%global vdr_version 2.6.3
# Set vdr_version based on Fedora version
%if 0%{?fedora} >= 42
%global vdr_version 2.7.2
%elif 0%{?fedora} >= 40
%global vdr_version 2.6.9
%endif
Name: vdr-softhddevice
Version: 2.3.8
Release: 2%{?dist}
Summary: A software and GPU emulated HD output device plugin for VDR
License: AGPL-3.0-only
URL: https://github.com/ua0lnj/vdr-plugin-softhddevice
Source0: %url/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# Configuration files for plugin parameters. These are Fedora specific and not in upstream.
Source1: %{name}.conf
BuildRequires: gcc-c++
BuildRequires: vdr-devel >= %{vdr_version}
BuildRequires: gettext
BuildRequires: libva-devel
BuildRequires: libvdpau-devel
BuildRequires: alsa-lib-devel
BuildRequires: ffmpeg
BuildRequires: ffmpeg-devel
BuildRequires: glm-devel
BuildRequires: libxcb-devel
BuildRequires: xcb-util-devel
BuildRequires: xcb-util-wm-devel
BuildRequires: mesa-libGLU-devel
BuildRequires: mesa-libGL-devel
Requires: vdr(abi)%{?_isa} = %{vdr_apiversion}
Requires: xorg-x11-server-Xorg
%description
A software and GPU emulated UHD output device plugin for VDR.
Video decoder CPU / VA-API / VDPAU / CUVID
Video output VA-API / VDPAU / GLX (VA-API / CUVID)
OSD accelerated by GPU VDPAU / CUVID
Audio FFMpeg / Alsa / Analog
Audio FFMpeg / Alsa / Digital
Audio FFMpeg / OSS / Analog
HDMI/SPDIF pass-through
Software volume, compression, normalize and channel resample
VDR ScaleVideo API
Software deinterlacer Bob (VA-API only)
Autocrop
Grab image (VA-API / VDPAU / CUVID)
Suspend / Dettach
Letterbox, Stretch and Center cut-out video display modes
atmo light support with plugin http://github.com/durchflieger/DFAtmo
PIP (Picture-in-Picture) (VDPAU / CUVID)
planned: OSD accelerated by GPU VA-API
planned: Video output Opengl / Xv
planned: Improved software deinterlacer (yadif or/and ffmpeg filters)
XvBa support is no longer planned (use future Radeon UVD VDPAU)
%prep
%autosetup -p1 -n vdr-plugin-softhddevice-%{version}
# remove .git files and Gentoo files
rm -f .indent.pro .gitignore .gitattributes
rm -f vdr-softhddevice-9999.ebuild vdr-softhddevice-9999-pre1.7.36.ebuild
for f in ChangeLog README.txt; do
iconv -f iso8859-1 -t utf-8 $f >$f.conv
touch -r $f $f.conv
mv $f.conv $f
done
%build
%make_build CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags} -fPIC"
%install
%make_install
install -Dpm 644 %{SOURCE1} \
$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vdr-plugins.d/softhddevice.conf
%find_lang %{name}
%files -f %{name}.lang
%{vdr_plugindir}/libvdr-softhddevice.so.%{vdr_apiversion}
%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/softhddevice.conf
%doc ChangeLog README.txt
%license AGPL-3.0.txt
%changelog
* Mon Oct 21 2024 Martin Gansser <[email protected]> - 2.3.8-2
- Rebuilt for new VDR API version 2.7.3
* Wed Sep 25 2024 Martin Gansser <[email protected]> - 2.3.8-1
- Update to 2.3.8
* Sat Jul 27 2024 Martin Gansser <[email protected]> - 2.3.7-1
- Update to 2.3.7
* Sat Jul 27 2024 Martin Gansser <[email protected]> - 2.3.7-1
- Update to 2.3.7
* Fri Jul 26 2024 Martin Gansser <[email protected]> - 2.3.6-2
- Rebuilt for new VDR API version 2.6.9
* Mon Jul 22 2024 Martin Gansser <[email protected]> - 2.3.6-1
- Update to 2.3.6
* Fri Jul 12 2024 Martin Gansser <[email protected]> - 2.3.5-2
- Rebuilt for new VDR API version 2.6.8
* Tue Jul 09 2024 Martin Gansser <[email protected]> - 2.3.5-1
- Update to 2.3.5
* Mon Jun 10 2024 Martin Gansser <[email protected]> - 2.3.3-1
- Update to 2.3.3
* Tue Jun 04 2024 Martin Gansser <[email protected]> - 2.3.2-1
- Update to 2.3.2
* Tue May 21 2024 Martin Gansser <[email protected]> - 2.3.1-1
- Update to 2.3.1
* Sat May 11 2024 Martin Gansser <[email protected]> - 2.3.0-1
- Update to 2.3.0
* Thu May 02 2024 Martin Gansser <[email protected]> - 2.2.0-1
- Update to 2.2.0
* Sun Apr 21 2024 Martin Gansser <[email protected]> - 2.1.2-2
- Rebuilt for new VDR API version
* Mon Mar 18 2024 Martin Gansser <[email protected]> - 2.1.2-1
- Update to 2.1.2
* Sat Mar 09 2024 Martin Gansser <[email protected]> - 2.1.1-1
- Update to 2.1.1
* Tue Feb 06 2024 Martin Gansser <[email protected]> - 2.1.0-1
- Update to 2.1.0
* Sun Feb 04 2024 RPM Fusion Release Engineering <[email protected]> - 2.0.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 26 2024 Martin Gansser <[email protected]> - 2.0.9-2
- Rebuilt for new VDR API version
* Mon Jan 08 2024 Martin Gansser <[email protected]> - 2.0.9-1
- Rebuilt for new VDR API version
- Update to 2.0.9
* Fri Jan 05 2024 Martin Gansser <[email protected]> - 2.0.8-2
- Rebuilt for new VDR API version
* Tue Jan 02 2024 Martin Gansser <[email protected]> - 2.0.8-1
- Update to 2.0.8
* Sat Dec 02 2023 Martin Gansser <[email protected]> - 2.0.7-1
- Update to 2.0.7
* Sat Nov 04 2023 Martin Gansser <[email protected]> - 2.0.6-1
- Update to 2.0.6
* Mon Oct 23 2023 Martin Gansser <[email protected]> - 2.0.5-1
- Update to 2.0.5
* Wed Oct 18 2023 Martin Gansser <[email protected]> - 2.0.4-1
- Update to 2.0.4
* Sat Oct 14 2023 Martin Gansser <[email protected]> - 2.0.3-1
- Update to 2.0.3
* Wed Oct 11 2023 Martin Gansser <[email protected]> - 2.0.2-1
- Update to 2.0.2
* Mon Oct 09 2023 Martin Gansser <[email protected]> - 2.0.1-1
- Update to 2.0.1
* Sun Oct 08 2023 Martin Gansser <[email protected]> - 2.0.0-1
- Update to 2.0.0
* Tue Sep 12 2023 Martin Gansser <[email protected]> - 1.12.3-1
- Update to 1.12.3
* Wed Sep 06 2023 Martin Gansser <[email protected]> - 1.12.2-1
- Update to 1.12.2
* Mon Aug 14 2023 Martin Gansser <[email protected]> - 1.12.1-1
- Update to 1.12.1
* Sun Aug 06 2023 Martin Gansser <[email protected]> - 1.12.0-1
- Update to 1.12.0
* Wed Aug 02 2023 Martin Gansser <[email protected]> - 1.11.2-1
- Update to 1.11.2
* Thu Jul 20 2023 Martin Gansser <[email protected]> - 1.11.1-1
- Update to 1.11.1
* Mon Jul 17 2023 Martin Gansser <[email protected]> - 1.11.0-1
- Update to 1.11.0
* Wed Jul 05 2023 Martin Gansser <[email protected]> - 1.10.3-1
- Update to 1.10.3
* Thu Jun 29 2023 Martin Gansser <[email protected]> - 1.10.2-1
- Update to 1.10.2
* Thu Jun 22 2023 Martin Gansser <[email protected]> - 1.10.1-1
- Update to 1.10.1
* Tue Mar 21 2023 Martin Gansser <[email protected]> - 1.10.0-1
- Update to 1.10.0
* Mon Mar 06 2023 Leigh Scott <[email protected]> - 1.9.7-2
- Rebuild for new ffmpeg
* Thu Dec 22 2022 Martin Gansser <[email protected]> - 1.9.7-1
- Update to 1.9.7
* Sun Dec 18 2022 Martin Gansser <[email protected]> - 1.8.2-4
- Rebuilt for new VDR API version
* Sat Dec 03 2022 Martin Gansser <[email protected]> - 1.8.2-3
- Rebuilt for new VDR API version
* Mon Aug 08 2022 RPM Fusion Release Engineering <[email protected]> - 1.8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
5.1
* Mon Jul 18 2022 Martin Gansser <[email protected]> - 1.8.2-1
- Update to 1.8.2
* Fri Apr 22 2022 Sérgio Basto <[email protected]> - 1.4.0-2
- set minimum version of vdr for each branch
* Thu Apr 21 2022 Martin Gansser <[email protected]> - 1.4.0-1
- Update to 1.4.0
* Mon Apr 11 2022 Sérgio Basto <[email protected]> - 1.2.8-2
- Rebuilt for VDR 2.6.1
* Fri Feb 04 2022 Martin Gansser <[email protected]> - 1.2.8-1
- Update to 1.2.8
* Sat Jan 08 2022 Martin Gansser <[email protected]> - 1.2.7-1
- Update to 1.2.7
* Thu Dec 30 2021 Martin Gansser <[email protected]> - 1.2.5-2
- Rebuilt for new VDR API version
* Mon Nov 29 2021 Martin Gansser <[email protected]> - 1.2.5-1
- Update to 1.2.5
* Sat Nov 06 2021 Martin Gansser <[email protected]> - 1.2.4-1
- Update to 1.2.4
* Sat Jul 31 2021 Martin Gansser <[email protected]> - 1.2.2-1
- Update to 1.2.2
* Fri Jul 09 2021 Martin Gansser <[email protected]> - 1.2.1-1
- Update to 1.2.1
* Sat Jun 19 2021 Martin Gansser <[email protected]> - 1.2.0-1
- Update to 1.2.0
* Mon May 31 2021 Martin Gansser <[email protected]> - 1.1.1-1
- Update to 1.1.1
* Mon Apr 26 2021 Martin Gansser <[email protected]> - 1.1.0-2
- Rebuilt for new VDR API version
* Mon Apr 05 2021 Martin Gansser <[email protected]> - 1.1.0-1
- Update to 1.1.0
* Tue Mar 23 2021 Martin Gansser <[email protected]> - 1.0.15-1
- Update to 1.0.15
- Add BR glm-devel
* Sat Feb 27 2021 Martin Gansser <[email protected]> - 1.0.14-1
- Update to 1.0.14
* Fri Feb 12 2021 Martin Gansser <[email protected]> - 1.0.13-1
- Update to 1.0.13
* Thu Feb 04 2021 RPM Fusion Release Engineering <[email protected]> - 1.0.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jan 25 2021 Martin Gansser <[email protected]> - 1.0.12-1
- Update to 1.0.12
* Tue Jan 05 2021 Martin Gansser <[email protected]> - 1.0.11-1
- Update to 1.0.11
* Mon Jan 04 2021 Martin Gansser <[email protected]> - 1.0.10-1
- Update to 1.0.10
* Mon Jan 04 2021 Martin Gansser <[email protected]> - 1.0.9-2
- Rebuilt for new VDR API version
* Tue Dec 29 2020 Martin Gansser <[email protected]> - 1.0.9-1
- Use fork because its under maintenance
- fixes (rfbz#5882)
* Wed Oct 21 2020 Martin Gansser <[email protected]> - 0.6.1-27.20151103git6dfa88a
- Rebuilt for new VDR API version
* Thu Aug 27 2020 Martin Gansser <[email protected]> - 0.6.1-26.20151103git6dfa88a
- Rebuilt for new VDR API version
* Tue Aug 18 2020 RPM Fusion Release Engineering <[email protected]> - 0.6.1-25.20151103git6dfa88a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Feb 05 2020 RPM Fusion Release Engineering <[email protected]> - 0.6.1-24.20151103git6dfa88a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Aug 09 2019 RPM Fusion Release Engineering <[email protected]> - 0.6.1-23.20151103git6dfa88a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Jul 01 2019 Martin Gansser <[email protected]> - 0.6.1-22.20151103git6dfa88a
- Rebuilt for new VDR API version 2.4.1
* Sun Jun 30 2019 Martin Gansser <[email protected]> - 0.6.1-21.20151103git6dfa88a
- Rebuilt for new VDR API version
* Tue Jun 18 2019 Martin Gansser <[email protected]> - 0.6.1-20.20151103git6dfa88a
- Rebuilt for new VDR API version
* Tue Mar 05 2019 RPM Fusion Release Engineering <[email protected]> - 0.6.1-19.20151103git6dfa88a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Oct 11 2018 Martin Gansser <[email protected]> - 0.6.1-18.20151103git6dfa88a
- Add BR gcc-c++
* Sun Aug 19 2018 Leigh Scott <[email protected]> - 0.6.1-17.20151103git6dfa88a
- Rebuilt for Fedora 29 Mass Rebuild binutils issue
* Fri Jul 27 2018 RPM Fusion Release Engineering <[email protected]> - 0.6.1-16.20151103git6dfa88a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Apr 18 2018 Martin Gansser <[email protected]> - 0.6.1-15.20151103git6dfa88a
- Rebuilt for vdr-2.4.0
* Mon Feb 26 2018 Leigh Scott <[email protected]> - 0.6.1-14.20151103git6dfa88a
- Use compat-ffmpeg28 for F28
* Thu Jan 18 2018 Leigh Scott <[email protected]> - 0.6.1-13.20151103git6dfa88a
- Rebuilt for ffmpeg-3.5 git
* Mon Jan 15 2018 Nicolas Chauvet <[email protected]> - 0.6.1-12.20151103git6dfa88a
- Rebuilt for VA-API 1.0.0
* Thu Aug 31 2017 RPM Fusion Release Engineering <[email protected]> - 0.6.1-11.20151103git6dfa88a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Apr 30 2017 Leigh Scott <[email protected]> - 0.6.1-10.20151103git6dfa88a
- Rebuild for ffmpeg update
* Tue Jun 28 2016 Martin Gansser <[email protected]> - 0.6.1-9.20151103git6dfa88a
- Added ffmpeg_2.9.patch
* Wed Nov 04 2015 Martin Gansser <[email protected]> - 0.6.1-8.20151103git6dfa88a
- update for new git snapshot
* Wed Oct 07 2015 Martin Gansser <[email protected]> - 0.6.1-7.20151006gitee2311d
- update for new git snapshot
* Fri Oct 02 2015 Martin Gansser <[email protected]> - 0.6.1-6.20151001git5dc5601
- update for new git snapshot
* Wed Sep 30 2015 Martin Gansser <[email protected]> - 0.6.1-5.20150930gitf47ee3a
- update for new git snapshot
* Fri Sep 25 2015 Martin Gansser <[email protected]> - 0.6.1-4.20150924git509329c
- update for new git snapshot
* Wed Aug 26 2015 Martin Gansser <[email protected]> - 0.6.1-3.20150826git8c347fd
- update for new git snapshot
* Mon Aug 17 2015 Martin Gansser <[email protected]> - 0.6.1-2.20150817git06b8f77
- update for new git snapshot
* Fri Aug 14 2015 Martin Gansser <[email protected]> - 0.6.1-1.20150810git700c8e8
- update for new git snapshot
* Sat Jul 04 2015 Martin Gansser <[email protected]> - 0.6.0-30.20150630gitec58e45
- renamed arm.patch to chartype.patch
* Tue Jun 30 2015 Martin Gansser <[email protected]> - 0.6.0-29.20150630gitec58e45
- update for new git snapshot
* Mon Jun 29 2015 Martin Gansser <[email protected]> - 0.6.0-28.20150619git396d5fa
- added R xorg-x11-server-Xorg
- added exit-crash.patch
- added arm.patch
* Fri Jun 19 2015 Martin Gansser <[email protected]> - 0.6.0-27.20150619git396d5fa
- update for new git snapshot
* Wed Apr 22 2015 Martin Gansser <[email protected]> - 0.6.0-26.20150422gitf0d31ad
- update for new git snapshot
* Tue Mar 10 2015 Martin Gansser <[email protected]> - 0.6.0-25.20150310gita1939eb
- update for new git snapshot
* Mon Feb 16 2015 Martin Gansser <[email protected]> - 0.6.0-24.20150216git93ea660
- update for new git snapshot
* Thu Feb 12 2015 Martin Gansser <[email protected]> - 0.6.0-23.20150212git1d06c5b
- update for new git snapshot
- Compile with vdr 2.1.10
- mark license files as %%license where available
* Mon Feb 09 2015 Martin Gansser <[email protected]> - 0.6.0-22.20150209git2ceeb6d
- update for new git snapshot
* Mon Oct 20 2014 Sérgio Basto <[email protected]> - 0.6.0-21.20141016git9f134c1
- Rebuilt for FFmpeg 2.4.3
* Thu Oct 16 2014 Martin Gansser <[email protected]> - 0.6.0-20.20141016git9f134c1
- update for new git snapshot
* Wed Oct 15 2014 Martin Gansser <[email protected]> - 0.6.0-19.20141013gitac1d525
- update for new git snapshot
* Sat Oct 11 2014 Martin Gansser <[email protected]> - 0.6.0-18.20141011gitc2556eb
- update for new git snapshot
* Wed Sep 24 2014 Martin Gansser <[email protected]> - 0.6.0-17.20140924gita3c0052
- update for new git snapshot
* Wed Aug 13 2014 Martin Gansser <[email protected]> - 0.6.0-16.20140813git8b7402a
- update for new git snapshot
* Wed Jun 25 2014 Martin Gansser <[email protected]> - 0.6.0-15.20140625git37f409c
- update for new git snapshot
* Wed Jun 04 2014 Martin Gansser <[email protected]> - 0.6.0-14.20140604git5207af6
- update for new git snapshot
* Sun Apr 20 2014 Martin Gansser <[email protected]> - 0.6.0-13.20140420git0cdedb8
- changed Summary
- update for new git snapshot
* Fri Feb 28 2014 Martin Gansser <[email protected]> - 0.6.0-12.20140228git42bbb76
- update for new git snapshot
* Thu Feb 13 2014 Martin Gansser <[email protected]> - 0.6.0-11.20140212git3d3a88e
- update for new git snapshot
* Wed Jan 29 2014 Martin Gansser <[email protected]> - 0.6.0-10.20140129git340e10a
- update for new git snapshot
* Fri Jan 24 2014 Martin Gansser <[email protected]> - 0.6.0-9.20140124gita45b9a3
- update for new git snapshot
- added gitdate
* Tue Jan 14 2014 Martin Gansser <[email protected]> - 0.6.0-8.590bae4
- update for new git snapshot
* Thu Jan 09 2014 Martin Gansser <[email protected]> - 0.6.0-7.978fc59
- removed gittag
- updated description
- put together README and changelog file conversion in %%prep section
- removed sed patching of Makefile
- changed changelog revision
- changed build flags
* Thu Jan 09 2014 Martin Gansser <[email protected]> - 0.6.0-6.git978fc59
- used macro commit in Source
- cleanup %%install section
- removed marcro defattr
- removed marcro pname
- removed marcro commitdate
* Wed Jan 08 2014 Martin Gansser <[email protected]> - 0.6.0-5.20140108git978fc59
- update for new git snapshot
* Mon Jan 06 2014 Martin Gansser <[email protected]> - 0.6.0-4.20131204git8577292
- update for new git snapshot
* Mon Jan 06 2014 Martin Gansser <[email protected]> - 0.6.0-3.20131204gita74a8e1
- correct git snapshot address
- correct wrong git date in %%changelog
* Sun Jan 05 2014 Martin Gansser <[email protected]> - 0.6.0-2.20131204gita74a8e1
- rebuild
- changed license type
- correct url address
- removed .git files
* Sun Dec 22 2013 Martin Gansser <[email protected]> - 0.6.0-1.20131204gita74a8e1
- rebuild for new version
* Sat Dec 31 2011 Zoran Pericic <[email protected]> - 0.1.4-1
- Initial build