]> git.pld-linux.org Git - packages/crossmingw32-harfbuzz.git/blobdiff - crossmingw32-harfbuzz.spec
- updated to 0.9.28
[packages/crossmingw32-harfbuzz.git] / crossmingw32-harfbuzz.spec
index 2cc9f1db8c10c4fcd0a793576d6acf8d7de7d254..8e2f893880a83964351a700c62b10e07daa8cb83 100644 (file)
@@ -1,18 +1,21 @@
 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:       0.9.17
+Version:       0.9.28
 Release:       1
 License:       MIT
 Group:         Development/Libraries
 Source0:       http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-%{version}.tar.bz2
-# Source0-md5: c48827713e93539dc7285f9e86ffbdc5
+# Source0-md5: accbeb679f39d839038b95a87e40870e
 Patch0:                harfbuzz-mingw32.patch
 URL:           http://www.freedesktop.org/wiki/HarfBuzz
+BuildRequires: autoconf >= 2.64
+BuildRequires: automake >= 1:1.13
 BuildRequires: crossmingw32-cairo >= 1.8.0
 BuildRequires: crossmingw32-freetype >= 2.3.8
 BuildRequires: crossmingw32-glib2 >= 2.16
 BuildRequires: crossmingw32-gcc-c++
+BuildRequires: libtool >= 2:2.2
 BuildRequires: pkgconfig >= 1:0.20
 Requires:      crossmingw32-cairo >= 1.8.0
 Requires:      crossmingw32-freetype >= 2.3.8
@@ -90,23 +93,33 @@ Biblioteka DLL harfbuzz dla Windows.
 %patch0 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 export PKG_CONFIG_LIBDIR=%{_pkgconfigdir}
 %configure \
-       ICU_CONFIG=/none \
        --target=%{target} \
        --build=i686-pc-linux-gnu \
        --host=%{target} \
+       --disable-gtk-doc \
        --disable-silent-rules \
-       --enable-static
+       --enable-static \
+       --with-cairo \
+       --with-freetype \
+       --with-glib \
+       --without-graphite2 \
+       --with-html-dir=%{_gtkdocdir} \
+       --without-icu \
+       --with-uniscribe
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-# parallel install broken (hb-version.h both in pkginclude_HEADERS and
-# nodist_pkginclude_HEADERS)
-%{__make} -j1 install \
+%{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_dlldir}
@@ -117,6 +130,8 @@ mv -f $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
 %{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a
 %endif
 
+%{__rm} -rf $RPM_BUILD_ROOT%{_gtkdocdir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.083282 seconds and 4 git commands to generate.