mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
55 lines
1.6 KiB
Bash
55 lines
1.6 KiB
Bash
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/
|
|
|
|
DIR_QT_DEVELOP_DESKBAR="${dataDir}/deskbar/menu/Applications/Qt"
|
|
mkdir -p ${DIR_QT_DEVELOP_DESKBAR}
|
|
addAppDeskbarSymlink $appsDir/QtCreator/bin/qtcreator "Qt/Creator"
|
|
}
|