]> git.pld-linux.org Git - packages/crossmingw32-cairo.git/commitdiff
- proper shared + static build
authorczarny <czarny@pld-linux.org>
Sun, 25 Feb 2007 15:08:53 +0000 (15:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    crossmingw32-cairo.spec -> 1.2

crossmingw32-cairo.spec

index 320c0d6c3003619e8c0469627cb852cbeb480d0b..b20f46654cd9b93a0fd072a3dc6f930996a057e2 100644 (file)
@@ -12,7 +12,8 @@ License:      LGPL v2.1 or MPL v1.1
 Group:         Libraries
 Source0:       http://cairographics.org/releases/%{_realname}-%{version}.tar.gz
 # Source0-md5: 487b3d7515752fe57f780d0fd707b01a
-Patch0:                %{_realname}-link.patch
+Patch0:                %{name}-dll.patch
+Patch1:                %{name}-dllmain.patch
 URL:           http://cairographics.org/
 BuildRequires: autoconf >= 2.54
 BuildRequires: automake >= 1:1.7
@@ -83,7 +84,8 @@ PostScript, PDF i by
 
 %prep
 %setup -q -n %{_realname}-%{version}
-%patch0 -p1
+#%patch0 -p1
+#%patch1 -p1
 
 %build
 export PKG_CONFIG_PATH=%{_prefix}/lib/pkgconfig
@@ -93,17 +95,21 @@ export PKG_CONFIG_PATH=%{_prefix}/lib/pkgconfig
 %{__autoconf}
 %{__automake}
 %configure \
-       AR="%{target}-ar" \
-       RANLIB="%{target}-ranlib" \
        --target=%{target} \
-       --host=%{target_platform} \
+       --host=%{target} \
        %{?with_glitz:--enable-glitz} \
-       --enable-ps \
-       --enable-pdf \
+       --disable-gtk-doc \
        --disable-xlib \
        --disable-xlib-render \
+       --enable-freetype \
+       --enable-pdf \
+       --enable-png \
+       --enable-ps \
+       --disable-svg \
        --enable-windows \
-       --enable-svg \
+
+%{__sed} -i -e 's/^deplibs_check_method=.*/deplibs_check_method="pass_all"/' libtool
+
 %{__make}
 
 %install
@@ -119,7 +125,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 # COPYING contains only notes, not LGPL/MPL texts
 %doc AUTHORS COPYING ChangeLog NEWS README TODO
-%attr(755,root,root) %{_libdir}/lib*.la
-%attr(755,root,root) %{_libdir}/lib*.a
+%{_libdir}/lib*.la
+%{_libdir}/lib*.a
+%{_bindir}/*.dll
 %{_includedir}/*
 %{_pkgconfigdir}/*.pc
This page took 0.106076 seconds and 4 git commands to generate.