Package: kde4-buildenv Version: 4.6.0 Revision: 104 Description: Scripts for simplifying KDE4 builds License: BSD Maintainer: Benjamin Reed # runtime wants either of {/usr,/FINKPREFIX}/bin/python2.5 # which is available on OS X 10.[567] Depends: << cmake (>= 2.8.10.2-1), fink (>= 0.30.0-1) << CustomMirror: << Primary: http://ranger.users.finkproject.org/distfiles eur-NL: http://ranger.users.finkproject.org/distfiles nam-US: http://ranger.befunk.com/fink nam-US: http://astrange.ithinksw.net/~astrange/ranger-fink nam-CA: http://www.southofheaven.net/befunk << NoSourceDirectory: true Source: mirror:custom:%n/%n-%v-1.sh Source-MD5: 4174ff7789bff10ec39ffba6724f2a49 Source2: mirror:custom:%n/normalize-filenames-4.2.3-1.sh Source2-MD5: aa5d58694004df09f486abc9907f7e0a PatchScript: << ### This package sets "-DCMAKE_OSX_SYSROOT:PATH=/" ### cmake 2.8.10.2+ sets CMAKE_OSX_DEPLOYMENT_TARGET to a versioned value ### and it no longer likes the mismatch between the two defines. ### So therefore, we now force CMAKE_OSX_DEPLOYMENT_TARGET ### to empty as well. perl -pi -e "s|-DCMAKE_OSX_SYSROOT:PATH=/|$& -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=\'\'|g" %b/kde4-buildenv-%v-1.sh << UseMaxBuildJobs: true CompileScript: echo "none" InstallScript: << #!/bin/sh -ev install -d -m 755 %i/sbin sed -e 's,@PREFIX@,%p,g' kde4-buildenv*.sh > %i/sbin/%n.sh cp normalize-filenames-*.sh %i/sbin/normalize-filenames.sh chmod 755 %i/sbin/*.sh << Homepage: http://ranger.befunk.com/fink/%n DescDetail: << When packaging KDE4 software, in your CompileScript, first do: KDE4_TYPE=x11 KDE4_PREFIX=%p . %p/sbin/%n.sh Then, you run cmake like so: mkdir build pushd build cmake $KDE4_CMAKE_ARGS .. popd <<