]> git.pld-linux.org Git - packages/gpac.git/blobdiff - gpac.spec
- wxWidgets rebuild
[packages/gpac.git] / gpac.spec
index 60efda27648c05c86f27bcfcafdcb0f0d558005c..83baa60ee70f8275c17146b891bcc4bed68f9701 100644 (file)
--- a/gpac.spec
+++ b/gpac.spec
@@ -6,11 +6,12 @@
 #
 # Conditional build:
 %bcond_with    amr             # AMR-NB and AMR-WB (floating-point) support
+%bcond_without directfb        # DirectFB support
 %bcond_without faad            # AAC decoding support
 %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
@@ -20,7 +21,7 @@ Summary:      GPAC - an implementation of the MPEG-4 Systems standard (ISO/IEC 14496-
 Summary(pl.UTF-8):     GPAC - implementacja standardu MPEG-4 Systems (ISO/IEC 14496-1)
 Name:          gpac
 Version:       0.5.0
-Release:       2
+Release:       11
 License:       LGPL v2+
 Group:         Applications/Multimedia
 Source0:       http://downloads.sourceforge.net/gpac/%{name}-%{version}.tar.gz
@@ -34,8 +35,9 @@ Patch5:               %{name}-idl_uuid.patch
 Patch6:                %{name}-js.patch
 Patch7:                %{name}-apps.patch
 Patch8:                %{name}-export.patch
+Patch9:                %{name}-ffmpeg2.patch
 URL:           http://gpac.sourceforge.net/
-BuildRequires: DirectFB-devel
+%{?with_directfb:BuildRequires:        DirectFB-devel}
 BuildRequires: OpenGL-GLU-devel
 BuildRequires: SDL-devel
 BuildRequires: a52dec-libs-devel
@@ -162,6 +164,7 @@ Wtyczka GPAC dla przeglÄ…darek WWW zgodnych z Netscape.
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p0
 
 sed -i -e 's/wx-config/wx-gtk2-unicode-config/' configure
 chmod a+x configure
@@ -193,16 +196,18 @@ chmod a+x configure
        %{!?with_xvid:--use-xvid=no} \
        --xulsdk-path="/usr/include/xulrunner -I/usr/include/nspr"
 
+%{!?with_directfb: sed -i 's/CONFIG_DIRECTFB.*/CONFIG_DIRECTFB=no/' config.mak}
+
 %{__make} -j1
 
 %install
 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}
 
This page took 0.047729 seconds and 4 git commands to generate.