Update of /cvsroot/fink/experimental/fangism/finkinfo
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv30535

Added Files:
        fluidsynth1.info fluidsynth1.patch 
Log Message:
Adding -DCMAKE_C_FLAGS="-fno-common -fPIC" fixes build (powerpc-darwin8).
!lart cmake


--- NEW FILE: fluidsynth1.info ---
Package: fluidsynth1
Version: 1.1.3
Revision: 378
#Distribution: 10.5, 10.6
###
Depends: <<
%N-shlibs (= %v-%r), libncurses5-shlibs(>=5.4-20041023-1011), 
libflac8(>=1.2.1-1000),
glib2-shlibs (>= 2.20.5-1), libiconv (>=1.12-3), libgettext8-shlibs 
(>=0.17-19), 
dbus (>=1.2.16-101), portaudio2-shlibs (>=2.19.0-20100127-1)
<<
###
BuildDepends: <<
fink (>= 0.24.12), pkgconfig, libncurses5(>=5.4-2004102), 
libgettext8-dev(>=0.17-19), 
libsndfile1-dev (>= 1.0.20-1), libflac8-dev (>=1.2.1-1000), libgnugetopt (>= 
1.3-1),
readline5 (>=5.0-1006), glib2-dev (>=2.20.5-1), libiconv-dev (>=1.12-3), 
dbus-dev (>=1.2.16-101),
portaudio2 (>=2.19.0-20100127-1), cmake (>=2.8.2-1), libsndfile1-shlibs (>= 
1.0.20-1)
<<
Conflicts: fluidsynth, fluidsynth1
Replaces: fluidsynth, fluidsynth1
###
Source: http://sourceforge.net/projects/fluidsynth/files/fluidsynth-%v.tar.gz
Source-md5: 0d3e3cc770b4da413010dfb7dfdce9c8
#PatchFile: %n.patch
#PatchFile-md5: e01186305b971fd0719a92f98e47a196
###
CompileScript: <<
 #!/bin/sh -ev
 %p/bin/cmake -DCMAKE_INSTALL_PREFIX=%p/lib/%N -DCMAKE_C_FLAGS="-fno-common 
-fPIC" .
 /usr/bin/make
<<
###
InstallScript: <<
#! /bin/sh -ev
make install DESTDIR=%d 
mkdir -p %i/lib/pkgconfig
ln -s %p/lib/%N/lib/pkgconfig/fluidsynth.pc %i/lib/pkgconfig/fluidsynth.pc
<<
Splitoff: <<
Package: %N-shlibs
Depends: dbus1.3-shlibs (>=1.2.16-101), readline5-shlibs (>= 5.0-1006), 
libsndfile1-shlibs (>= 1.0.20-1), libflac8, glib2-shlibs (>= 2.20.5-1), 
libiconv (>=1.12-3), libgettext8-shlibs (>=0.17-19), portaudio2-shlibs 
(>=2.19.0-20100127-1)
Files:  lib/%N/lib/libfluidsynth.*.dylib
Shlibs:  %p/lib/%N/lib/libfluidsynth.1.dylib 1.0.0 %n (>= 1.1.2-358)
DocFiles: COPYING README
<<
SplitOff2: <<
 Package: %N-dev
 Depends: %N-shlibs
 Files: lib/%N/include lib/%N/lib lib/pkgconfig
 DocFiles: COPYING README
 BuildDependsOnly: True
 Conflicts: fluidsynth-dev, fluidsynth1-dev
 Replaces: fluidsynth-dev, fluidsynth1-dev
<<
###
DocFiles: COPYING README README-OSX
###
HomePage: http://fluidsynth.sourceforge.net
License: LGPL
###
Description: Software synthesizer with Soundfont 2 specs
DescDetail: <<
Fluidsynth is a free software synthesizer which is currently based on the
SoundFont standard and supports real time MIDI effect controls.It can be 
used as a shared library for embedding in other applications, can play MIDI 
files and has a command line shell. Many other applications use FluidSynth 
for audio synthesis. 
<<
DescUsage: <<
To properly link to fluidsynth1, packages that do not use 
the standard pkg-config system will need to set some combination
of CFLAGS, LDFLAGS, or similar compiler flags to point to
%p/lib/%N/(include/lib).
<<
###
Maintainer: Ebrahim Mayat <ema...@users.sourceforge.net>

--- NEW FILE: fluidsynth1.patch ---
diff -Naur fluidsynth-1.1.2/CMakeLists.txt.orig fluidsynth-1.1.2/CMakeLists.txt
--- fluidsynth-1.1.2/CMakeLists.txt.orig        2010-08-31 23:24:53.000000000 
-0400
+++ fluidsynth-1.1.2/CMakeLists.txt             2010-09-21 08:14:09.000000000 
-0400
@@ -345,6 +345,16 @@
     pkg_check_modules ( DBUS dbus-1>=1.0.0 )
     set ( DBUS_SUPPORT ${DBUS_FOUND} )
 endif ( enable-dbus )
+
+set (LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
+set (LIB_DESTINATION "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING 
"Library directory name")
+
+set(CMAKE_INSTALL_RPATH_USE_LINK_PATH  TRUE)
+set(CMAKE_INSTALL_RPATH ${LIB_DESTINATION} )
+
+if(APPLE)
+  set(CMAKE_INSTALL_NAME_DIR ${LIB_DESTINATION})
+endif(APPLE)
  
 # General configuration file
 configure_file ( ${CMAKE_SOURCE_DIR}/src/config.cmake 



------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to