Patch0: x32.patch
Patch1: ffmpeg3.patch
Patch2: 64bit.patch
+Patch3: 32bit.patch
URL: https://tvheadend.org/projects/tvheadend
BuildRequires: avahi-devel
BuildRequires: curl-devel
%ifarch %{x8664}
%patch2 -p1
%endif
+%ifarch %{ix86} x32
+%patch3 -p1
+%endif
%build
export CFLAGS="%{rpmcflags}"