Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > 12d2612a4cbc738dc4d96a32e5280306 > files > 1

vertex-0.1.16-2mdv2010.0.src.rpm

diff -Naur --exclude '*~' vertex-0.1.16/vertex/platforms.ini vertex-0.1.16-lib64/vertex/platforms.ini
--- vertex-0.1.16/vertex/platforms.ini	2008-08-06 01:00:00.000000000 +0200
+++ vertex-0.1.16-lib64/vertex/platforms.ini	2008-08-11 11:25:30.000000000 +0200
@@ -240,3 +240,134 @@
                         MustExist = Yes
                         DependPath = gtkgl/gtkglarea.h
                         DependGrepString = GtkGLArea
+
+Platform = Linux64
+	Description = For x86_64 Linux system
+	PREFIX = /usr/
+	CFLAGS = -Wall -O6 -funroll-loops -fomit-frame-pointer -ffast-math \
+-finline-functions -fexpensive-optimizations -DNEED_STRCASESTR
+	LIBS = -lm
+	LIB_DIR =
+        CC = cc
+        CPP = c++
+	PlatformSearchPathInclude = /usr/include/
+	PlatformSearchPathInclude = /usr/X11R6/include/
+        PlatformSearchPathInclude = /usr/local/include/
+	PlatformSearchPathLib = /lib64/
+	PlatformSearchPathLib = /usr/lib64/
+	PlatformSearchPathLib = /usr/X11R6/lib64/
+        PlatformSearchPathLib = /usr/local/lib64/
+	PlatformSearchPathEtc = /etc/
+	PlatformSearchPathEtc = /usr/etc/
+        PlatformSearchPathEtc = /usr/local/etc/
+	PlatformSearchPathBin = /bin/
+	PlatformSearchPathBin = /usr/bin/
+	PlatformSearchPathBin = /usr/X11R6/bin/
+        PlatformSearchPathBin = /usr/local/bin/
+	PlatformSearchPathBin = /usr/games/
+	PlatformSearchPathData = /usr/share/icons/
+	PlatformSearchPathData = /usr/share/games/
+        PlatformFeature = debug
+                Description = Just adds -g to the CFLAGS for debugging
+                MustExist = No
+                FeatureCFLAGS = -g
+        PlatformFeature = arch-i486
+                Description = Adds -march=i486 for 486 specific optimizations
+                MustExist = Preferred  
+                FeatureCFLAGS = -march=i486
+                FeatureDepend = i486
+                        DependType = Machine
+                        MustExist = Yes
+                        DependMachine = i486
+        PlatformFeature = arch-i586
+                Description = Adds -march=i586 for Pentium specific optimizations
+                MustExist = Preferred
+                FeatureCFLAGS = -march=i586
+		FeatureDepend = i586
+			DependType = Machine
+			MustExist = Yes
+			DependMachine = i586
+        PlatformFeature = arch-i686
+                Description = Adds -march=i686 for Pentium Pro specific optimizations
+                MustExist = Preferred
+                FeatureCFLAGS = -march=i686
+                FeatureDepend = i686
+                        DependType = Machine
+                        MustExist = Yes
+                        DependMachine = i686
+        PlatformFeature = arch-pentiumpro
+                Description = Adds -march=pentiumpro for Pentium Pro specific optimizations
+                MustExist = Preferred
+                FeatureCFLAGS = -march=pentiumpro
+                FeatureDepend = pentiumpro
+                        DependType = Machine
+                        MustExist = Yes
+                        DependMachine = pentiumpro
+        PlatformFeature = Imlib
+                Description = Image library
+                MustExist = Preffered
+                FeatureCFLAGS = -DHAVE_IMLIB
+# Newer versions of Imlib only need to link to -lImlib
+#		FeatureLIBS = -lImlib -lpng -ltiff -ljpeg -lz
+		FeatureLIBS = -lImlib
+		FeatureLIB_DIR = -L/usr/X11R6/lib/
+                FeatureDepend = Imlib-lib
+                        DependType = Library
+                        MustExist = Yes
+                        DependPath = libImlib.so
+                        DependGrepString = Imlib_load_image
+                FeatureDepend = Imlib-devel
+                        DependType = Header
+                        MustExist = Yes
+                        DependPath = Imlib.h
+                        DependGrepString = Imlib_load_image
+        PlatformFeature = opengl
+                Description = An implementation of OpenGL (ie Mesa3D)
+                MustExist = Yes
+# On Linux there is a ld.so bug where not linking to pthread for OpenGL
+# causes some problems. So if we want OpenGL we need to also link to
+# libpthread.
+		FeatureLIBS = -lGL -lGLU -lpthread
+                FeatureDepend = gl-lib
+                        DependType = Library
+                        MustExist = Yes
+                        DependPath = libGL.so
+                        DependGrepString = glEnable
+                        DependPath = libGLU.so
+                        DependGrepString = gluPerspective
+                FeatureDepend = gl-devel
+                        DependType = Header
+                        MustExist = Yes
+                        DependPath = GL/gl.h
+                        DependGrepString = glEnable
+        PlatformFeature = libgtk
+                Description = GTK+ 1.2.x
+                MustExist = Yes
+                FeatureCFLAGS = `gtk-config --cflags`
+                FeatureLIBS = `gtk-config --libs`
+                FeatureLIB_DIR = -L/usr/X11R6/lib/
+                FeatureDepend = gtk-lib
+                        DependType = Library
+                        MustExist = Yes
+                        DependPath = libgtk.so
+                        DependGrepString = gtk_init
+                FeatureDepend = gtk-devel
+                        DependType = Program
+                        MustExist = Yes
+                        DependPath = gtk-config
+        PlatformFeature = libgtkgl
+                Description = GTK+ GLArea Widget
+                MustExist = Yes
+                FeatureCFLAGS =
+                FeatureLIBS = -lgtkgl
+                FeatureLIB_DIR = -L/usr/X11R6/lib/
+                FeatureDepend = gtkgl-lib
+                        DependType = Library
+                        MustExist = Yes
+                        DependPath = libgtkgl.so
+                        DependGrepString = GtkGLArea
+                FeatureDepend = gtkgl-devel
+                        DependType = Header
+                        MustExist = Yes
+                        DependPath = gtkgl/gtkglarea.h
+                        DependGrepString = GtkGLArea