mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
64 lines
1.4 KiB
Bash
64 lines
1.4 KiB
Bash
SUMMARY="Qt Build Suite"
|
|
DESCRIPTION="Qbs is a cross-platform build tool."
|
|
HOMEPAGE="http://wiki.qt.io/Qbs"
|
|
LICENSE="GNU LGPL v2"
|
|
COPYRIGHT="2016, Digia Plc and/or its subsidiary(-ies)"
|
|
SOURCE_URI="http://download.qt.io/official_releases/qbs/$portVersion/qbs-src-$portVersion.tar.gz"
|
|
SOURCE_DIR="qbs-src-$portVersion"
|
|
CHECKSUM_SHA256="b9d36118c3ae0f7d4df6bf7239a0a0163c0340b701d00191fa5f832cef341ce5"
|
|
REVISION="1"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
qbs$secondaryArchSuffix = $portVersion
|
|
cmd:qbs = $portVersion
|
|
cmd:qbs_config = $portVersion
|
|
cmd:qbs_config_ui = $portVersion
|
|
cmd:qbs_qmltypes = $portVersion
|
|
cmd:qbs_setup_android = $portVersion
|
|
cmd:qbs_setup_qt = $portVersion
|
|
cmd:qbs_setup_toolchains = $portVersion
|
|
lib:libqbscore$secondaryArchSuffix
|
|
lib:libqbsqtprofilesetup$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libgl$secondaryArchSuffix
|
|
lib:libqt5$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libqt5$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
PATCHES="qbs_x86-1.4.2.patchset"
|
|
|
|
BUILD()
|
|
{
|
|
qmake -r qbs.pro QBS_INSTALL_PREFIX=$prefix
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
mkdir -p $libDir $includeDir $dataDir
|
|
cp lib/libqbscore.so* $libDir
|
|
cd $prefix
|
|
|
|
mv include/qbs $includeDir
|
|
mv lib/*qbs* $libDir
|
|
mv share/qbs $dataDir
|
|
|
|
rm -rf include share
|
|
}
|