mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Add working (!) Qt Creator recipe.
Throws some odd errors on startup, but if you manually create its settings directories, those mostly go away.
This commit is contained in:
52
dev-qt/qt_creator/qt_creator-4.1.0.recipe
Normal file
52
dev-qt/qt_creator/qt_creator-4.1.0.recipe
Normal file
@@ -0,0 +1,52 @@
|
||||
SUMMARY="A complete IDE for C/C++ development from the makers of Qt"
|
||||
DESCRIPTION="Qt Creator provides a cross-platform, complete integrated \
|
||||
development environment (IDE) for application developers to create \
|
||||
applications for multiple desktop, embedded, and mobile device platforms, \
|
||||
such as Android and iOS."
|
||||
HOMEPAGE="https://www.qt.io/ide/"
|
||||
COPYRIGHT="2016 The Qt Company Ltd"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.qt.io/official_releases/qtcreator/4.1/$portVersion/qt-creator-opensource-src-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="412c0223dbfd86983b39e10e2c7cb42b530995cfe2f3aa3529ea3f1b00ffb403"
|
||||
SOURCE_DIR="qt-creator-opensource-src-$portVersion"
|
||||
PATCHES="qt_creator-$portVersion.patch"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
qt_creator${secondaryArchSuffix} = $portVersion
|
||||
app:QtCreator${secondaryArchSuffix} = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
qt5${secondaryArchSuffix} == 5.5.1
|
||||
lib:libGL$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
qt5${secondaryArchSuffix}_devel == 5.5.1
|
||||
devel:libGL$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:qmake${secondaryArchSuffix}
|
||||
cmd:make
|
||||
cmd:g++${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
qmake -r
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install INSTALL_ROOT=$appsDir/QtCreator/
|
||||
mkdir $appsDir/QtCreator/bin/lib/
|
||||
mv $appsDir/QtCreator/lib/qtcreator/*.so* $appsDir/QtCreator/bin/lib/
|
||||
|
||||
addAppDeskbarSymlink $appsDir/QtCreator/bin/qtcreator "Qt/Creator"
|
||||
}
|
||||
Reference in New Issue
Block a user