]> git.pld-linux.org Git - packages/SDL_image.git/commitdiff
- updated to 1.2.11
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 17 Jan 2012 17:10:57 +0000 (17:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- adjusted libpng patch to prefer libpng 1.5.x
- enforced newer libraries at build time to store proper sonames
  (libjpeg 8, libpng 1.4+, libtiff 4)
- BR: libwebp-devel

Changed files:
    SDL_image-libpng.patch -> 1.2
    SDL_image.spec -> 1.72

SDL_image-libpng.patch
SDL_image.spec

index 1731bac66f1566cb5c96ba01be9ed5141da58342..3a9b53e3440dd983c70483290192177dbb7d391f 100644 (file)
@@ -1,19 +1,20 @@
 --- SDL_image-1.2.10/configure.in.orig 2009-11-12 07:41:21.000000000 +0100
 +++ SDL_image-1.2.10/configure.in      2010-09-07 08:31:57.847130107 +0200
-@@ -205,15 +205,12 @@
+@@ -205,15 +205,15 @@
                  png_lib=[`find_lib "libpng*.dll"`]
                  ;;
              *)
 -                png_lib=[`find_lib "libpng.so.[0-9]"`]
-+                png_lib=[`find_lib "libpng14.so.[0-9][0-9]"`]
++                png_lib=[`find_lib "libpng15.so.[0-9][0-9]"`]
                  if test x$png_lib = x; then
 -                    png_lib=[`find_lib "libpng.so.[0-9]*"`]
-+                    png_lib=[`find_lib "libpng12.so.[0-9]"`]
++                    png_lib=[`find_lib "libpng14.so.[0-9][0-9]"`]
                  fi
                  if test x$png_lib = x; then
 -                    png_lib=[`find_lib "libpng*.so.[0-9]"`]
--                fi
--                if test x$png_lib = x; then
++                    png_lib=[`find_lib "libpng12.so.[0-9]"`]
+                 fi
+                 if test x$png_lib = x; then
 -                    png_lib=[`find_lib "libpng*.so.[0-9]*"`]
 +                    png_lib=[`find_lib "libpng.so.[0-9]"`]
                  fi
index 53201a92ea4aa6fa0367dfe90f4a9e4bf8c0a26e..94f61a32a62536897a1f89695a5691888f27aa7a 100644 (file)
@@ -2,20 +2,21 @@ Summary:      Simple DirectMedia Layer - Sample Image Loading Library
 Summary(pl.UTF-8):     Przykładowa biblioteka do ładowania obrazków
 Summary(pt_BR.UTF-8):  Simple DirectMedia Layer - Biblioteca exemplo para carga de Imagens
 Name:          SDL_image
-Version:       1.2.10
-Release:       2
-License:       LGPL v2.1+
+Version:       1.2.11
+Release:       1
+License:       Zlib-like
 Group:         Libraries
 Source0:       http://www.libsdl.org/projects/SDL_image/release/%{name}-%{version}.tar.gz
-# Source0-md5: 6c06584b31559e2b59f2b982d0d1f628
+# Source0-md5: 1210d7a7e87ab95abebb4f3e79a0fd31
 Patch0:                %{name}-libpng.patch
 URL:           http://www.libsdl.org/projects/SDL_image/
 BuildRequires: SDL-devel >= 1.2.10
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: libjpeg-devel >= 7
-BuildRequires: libpng-devel >= 2:1.2.0
-BuildRequires: libtiff-devel >= 3
+BuildRequires: libjpeg-devel >= 8
+BuildRequires: libpng-devel >= 2:1.4.0
+BuildRequires: libtiff-devel >= 4
+BuildRequires: libwebp-devel >= 0.1
 BuildRequires: libtool >= 2:2.0
 BuildRequires: pkgconfig >= 1:0.9.0
 Requires:      SDL >= 1.2.10
@@ -24,8 +25,9 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # NOTE: libraries dlopened by sonames detected at build time:
 # libjpeg.so.8
-# libpng14.so.14 [note the libpng patch for preferred libs order]
-# libtiff.so.3
+# libpng15.so.15/libpng14.so.14 [note the libpng patch for preferred libs order]
+# libtiff.so.5
+# libwebp.so.2
 
 %description
 This is a simple library to load images of various formats as SDL
@@ -97,6 +99,8 @@ Bibliotecas estáticas para desenvolvimento de aplicações SDL.
        --enable-tga \
        --enable-tif \
        --enable-tif-shared \
+       --enable-webp \
+       --enable-webp-shared \
        --enable-xcf \
        --enable-xpm \
        --enable-xv 
@@ -120,7 +124,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES README
+%doc CHANGES COPYING README
 %attr(755,root,root) %{_bindir}/sdlshow
 %attr(755,root,root) %{_libdir}/libSDL_image-1.2.so.*.*.*
 %attr(755,root,root) %ghost  %{_libdir}/libSDL_image-1.2.so.0
This page took 0.08373 seconds and 4 git commands to generate.