SHA256
1
0
forked from pool/freetype2

Accepting request 298497 from home:namtrac:branches:M17N

- Enable harfbuzz for only suse_version > 1320. Dependency is
  not available on older releases.

OBS-URL: https://build.opensuse.org/request/show/298497
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=97
This commit is contained in:
Fridrich Strba 2015-04-22 09:22:16 +00:00 committed by Git OBS Bridge
parent 8b15b28f7b
commit cece4c69df
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 22 08:15:19 UTC 2015 - idonmez@suse.com
- Enable harfbuzz for only suse_version > 1320. Dependency is
not available on older releases.
-------------------------------------------------------------------
Fri Apr 10 09:43:06 UTC 2015 - fstrba@suse.com

View File

@ -34,8 +34,10 @@ Patch200: freetype2-subpixel.patch
Patch202: don-t-mark-libpng-as-required-library.patch
Patch308961: bugzilla-308961-cmex-workaround.patch
BuildRequires: gawk
%if 0%{?suse_version} > 1320
# We build against a minimal bootstrap package in order to avoid a circular dependency
BuildRequires: harfbuzz-bootstrap-devel
%endif
BuildRequires: libbz2-devel
BuildRequires: libpng-devel
BuildRequires: pkg-config
@ -95,7 +97,9 @@ It also contains a small tutorial for using that library.
export CFLAGS="%{optflags} -std=gnu99 -D_GNU_SOURCE $(getconf LFS_CFLAGS)"
%configure \
--with-bzip2 \
%if 0%{?suse_version} > 1320
--with-harfbuzz \
%endif
--with-png \
--with-zlib \
--disable-static