SHA256
1
0
forked from pool/freetype2

Accepting request 209891 from home:sumski:branches:M17N

Update to version 2.5.1

OBS-URL: https://build.opensuse.org/request/show/209891
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=80
This commit is contained in:
2013-12-09 02:46:52 +00:00
committed by Git OBS Bridge
parent 2b1fa4018b
commit 5bd93ea7e5
13 changed files with 347 additions and 16 deletions

View File

@@ -17,17 +17,21 @@
Name: ft2demos
Version: 2.5.0
Version: 2.5.1
Release: 0
Summary: Freetype2 Utilities and Demo Programs
License: GPL-2.0+
Group: Productivity/Publishing/Other
%define freetype_version 2.5.0.1
%define freetype_version 2.5.1
Url: http://www.freetype.org
Source0: http://savannah.nongnu.org/download/freetype/freetype-%{freetype_version}.tar.bz2
Source1: http://savannah.nongnu.org/download/freetype/ft2demos-%{version}.tar.bz2
Patch308961: bugzilla-308961-cmex-workaround.patch
Patch200: freetype2-subpixel.patch
# PATCH-FIX-UPSTREAM fix-compile-in-non-debug.patch
Patch201: fix-compile-in-non-debug.patch
# PATCH-FIX-UPSTREAM overflow.patch -- I: Statement is overflowing a buffer
Patch202: overflow.patch
BuildRequires: libpng-devel
BuildRequires: xorg-x11-devel
Conflicts: dtc
@@ -49,6 +53,10 @@ Freetype2 utilities and demo programs.
%if %{enable_subpixel_rendering}
%patch200 -p 1 -b .subpixel
%endif
pushd ../ft2demos-%{version}
%patch201 -p1
%patch202 -p1
popd
%build
export CFLAGS="%optflags -std=gnu99 -D_GNU_SOURCE $(getconf LFS_CFLAGS)"