qsynth stable port information

Package: qsynth
Version: 0.3.5
Revision: 351
###
BuildDepends: <<
pkgconfig, fluidsynth-dev (>=1.1.1-280), libpng3, qt4-base-mac (>=4.6.2-3), libicns1-bin (>=0.6.2-1), fink (>= 0.24.12-1)
<<
Depends: fluidsynth-shlibs (>=1.0.9-169), libpng3-shlibs, qt4-base-mac-qtcore-shlibs, qt4-base-mac-qtgui-shlibs
###
Source: http://downloads.sourceforge.net/qsynth/%n-%v.tar.gz
Source-md5: e1566eecf7bf3869211783cfe7a327b5
PatchFile: %n.patch
PatchFile-MD5: c3eb6d414675512b578d8ee766ca32fb
###
PatchScript: sed -e 's,@FINKPREFIX@,%p,' %{PatchFile} | patch -p1
###
SetLDFLAGS: -L%p/lib -lfluidsynth
ConfigureParams: --with-qt=%p/lib/qt4-mac LDFLAGS="-L%p/lib" CPPFLAGS="-I%p/include"
###
GCC: 4.0
###
CompileScript: <<
#!/bin/sh -ev
./configure %c
make
<<
###
InstallScript: <<
#! /bin/sh -ev
cd %b/src/%n.app/Contents/Resources
png2icns qsynth.icns %b/src/images/qsynth.png
/usr/bin/defaults write %b/src/%n.app/Contents/Info CFBundleIconFile qsynth.icns
#/usr/libexec/PlistBuddy -c 'Set :CFBundleIconFile "qsynth.icns"' %b/%n.app/Contents/Info.plist
/bin/chmod a+r %b/src/%n.app/Contents/Info.plist
rm %b/src/%n.app/Contents/Resources/empty.lproj
#mkdir -p %i/Applications/%n.app
mkdir -p %i/share/%n
<<
###
AppBundles: src/%n.app
###
DocFiles: COPYING README README-OSX
###
HomePage: http://qsynth.sourceforge.net/qsynth-index.html
License: GPL
###
Description: Fluidsynth GUI front-end application
DescDetail: <<
Qsynth is a fluidsynth GUI front-end application
written in C++ around the Qt4 toolkit using Qt
Designer. Eventually it may evolve into a softsynth
management application allowing the user to control
and manage a variety of command line softsynths but
for the moment it wraps the excellent FluidSynth
<<
DescPackaging: <<
PlistBuddy is only available on 10.5 and 10.6, so switch to defaults instead.
However, defaults might be deprecated in future OS versions, so leave
the (commented out) PlistBuddy in InstallScript.
<<
###
Maintainer: Ebrahim Mayat

qsynth stable port .patch

diff -Naur qsynth-0.3.5-orig/configure qsynth-0.3.5/configure
--- qsynth-0.3.5-orig/configure 2010-05-31 05:25:15.000000000 -0400
+++ qsynth-0.3.5/configure 2010-05-31 05:10:50.000000000 -0400
@@ -1884,7 +1884,7 @@


# Standard installation base dirs.
-ac_with_paths="/usr /usr/local"
+ac_with_paths="/usr /usr/local %p"

# Some a-la-debian alternatives...
for X in /usr/lib /usr/lib64 /usr/share; do

diff -Naur qsynth-0.3.5-orig/src/src.pro qsynth-0.3.5/src/src.pro
--- qsynth-0.3.5-orig/src/src.pro 2010-03-26 10:44:58.000000000 -0400
+++ qsynth-0.3.5/src/src.pro 2010-07-15 10:06:43.000000000 -0400
@@ -4,7 +4,8 @@

TEMPLATE = app
DEPENDPATH += .
-INCLUDEPATH += .
+INCLUDEPATH += . \
+ @FINKPREFIX@/include

include(src.pri)

qsynth _unstable_ port .patch