From 037b168d454df6d589c8e9a1a5e3f705c575a09a Mon Sep 17 00:00:00 2001 From: oco27 Date: Sat, 11 Feb 2017 22:33:01 +0100 Subject: [PATCH] qt4pas: new recipe for version 2.5.0 (#871) This is a required dependency to build Lazarus under Haiku. --- dev-qt/qt4pas/qt4pas-2.5.0.recipe | 62 +++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 dev-qt/qt4pas/qt4pas-2.5.0.recipe diff --git a/dev-qt/qt4pas/qt4pas-2.5.0.recipe b/dev-qt/qt4pas/qt4pas-2.5.0.recipe new file mode 100644 index 000000000..ad9e17d43 --- /dev/null +++ b/dev-qt/qt4pas/qt4pas-2.5.0.recipe @@ -0,0 +1,62 @@ +SUMMARY="Pascal Qt interface" +DESCRIPTION="Pascal wrapper around Qt interfaces. +Just the necessary stuff for Lazarus is wrapped here." +HOMEPAGE="http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html" +COPYRIGHT="2005-2011 Jan Van hijfte" +LICENSE="GNU LGPL v2.1" +REVISION="1" +SOURCE_URI="http://users.telenet.be/Jan.Van.hijfte/qtforfpc/V2.5/qt4pas-V2.5_Qt4.5.3.tar.gz" +CHECKSUM_SHA256="825423db80da4df5c21816c0392b3394cddfe2f3293dfd08ace84941726affea" +SOURCE_DIR="qt4pas-V2.5_Qt4.5.3" + +ARCHITECTURES="!x86_gcc2 x86 !x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + qt4pas$secondaryArchSuffix = $portVersion + lib:libqt4pas$secondaryArchSuffix = 5.2.5 compat >= 5.2 + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libQtCore$secondaryArchSuffix + lib:libQtWebKit$secondaryArchSuffix + lib:libQtGui$secondaryArchSuffix + lib:libQtNetwork$secondaryArchSuffix + " + +PROVIDES_devel=" + qt4pas$secondaryArchSuffix = $portVersion + devel:libqt4pas$secondaryArchSuffix = 5.2.5 compat >= 5.2 + " +REQUIRES_devel=" + haiku$secondaryArchSuffix + qt4pas$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libqtcore$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:g++$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + cmd:qmake$secondaryArchSuffix + " + +BUILD() +{ + qmake${secondaryArchSuffix/_/-} + make $jobArgs +} + +INSTALL() +{ + mkdir -p $libDir + cp -P libQt4Pas.so* $libDir + # prepare develop/lib + prepareInstalledDevelLib libQt4Pas + # devel package + packageEntries devel \ + $developDir +}