]> git.pld-linux.org Git - packages/crossmingw32-harfbuzz.git/blobdiff - crossmingw32-harfbuzz.spec
- updated to 2.6.2
[packages/crossmingw32-harfbuzz.git] / crossmingw32-harfbuzz.spec
index f930ec8f5aa1a1c0351250d3c6a7353ed8bfe714..93ff4fc584dd1eae68c83393dd04038d2412e7f2 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       HarfBuzz - internationalized text shaping library - MinGW32 cross version
 Summary(pl.UTF-8):     Rasteryzer fontów TrueType - wersja skrośna dla MinGW32
 Name:          crossmingw32-harfbuzz
-Version:       2.3.1
-Release:       2
+Version:       2.6.2
+Release:       1
 License:       MIT
 Group:         Development/Libraries
-Source0:       https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-%{version}.tar.bz2
-# Source0-md5: 531de9df7c8a5405dd9c6a873fcee8c2
+Source0:       https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-%{version}.tar.xz
+# Source0-md5: 1551bb7ebe970d3466787cd26cfa7f76
 Patch0:                harfbuzz-win32.patch
 URL:           https://www.freedesktop.org/wiki/HarfBuzz
 BuildRequires: autoconf >= 2.64
@@ -19,6 +19,8 @@ BuildRequires:        crossmingw32-gcc-c++ >= 1:4.7
 BuildRequires: crossmingw32-pthreads-w32
 BuildRequires: libtool >= 2:2.2
 BuildRequires: pkgconfig >= 1:0.20
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
 Requires:      crossmingw32-freetype >= 2.9
 Requires:      crossmingw32-glib2 >= 2.38
 Requires:      crossmingw32-gcc-c++ >= 1:4.7
@@ -144,6 +146,7 @@ export PKG_CONFIG_LIBDIR=%{_pkgconfigdir}
 %configure \
        CPPFLAGS="%{rpmcppflags} -D_GNU_SOURCE" \
        CXXFLAGS="%{rpmcxxflags} -std=gnu++11" \
+       PTHREAD_LIBS="-lpthread" \
        --target=%{target} \
        --build=i686-pc-linux-gnu \
        --host=%{target} \
@@ -169,13 +172,13 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_dlldir}
 %{__mv} $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
 
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
+
 %if 0%{!?debug:1}
 %{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll
 %{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a
 %endif
 
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
-
 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/cmake/harfbuzz
 %{__rm} $RPM_BUILD_ROOT%{_bindir}/hb*.exe
 %{__rm} -rf $RPM_BUILD_ROOT%{_gtkdocdir}
@@ -205,6 +208,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/harfbuzz/hb-ot-font.h
 %{_includedir}/harfbuzz/hb-ot-layout.h
 %{_includedir}/harfbuzz/hb-ot-math.h
+%{_includedir}/harfbuzz/hb-ot-meta.h
+%{_includedir}/harfbuzz/hb-ot-metrics.h
 %{_includedir}/harfbuzz/hb-ot-name.h
 %{_includedir}/harfbuzz/hb-ot-shape.h
 %{_includedir}/harfbuzz/hb-ot-var.h
This page took 0.035675 seconds and 4 git commands to generate.