add few more explicit build reqs and configure opts

This commit is contained in:
David Tardon 2017-02-17 13:39:03 +01:00
parent 4ad9fd4e70
commit 9311894f9d

View File

@ -11,16 +11,32 @@ Patch0: poppler-0.30.0-rotated-words-selection.patch
BuildRequires: gettext-devel
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(cairo-ft)
BuildRequires: pkgconfig(cairo-pdf)
BuildRequires: pkgconfig(cairo-ps)
BuildRequires: pkgconfig(cairo-svg)
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libopenjp2)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(nss)
BuildRequires: pkgconfig(poppler-data)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: pkgconfig(QtCore)
BuildRequires: pkgconfig(QtGui)
BuildRequires: pkgconfig(QtTest)
BuildRequires: pkgconfig(QtXml)
Requires: poppler-data
@ -123,8 +139,12 @@ Requires: %{name}-glib%{?_isa} = %{version}-%{release}
--disable-silent-rules \
--disable-static \
--enable-cairo-output \
--enable-cms=lcms2 \
--enable-gtk-test \
--enable-libjpeg \
--enable-libopenjpeg=openjpeg2 \
--enable-libpng \
--enable-poppler-glib \
--enable-poppler-qt4 \
--enable-poppler-qt5 \
--enable-xpdf-headers \