# Source1-md5: 705f6993fbf890e92eb7a331e7c716d1
Patch0: %{name}-install.patch
Patch1: %{name}-wxWidgets.patch
+Patch2: %{name}-amd64.patch
URL: http://gpac.sourceforge.net/
BuildRequires: SDL-devel
%{?with_faad:BuildRequires: faad2-devel}
%setup -q -n %{name}
%patch0 -p1
%{?with_wx:%patch1 -p1}
+%patch2 -p1
%if %{with amr}
mkdir -p Plugins/amr_dec/AMR_NB
cd Plugins/amr_dec/AMR_NB