Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/graphics In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv27808
Modified Files: libdevil1.info Added Files: libsquish0.info libsquish0.patch Log Message: Added libsquish and updated libdevil to use it. Index: libdevil1.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/graphics/libdevil1.info,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- libdevil1.info 17 Mar 2009 20:49:51 -0000 1.1 +++ libdevil1.info 18 Mar 2009 02:00:55 -0000 1.2 @@ -1,6 +1,6 @@ Package: libdevil1 Version: 1.7.8 -Revision: 1 +Revision: 2 Description: Developer's Image Library DescDetail: << Developer's Image Library (DevIL) is a programmer's library to develop @@ -37,6 +37,7 @@ libjpeg, libmng2, libpng3, + libsquish0, libtiff, sdl, x11-dev @@ -93,6 +94,7 @@ libjpeg-shlibs, libmng2-shlibs, libpng3-shlibs, + libsquish0-shlibs, libtiff-shlibs, sdl-shlibs, x11-shlibs --- NEW FILE: libsquish0.patch --- diff -ru squish-1.10.orig/Makefile squish-1.10/Makefile --- squish-1.10.orig/Makefile 2006-04-07 13:30:11.000000000 -0400 +++ squish-1.10/Makefile 2009-03-17 21:31:26.000000000 -0400 @@ -3,29 +3,30 @@ SRC = alpha.cpp clusterfit.cpp colourblock.cpp colourfit.cpp colourset.cpp maths.cpp rangefit.cpp singlecolourfit.cpp squish.cpp -OBJ = $(SRC:%.cpp=%.o) +OBJ = $(SRC:%.cpp=%.lo) -LIB = libsquish.a +LIB = libsquish.la all : $(LIB) install : $(LIB) + install -d $(INSTALL_DIR)/include install squish.h $(INSTALL_DIR)/include - install libsquish.a $(INSTALL_DIR)/lib + install -d $(INSTALL_DIR)/lib + glibtool --mode=install install libsquish.la $(INSTALL_DIR)/lib uninstall: $(RM) $(INSTALL_DIR)/include/squish.h - $(RM) $(INSTALL_DIR)/lib/libsquish.a + glibtool --mode=uninstall $(RM) $(INSTALL_DIR)/lib/libsquish.la $(LIB) : $(OBJ) - $(AR) cr $@ $? - ranlib $@ + glibtool --mode=link $(CXX) -shared -rpath $(PREFIX)/lib -version-info 0:0:0 -no-undefined $? -o $@ -%.o : %.cpp - $(CXX) $(CPPFLAGS) -I. $(CXXFLAGS) -o$@ -c $< +%.lo : %.cpp + glibtool --mode=compile $(CXX) -shared $(CPPFLAGS) -I. $(CXXFLAGS) -o $@ -c $< clean : - $(RM) $(OBJ) $(LIB) + glibtool --mode=clean $(RM) $(OBJ) $(LIB) --- NEW FILE: libsquish0.info --- Package: libsquish0 Version: 1.10 Revision: 1 Description: DXT compression library DescDetail: << The squish library (abbreviated to libsquish) is an open source DXT compression library written in C++ with the following features: * Supports the DXT1, DXT3 and DXT5 formats. * Optimised for both SSE and Altivec SIMD instruction sets. * Builds on multiple platforms (x86 and PPC tested). * Very simple interface. << License: BSD Homepage: http://code.google.com/p/libsquish/ Maintainer: Daniel Johnson <dan...@daniel-johnson.org> PatchFile: %n.patch PatchFile-MD5: 1376ead442d799746a9425230769d29b Source: http://libsquish.googlecode.com/files/squish-%v.tar.gz Source-MD5: 53b171007aaaaf96ee277e833bb756eb Depends: %n-shlibs (= %v-%r) BuildDepends: fink (>= 0.24.12), libtool2 BuildDependsOnly: true CompileScript: << #!/bin/bash -ev if [ %m = i386 ]; then make PREFIX=%p USE_SSE=1 CXXFLAGS=-Os else make PREFIX=%p USE_ALTIVEC=1 CXXFLAGS=-Os fi << InstallScript: << make install INSTALL_DIR=%i /usr/bin/head -n 24 config.h > LICENSE << DocFiles: ChangeLog LICENSE README SplitOff: << Package: %N-shlibs Files: lib/libsquish.*.dylib Shlibs: << %p/lib/libsquish.0.dylib 1.0.0 %n (>= 1.10-1) << DocFiles: ChangeLog LICENSE README << ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs