Skip to content

Commit

Permalink
[xulrunner] Use system cairo and pixman. Contributes to JB#36010
Browse files Browse the repository at this point in the history
  • Loading branch information
pvuorela committed Aug 17, 2016
1 parent 2bd669c commit d996168
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions rpm/xulrunner-qt5.spec
Expand Up @@ -13,6 +13,8 @@
%define system_icu 0
%define system_zlib 1
%define system_bz2 1
%define system_pixman 1
%define system_cairo 1

%global mozappdir %{_libdir}/%{name}-%{greversion}
%global mozappdirdev %{_libdir}/%{name}-devel-%{greversion}
Expand Down Expand Up @@ -117,6 +119,12 @@ Requires: gstreamer1.0-plugins-good
%if %{system_ffi}
BuildRequires: libffi-devel
%endif
%if %{system_pixman}
BuildRequires: pkgconfig(pixman-1)
%endif
%if %{system_cairo}
BuildRequires: pkgconfig(cairo)
%endif

%description
Mozilla XUL runner
Expand Down Expand Up @@ -239,6 +247,14 @@ echo "ac_add_options --with-app-name=%{name}" >> "$MOZCONFIG"
echo "ac_add_options --with-system-bz2" >> "${MOZCONFIG}"
%endif

%if %{system_pixman}
echo "ac_add_options --enable-system-pixman" >> "${MOZCONFIG}"
%endif

%if %{system_cairo}
echo "ac_add_options --enable-system-cairo" >> "${MOZCONFIG}"
%endif

# https://bugzilla.mozilla.org/show_bug.cgi?id=1002002
echo "ac_add_options --disable-startupcache" >> "$MOZCONFIG"

Expand Down

0 comments on commit d996168

Please sign in to comment.