Package: lazarus-lcl-gtk2 Version: 1.6.2 Revision: 2 License: GPL/LGPL Depends: << lazarus-aqua (>= 1.6) | lazarus-qt4 (>= 1.6), fpc (>= 3.0.2), gtk+2-shlibs, glib2-shlibs, cairo-shlibs << Builddepends: gtk+2, gtk+2-dev, glib2-dev, cairo Conflicts: lazarus-gtk2 Replaces: lazarus-gtk2 Recommends: fpc-doc, lazarus-doc Source: mirror:sourceforge:lazarus/lazarus-%v-0.tar.gz Source-MD5: f9795043d81730fdc787ff621e65851c SourceDirectory: lazarus UseMaxBuildJobs: false CompileScript: << #!/bin/sh -ev # ** Start compiling the lazarus component libraries # Yosemite fix if [ "$(uname -r | cut -d. -f1)" -ge 14 ]; then export MACOSX_DEPLOYMENT_TARGET=10.9 ; fi AllUnits="registration lazutils codetools lcl basecomponents bigidecomponents" make $AllUnits LCL_PLATFORM=gtk2 OPT="-gl -dHasX -Fl%p/lib/pango-ft219/lib/" << InstallScript: << #!/bin/sh -ev # ** install the gtk2 part of the lcl for path in $(find . -name gtk2 | cut -f 2- -d '/' | grep %m-darwin) ; 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: Gtk2-based lcl for lazarus-aqua/lazarus-qt4 DescUsage: << With this package, lazarus-aqua and lazarus-qt4 can also build programs with the gtk2-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