Package: qt5pas
Version: 2.0.12
Revision: 1
Description: Pascal wrapper for Qt5
BuildDepends: qt5-mac-qtbase, qt5-mac-qtbase-dev-tools
BuildDependsOnly: false
License: GPL

# Unpack Phase:
Source: mirror:sourceforge:lazarus/lazarus-%v.tar.gz
Source-Checksum: SHA256(ba6cef7f823a2d28166229982efc926039d42313c40e22fe0c6776c13d0015b2)

SourceDirectory: lazarus

GCC: 4.0

# Compile Phase (NOTE: there is no configure):
CompileScript: <<
#!/bin/sh -ev
  cd lcl/interfaces/qt5/cbindings
  %p/lib/qt5-mac/bin/qmake
  make
  install_name_tool -id \
    %p/lib/qt5-mac/lib/Qt5Pas.framework/Versions/1/Qt5Pas \
                       Qt5Pas.framework/Versions/1/Qt5Pas
<<

# Install Phase:
InstallScript: <<
#!/bin/sh -ev
  cd lcl/interfaces/qt5/cbindings
  make install INSTALL_ROOT=%d
<<

DocFiles: lcl/interfaces/qt5/cbindings/*.TXT

DescDetail: <<
The Free Pascal Qt5 binding allows Free Pascal to interface with the 
C++ Library Qt.

This binding may not cover the whole Qt5 framework but only the classes 
needed by the Cross Platform Lazarus IDE to use Qt as a Widget set.
<<

DescUsage: <<
http://wiki.freepascal.org/Qt5_Interface
<<

DescPort: Nothing special

Maintainer: Karl-Michael Schindler <karl-michael.schindler@web.de>