55 lines
1.3 KiB
Bash
55 lines
1.3 KiB
Bash
SUMMARY="Additional style plugins for Qt"
|
|
DESCRIPTION="Style plugins for Qt5:
|
|
1. Cleanlooks
|
|
2. Motif
|
|
3. Plastique
|
|
4. CDE"
|
|
HOMEPAGE="https://www.qt.io"
|
|
COPYRIGHT="2015-2019 The Qt Company Ltd."
|
|
LICENSE="GNU LGPL v2.1
|
|
GNU LGPL v3"
|
|
REVISION="1"
|
|
COMMIT="335dbece103e2cbf6c7cf819ab6672c2956b17b3"
|
|
SOURCE_URI="https://github.com/qt/qtstyleplugins/archive/$COMMIT.tar.gz"
|
|
CHECKSUM_SHA256="29ec24fa8df64be161ad06d0e5af3ba1a20bfe265004f5fe4ab9f5f3abf9a5ba"
|
|
SOURCE_DIR="qtstyleplugins-$COMMIT"
|
|
|
|
ARCHITECTURES="all !x86_gcc2 ?x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
qtstyleplugins$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libQt5Core$secondaryArchSuffix >= 5.12
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:qmake$secondaryArchSuffix >= 5.12
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
qmake .
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $addOnsDir/Qt5/styles
|
|
rm $sourceDir/plugins/styles/libbb10styleplugin.so
|
|
cp -fr $sourceDir/plugins/styles/*.so $addOnsDir/Qt5/styles
|
|
cp $sourceDir/QtPlugin/styleplugin/build/*.so $addOnsDir/Qt5/styles
|
|
}
|