Summary(pl): Osobista aplikacja do nagrywania obrazu (PVR)
Name: mythtv
Version: 0.19
-Release: 1
+Release: 2.2
License: GPL v2
Group: Applications/Multimedia
Source0: http://www.mythtv.org/mc/%{name}-%{version}.tar.bz2
Patch4: %{name}-pl.patch
Patch5: %{name}-sbinpath.patch
Patch6: %{name}-ticket-1310.patch
+Patch7: %{name}-optflags.patch
+Patch8: %{name}-branch.diff
URL: http://www.mythtv.org/
#BuildRequires: DirectFB-devel
BuildRequires: XFree86-devel
%{?with_alsa:BuildRequires: alsa-lib-devel}
%{?with_arts:BuildRequires: arts-devel >= 13:0.9.5}
+BuildRequires: freetype-devel >= 1:2.0.0
%{?with_jack:BuildRequires: jack-audio-connection-kit-devel}
+BuildRequires: lame-libs-devel
+%{?with_xvmc:BuildRequires: libXvMCW-devel}
+%{?with_firewire:BuildRequires: libavc1394-devel}
%{?with_dvb:BuildRequires: libdvb-devel}
BuildRequires: libdvdnav-devel
+%{?with_firewire:BuildRequires: libiec61883-devel}
+%{?with_firewire:BuildRequires: libraw1394-devel}
%{?with_oggvorbis:BuildRequires: libvorbis-devel}
-%if %{with firewire}
-BuildRequires: libavc1394-devel
-BuildRequires: libiec61883-devel # missing in PLD?
-BuildRequires: libraw1394-devel
-%endif
-BuildRequires: freetype-devel >= 1:2.0.0
-BuildRequires: gcc-c++
-BuildRequires: lame-libs-devel
-%{?with_xvmc:BuildRequires: libXvMCW-devel}
BuildRequires: linux-libc-headers >= 7:2.6.10
%{?with_lirc:BuildRequires: lirc-devel}
BuildRequires: mysql-devel
+BuildRequires: patchutils
BuildRequires: qmake >= 6:3.2.1-4
BuildRequires: qt-devel >= 6:3.2.1-4
BuildRequires: rpmbuild(macros) >= 1.228
BuildRequires: sed >= 4.0
# for bundled libavcodec
BuildRequires: libdts-devel
-BuildConflicts: libmyth-devel
+#BuildConflicts: libmyth-devel
ExclusiveArch: %{ix86} %{x8664} ppc
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%patch4 -p1
%patch5 -p1
%patch6 -p0
+%patch7 -p1
+filterdiff -i 'mythtv/*' %{PATCH8} | %{__patch} -p1 -s
rm -rf database/old # not supported in PLD
%if %{with cpu_autodetect}
--enable-proc-opt \
%else
- %ifarch %{ix86}
+ %ifarch %{ix86}
%ifarch athlon
--arch=athlon \
%else
--cpu=i386 --tune=pentium4 \
%endif
- %endif
- %ifarch %{x8664}
+ %endif
+ %ifarch %{x8664}
--arch=x86_64 \
- %endif
+ %endif
%{?with_mmx:--enable-mmx} \
%endif
%{?with_dvb:--enable-dvb --dvb-path=%{_includedir} --enable-dvb-eit} \
--%{?with_arts:en}%{!?with_arts:dis}able-audio-arts \
--%{?with_alsa:en}%{!?with_alsa:dis}able-audio-alsa \
--%{?with_oss:en}%{!?with_oss:dis}able-audio-oss \
- --%{?with_oss:en}%{!?with_oss:dis}able-audio-jack \
+ --%{?with_jack:en}%{!?with_jack:dis}able-audio-jack \
--enable-dvd \
--%{?with_opengl:en}%{!?with_opengl:dis}able-opengl-vsync \
--%{?with_lirc:en}%{!?with_lirc:dis}able-lirc \