commit 5f1bbd69766addf973b06b45bb5d2b560fe4fda7
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Wed Apr 12 14:49:06 2017 +0200
Update to 4.0.10 + enable DVBCSA support
tvheadend.spec | 37 ++++++++++++++++++++-----------------
1 file changed, 20 insertions(+), 17 deletions(-)
---
diff --git a/tvheadend.spec b/tvheadend.spec
index d21968f..b948d2e 100644
--- a/tvheadend.spec
+++ b/tvheadend.spec
@@ -2,41 +2,40 @@
%global tvheadend_group video
Name: tvheadend
-Version: 4.0.9
-Release: 3%{?dist}
+Version: 4.0.10
+Release: 1%{?dist}
Summary: TV streaming server and digital video recorder
Group: Applications/Multimedia
License: GPLv3+
URL:
https://tvheadend.org/
Source0:
https://github.com/tvheadend/%{name}/archive/v%{version}/%{name}-%{versio...
-# Fix build, see
https://github.com/tvheadend/tvheadend/commit/9ddcb8d
-Patch0: %{name}-4.0.9-build.patch
# Fix build with FFmpeg >= 3.0, based on:
# -
https://github.com/tvheadend/tvheadend/commit/ea02889
# -
https://github.com/tvheadend/tvheadend/commit/c63371c
# -
https://github.com/tvheadend/tvheadend/commit/3cbee55
# -
https://github.com/tvheadend/tvheadend/commit/374ab83
-Patch1: %{name}-4.0.9-ffmpeg_3.0.patch
+Patch0: %{name}-4.0.9-ffmpeg_3.0.patch
# Use system queue.h header
-Patch2: %{name}-4.0.9-use_system_queue.patch
+Patch1: %{name}-4.0.9-use_system_queue.patch
# Fix build with hdhomerun
-Patch3: %{name}-4.0.9-hdhomerun.patch
+Patch2: %{name}-4.0.9-hdhomerun.patch
# Fix system DTV scan tables path
-Patch4: %{name}-4.0.9-dtv_scan_tables.patch
+Patch3: %{name}-4.0.9-dtv_scan_tables.patch
# Fix systemd service and configuration:
# - Fix daemon user path
# - Fix daemon group (use video to access DVB devices)
# - Add -C option to allow UI access without login at first run
-Patch5: %{name}-4.0.9-service.patch
+Patch4: %{name}-4.0.9-service.patch
# Enforcing system crypto policies, see
#
https://fedoraproject.org/wiki/Packaging:CryptoPolicies
-Patch6: %{name}-4.0.9-crypto_policies.patch
+Patch5: %{name}-4.0.9-crypto_policies.patch
BuildRequires: bzip2
BuildRequires: gcc
BuildRequires: gzip
BuildRequires: hdhomerun-devel
+BuildRequires: libdvbcsa-devel
BuildRequires: pkgconfig(avahi-client)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(libavcodec)
@@ -70,16 +69,15 @@ MPEG-TS stream generated by ffmpeg/libav from a V4L device.
%prep
%setup -q
-%patch0 -p0 -b .build
# RPM Fusion provides FFMpeg 3.0 for Fedora >= 24
%if 0%{?fedora} >= 24
-%patch1 -p0 -b .ffmpeg_3.0
+%patch0 -p0 -b .ffmpeg_3.0
%endif
-%patch2 -p0 -b .use_system_queue
-%patch3 -p0 -b .hdhomerun
-%patch4 -p0 -b .dtv_scan_tables
-%patch5 -p0 -b .service
-%patch6 -p0 -b .crypto_policies
+%patch1 -p0 -b .use_system_queue
+%patch2 -p0 -b .hdhomerun
+%patch3 -p0 -b .dtv_scan_tables
+%patch4 -p0 -b .service
+%patch5 -p0 -b .crypto_policies
# Delete bundled system headers
rm -r vendor/{dvb-api,include}/
@@ -93,6 +91,7 @@ touch -r Makefile configure
--disable-dvbscan \
--disable-hdhomerun_static \
--disable-libffmpeg_static_x264 \
+ --enable-dvbcsa \
--enable-hdhomerun_client
%make_build V=1
@@ -143,6 +142,10 @@ exit 0
%changelog
+* Wed Apr 12 2017 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 4.0.10-1
+- Update to 4.0.10
+- Enable DVBCSA support
+
* Tue Aug 09 2016 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 4.0.9-3
- Merge all FFmpeg patches into a single one