%bcond_without ffmpeg # ffmpeg support
%bcond_without freetype # freetype support
%bcond_without jpeg # JPEG support
-%bcond_without js # JavaScript support
+%bcond_with js # JavaScript support
%bcond_without mad # MP3 support
%bcond_without png # PNG support
%bcond_without xvid # xvid support
Summary(pl.UTF-8): GPAC - implementacja standardu MPEG-4 Systems (ISO/IEC 14496-1)
Name: gpac
Version: 0.5.0
-Release: 2
+Release: 13
License: LGPL v2+
Group: Applications/Multimedia
Source0: http://downloads.sourceforge.net/gpac/%{name}-%{version}.tar.gz
Patch6: %{name}-js.patch
Patch7: %{name}-apps.patch
Patch8: %{name}-export.patch
+Patch9: %{name}-ffmpeg2.patch
+Patch10: wxWidgets3.patch
URL: http://gpac.sourceforge.net/
%{?with_directfb:BuildRequires: DirectFB-devel}
BuildRequires: OpenGL-GLU-devel
%patch6 -p1
%patch7 -p1
%patch8 -p1
+%patch9 -p0
+%patch10 -p1
sed -i -e 's/wx-config/wx-gtk2-unicode-config/' configure
chmod a+x configure
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
-%{__make} install install-lib \
+%{__make} -j1 install install-lib \
DESTDIR=$RPM_BUILD_ROOT
-%{__make} -C applications install \
+%{__make} -j1 -C applications install \
DESTDIR=$RPM_BUILD_ROOT \
MOZILLA_DIR=$RPM_BUILD_ROOT%{_browserpluginsdir}