[109323] trunk/dports/devel

jmr at macports.org jmr at macports.org
Mon Aug 12 22:10:09 PDT 2013


Revision: 109323
          https://trac.macports.org/changeset/109323
Author:   jmr at macports.org
Date:     2013-08-12 22:10:09 -0700 (Mon, 12 Aug 2013)
Log Message:
-----------
New port: libsdl2_image

Modified Paths:
--------------
    trunk/dports/devel/libsdl2_image/Portfile

Added Paths:
-----------
    trunk/dports/devel/libsdl2_image/
    trunk/dports/devel/libsdl2_image/files/
    trunk/dports/devel/libsdl2_image/files/Makefile.in-lobjc.patch

Modified: trunk/dports/devel/libsdl2_image/Portfile
===================================================================
--- trunk/dports/devel/libsdl_image/Portfile	2013-08-12 09:31:58 UTC (rev 109286)
+++ trunk/dports/devel/libsdl2_image/Portfile	2013-08-13 05:10:09 UTC (rev 109323)
@@ -3,10 +3,9 @@
 
 PortSystem      1.0
 
-name            libsdl_image
-set my_name     SDL_image
-version         1.2.12
-revision        3
+name            libsdl2_image
+set my_name     SDL2_image
+version         2.0.0
 categories      devel graphics
 platforms       darwin
 license         zlib
@@ -21,16 +20,20 @@
 master_sites    ${homepage}release/
 distname        ${my_name}-${version}
 
-checksums       rmd160 206990959c6b225286c0a19bc05b991c6bc2c3e8 \
-                sha256 0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699
+checksums       rmd160 1bd3e383bada30852fe1bcc4ac1f5d144a9158ca \
+                sha256 b29815c73b17633baca9f07113e8ac476ae66412dec0d29a5045825c27a47234
 
 depends_build   port:pkgconfig
-depends_lib     path:lib/pkgconfig/sdl.pc:libsdl \
+depends_lib     port:libsdl2 \
                 port:libpng \
                 port:jpeg \
                 port:tiff \
                 port:zlib
 
+platform darwin {
+    patchfiles  Makefile.in-lobjc.patch
+}
+
 configure.args  --disable-sdltest \
                 --enable-jpg-shared=false \
                 --enable-png-shared=false \
@@ -39,15 +42,9 @@
 post-destroot {
     set docdir ${prefix}/share/doc/${name}
     xinstall -d ${destroot}${docdir}
-    xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
+    xinstall -m 0644 -W ${worksrcpath} CHANGES.txt COPYING.txt README.txt \
         ${destroot}${docdir}
 }
 
-platform darwin 8 {
-    # This can probably be made to work if someone cares enough
-    # http://trac.macports.org/ticket/33015
-    configure.args-append --disable-imageio
-}
-
 livecheck.type  regex
 livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)

Added: trunk/dports/devel/libsdl2_image/files/Makefile.in-lobjc.patch
===================================================================
--- trunk/dports/devel/libsdl2_image/files/Makefile.in-lobjc.patch	                        (rev 0)
+++ trunk/dports/devel/libsdl2_image/files/Makefile.in-lobjc.patch	2013-08-13 05:10:09 UTC (rev 109323)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	2013-08-11 03:38:36.000000000 +1000
++++ Makefile.in	2013-08-13 15:03:40.000000000 +1000
+@@ -126,7 +126,7 @@
+ am__v_lt_1 = 
+ libSDL2_image_la_LINK = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \
+ 	$(LIBTOOLFLAGS) --mode=link $(OBJCLD) $(AM_OBJCFLAGS) \
+-	$(OBJCFLAGS) $(libSDL2_image_la_LDFLAGS) $(LDFLAGS) -o $@
++	$(OBJCFLAGS) $(libSDL2_image_la_LDFLAGS) $(LDFLAGS) -lobjc -o $@
+ PROGRAMS = $(noinst_PROGRAMS)
+ showimage_SOURCES = showimage.c
+ showimage_OBJECTS = showimage.$(OBJEXT)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130812/b8296a47/attachment.html>


More information about the macports-changes mailing list