packages: SDL_image/SDL_image.spec - better handling of libpng15/libpng14 i...
qboosh
qboosh at pld-linux.org
Wed Jan 25 17:38:02 CET 2012
Author: qboosh Date: Wed Jan 25 16:38:02 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- better handling of libpng15/libpng14 in Suggests
---- Files affected:
packages/SDL_image:
SDL_image.spec (1.74 -> 1.75)
---- Diffs:
================================================================
Index: packages/SDL_image/SDL_image.spec
diff -u packages/SDL_image/SDL_image.spec:1.74 packages/SDL_image/SDL_image.spec:1.75
--- packages/SDL_image/SDL_image.spec:1.74 Wed Jan 25 17:33:31 2012
+++ packages/SDL_image/SDL_image.spec Wed Jan 25 17:37:57 2012
@@ -22,7 +22,11 @@
BuildRequires: pkgconfig >= 1:0.9.0
Requires: SDL >= 1.2.10
Suggests: libjpeg >= 8
+%if "%(pkg-config --exists libpng15 2>/dev/null ; echo $?)" == "0"
+Suggests: libpng >= 2:1.5.0
+%else
Suggests: libpng >= 2:1.4.0
+%endif
Suggests: libtiff >= 4
Suggests: libwebp >= 0.1.3
Obsoletes: libSDL_image1.2
@@ -152,6 +156,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.75 2012/01/25 16:37:57 qboosh
+- better handling of libpng15/libpng14 in Suggests
+
Revision 1.74 2012/01/25 16:33:31 qboosh
- updated supported format lists in descriptions
- added versioned Suggests for dlopened libraries
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/SDL_image/SDL_image.spec?r1=1.74&r2=1.75&f=u
More information about the pld-cvs-commit
mailing list