Resolves:rhbz#1830502 - Add missing WOFF2 support

This commit is contained in:
Parag Nemade 2020-05-02 16:17:56 +05:30
parent cf517d7106
commit af582c2347
No known key found for this signature in database
GPG Key ID: 71932951EB71E972

View File

@ -3,7 +3,7 @@
Name: fontforge
Version: 20200314
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Outline and bitmap font editor
License: GPLv3+
@ -38,6 +38,7 @@ BuildRequires: libspiro-devel
BuildRequires: python3-devel
BuildRequires: readline-devel
BuildRequires: libappstream-glib
BuildRequires: woff2-devel
# F25 build is failing add following to fix
BuildRequires: shared-mime-info
# F33 onward need now
@ -83,7 +84,8 @@ rm -rf build && mkdir build
pushd build
export CFLAGS="%{optflags} -fno-strict-aliasing"
%cmake .. -DCMAKE_BUILD_TYPE=Release
%cmake .. -DCMAKE_BUILD_TYPE=Release \
-DENABLE_WOFF2=ON
%{make_build}
popd
@ -136,6 +138,9 @@ popd
%doc %{_pkgdocdir}
%changelog
* Sat May 02 2020 Parag Nemade <pnemade AT redhat DOT com> - 20200314-5
- Resolves:rhbz#1830502 - Add missing WOFF2 support
* Wed Apr 15 2020 Parag Nemade <pnemade AT redhat DOT com> - 20200314-4
- Resolves:rhbz#1823525 - fontforge fails to build with Sphinx 3.0.0