]> git.pld-linux.org Git - packages/crossmingw32-pixman.git/blobdiff - crossmingw32-pixman.spec
- updated to 0.24.2
[packages/crossmingw32-pixman.git] / crossmingw32-pixman.spec
index db8c5ec28091e60c8a23faf67a92579b14cd239f..751eda1f5ee997312a7b76e963c6d7f21829aade 100644 (file)
@@ -1,19 +1,18 @@
 Summary:       Pixel manipulation library - cross MinGW32
 Summary(pl.UTF-8):     Biblioteka operacji na pikselach - wersja skrośna MinGW32
 Name:          crossmingw32-pixman
-Version:       0.18.4
+Version:       0.24.2
 Release:       1
 License:       MIT
 Group:         Development/Libraries
 Source0:       http://xorg.freedesktop.org/archive/individual/lib/pixman-%{version}.tar.bz2
-# Source0-md5: c1d69aaddba8c1e046d26ac125da95bf
-Patch0:                pixman-no_pkgconfig.patch
-Patch1:                pixman-notls.patch
+# Source0-md5: 2ce7d12750664d2eebd51bf0a07b6205
 URL:           http://xorg.freedesktop.org/
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake
 BuildRequires: crossmingw32-gcc
 BuildRequires: libtool
+BuildRequires: pkgconfig
 BuildRequires: sed >= 4.0
 Requires:      crossmingw32-runtime
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -74,13 +73,6 @@ Biblioteka DLL pixman dla Windows.
 
 %prep
 %setup -q -n pixman-%{version}
-%patch0 -p1
-%patch1 -p1
-
-# disable gtk-based test
-:> test/Makefile.am
-# needed to build dll
-sed -i -e 's/^libpixman_1_la_LDFLAGS =/& -no-undefined/' pixman/Makefile.am
 
 %build
 %{__libtoolize}
@@ -89,9 +81,9 @@ sed -i -e 's/^libpixman_1_la_LDFLAGS =/& -no-undefined/' pixman/Makefile.am
 %{__autoheader}
 %{__automake}
 %configure \
-       CPPFLAGS="%{rpmcppflags} -DPIXMAN_NO_TLS" \
        --target=%{target} \
        --host=%{target} \
+       --disable-gtk \
        --disable-silent-rules
 
 %{__make}
@@ -117,7 +109,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README TODO
+%doc COPYING README TODO
 %{_libdir}/libpixman-1.dll.a
 %{_libdir}/libpixman-1.la
 %{_includedir}/pixman-1
This page took 0.103907 seconds and 4 git commands to generate.