actually, do it that way
This commit is contained in:
parent
3d99854a92
commit
56f472dcc2
@ -14,7 +14,6 @@ Source2: 50-no-hint-fonts.conf
|
|||||||
|
|
||||||
Patch1: fontconfig-2.3.91-defaultconfig.patch
|
Patch1: fontconfig-2.3.91-defaultconfig.patch
|
||||||
Patch2: fontconfig-2.3.91-crosscheck.patch
|
Patch2: fontconfig-2.3.91-crosscheck.patch
|
||||||
Patch3: fontconfig-nodocs.patch
|
|
||||||
|
|
||||||
BuildRequires: freetype-devel >= %{freetype_version}
|
BuildRequires: freetype-devel >= %{freetype_version}
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
@ -52,13 +51,14 @@ will use fontconfig.
|
|||||||
|
|
||||||
%patch1 -p1 -b .defaultconfig
|
%patch1 -p1 -b .defaultconfig
|
||||||
%patch2 -p1 -b .crosscheck
|
%patch2 -p1 -b .crosscheck
|
||||||
%ifarch ppc
|
|
||||||
%patch3 -p1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
%ifnarch ppc
|
||||||
%configure --with-add-fonts=/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/OTF
|
%configure --with-add-fonts=/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/OTF
|
||||||
|
%else
|
||||||
|
%configure --with-add-fonts=/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/OTF --disable-docs
|
||||||
|
%endif
|
||||||
|
|
||||||
# Work around weird elinks bug where elinks refuses to open the
|
# Work around weird elinks bug where elinks refuses to open the
|
||||||
# temporary html file generated by jade because it thinks it's a
|
# temporary html file generated by jade because it thinks it's a
|
||||||
|
Loading…
Reference in New Issue
Block a user