Summary: HarfBuzz - internationalized text shaping library
Summary(pl.UTF-8): HarfBuzz - biblioteka rysująca tekst z obsługą wielu języków
Name: harfbuzz
-Version: 2.6.4
+Version: 2.6.6
Release: 1
License: MIT
Group: Libraries
-Source0: https://www.freedesktop.org/software/harfbuzz/release/%{name}-%{version}.tar.xz
-# Source0-md5: 2b3a4dfdb3e5e50055f941978944da9f
-Patch0: pc_deps.patch
-URL: https://www.freedesktop.org/wiki/HarfBuzz
+Source0: https://github.com/harfbuzz/harfbuzz/releases/download/%{version}/%{name}-%{version}.tar.xz
+# Source0-md5: dc2476603aa837ef7edca77f09a0602b
+URL: https://harfbuzz.github.io/
BuildRequires: autoconf >= 2.64
BuildRequires: automake >= 1:1.13.0
BuildRequires: cairo-devel >= 1.8.0
%prep
%setup -q
-%patch0 -p1
-
%build
%{__libtoolize}
%{__aclocal} -I m4
%{_includedir}/harfbuzz/hb-buffer.h
%{_includedir}/harfbuzz/hb-common.h
%{_includedir}/harfbuzz/hb-deprecated.h
+%{_includedir}/harfbuzz/hb-draw.h
%{_includedir}/harfbuzz/hb-face.h
%{_includedir}/harfbuzz/hb-font.h
%{_includedir}/harfbuzz/hb-ft.h
+++ /dev/null
-diff -dur harfbuzz-1.3.0.orig/src/Makefile.am harfbuzz-1.3.0/src/Makefile.am
---- harfbuzz-1.3.0.orig/src/Makefile.am 2016-07-13 04:09:47.000000000 +0200
-+++ harfbuzz-1.3.0/src/Makefile.am 2016-09-20 15:11:30.000000000 +0200
-@@ -58,7 +58,7 @@
- # built with HarfBuzz support enabled. Newer pkg-config handles that just
- # fine but pkg-config 0.26 as shipped in Ubuntu 14.04 crashes. Remove
- # in a year or two, or otherwise work around it...
--#HBDEPS += $(FREETYPE_DEPS)
-+HBDEPS += $(FREETYPE_DEPS)
- HBSOURCES += $(HB_FT_sources)
- HBHEADERS += $(HB_FT_headers)
- endif