Package: lazarus-lcl-carbon Version: 1.6.2 Revision: 3 License: GPL/LGPL Depends: << lazarus-gtk2 (>= 1.6) | lazarus-qt4 (>= 1.6), fpc-cross-i386-darwin (>= 3.0.2) << Conflicts: lazarus-aqua Replaces: lazarus-aqua Recommends: fpc-doc, lazarus-doc Source: mirror:sourceforge:lazarus/lazarus-%v-0.tar.gz Source-MD5: f9795043d81730fdc787ff621e65851c SourceDirectory: lazarus UseMaxBuildJobs: false PatchFile: lazarus-hang.patch PatchFile-MD5: 4e67da7895101100c9b31f87707346b7 Patchscript: << #!/bin/sh -ev # fix hang in save dialog. From bugtracker, issue 0029911 # check lcl/interfaces/carbon/carbonwinapi.inc line 1814ff. # probably fixed in 1.7.0 %{default_script} << CompileScript: << #!/bin/sh -ev # Yosemite fix if [ "$(uname -r | cut -d. -f1)" -ge 14 ]; then export MACOSX_DEPLOYMENT_TARGET=10.9 ; fi debug_options="-gl" # ** Start compiling the lazarus component libraries AllUnits="registration lazutils codetools lcl basecomponents bigidecomponents" if [ "%m" = "x86_64" ]; then carbon_arch="PP=ppc386 CPU_TARGET=i386 CPU_SOURCE=i386" ; else carbon_arch="" ; fi make $AllUnits LCL_PLATFORM=carbon OPT="$debug_options" OS_TARGET=darwin $carbon_arch << InstallScript: << #!/bin/sh -ev # ** install the lcl and other libraries/units ** if [ "%m" = "x86_64" ]; then targetDir="i386-darwin" ; else targetDir="%m-darwin" ; fi for path in $(find . -name carbon | cut -f 2- -d '/' | grep $targetDir) ; do install -d $(echo %i/share/lazarus/$(dirname $path)) mv -v $path $(echo %i/share/lazarus/$(dirname $path)) done chmod -R a+rw %i/share/lazarus << Description: Carbon-based lcl for lazarus-gtk2/lazarus-qt4 DescUsage: << With this package, lazarus-qt4 and lazarus-gtk2 can also build programs with the carbon-based lcl. << DescPort: << Notes regarding the InstallScript: - find gives the list of directories - cut removes the './' from the beginning of the paths - grep removes the directories, which do not contain unit files << Homepage: http://wiki.freepascal.org/Main_Page Maintainer: Karl-Michael Schindler