mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
73 lines
1.9 KiB
Bash
73 lines
1.9 KiB
Bash
SUMMARY="Haiku platform plugins for Qt5"
|
|
DESCRIPTION="Qt modules for integration with Haiku:
|
|
* qthaikustyle is a plugin which utilizes BControlLook to \
|
|
provide a native look and feel for Qt applications.
|
|
* qhaikuplatform is a Qt Platform Abstraction library which \
|
|
provides support for clipboard, system fonts, window look, \
|
|
icons, cursors, OpenGL support, drag-n-drop, etc."
|
|
HOMEPAGE="https://github.com/threedeyes/qthaikuplugins/"
|
|
COPYRIGHT="2017 Gerasim Troeglazov"
|
|
LICENSE="GNU LGPL v2.1
|
|
GNU LGPL v3"
|
|
REVISION="2"
|
|
|
|
gitPluginsCommit="01e1b458488d53a9c0f6383f080c07556b5de04a"
|
|
SOURCE_URI="$HOMEPAGE/archive/$gitPluginsCommit.zip"
|
|
CHECKSUM_SHA256="fb152f70d461410899b3bc891c88d62d8f0eb5444a33073e79e4728c0de1794c"
|
|
SOURCE_DIR="qthaikuplugins-$gitPluginsCommit"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="?x86"
|
|
|
|
PROVIDES="
|
|
qthaikuplugins$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
"
|
|
REPLACES="
|
|
qthaikustyle$secondaryArchSuffix
|
|
"
|
|
SUPPLEMENTS="
|
|
qt5$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libQt5Core$secondaryArchSuffix
|
|
devel:libQt5Gui$secondaryArchSuffix
|
|
devel:libQt5Widgets$secondaryArchSuffix
|
|
devel:libfreetype$secondaryArchSuffix
|
|
devel:libfontconfig$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:qmake >= 5
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd $sourceDir/platforms/qhaikuplatform
|
|
qmake .
|
|
make $jobArgs
|
|
|
|
cd $sourceDir/styles/qthaikustyle
|
|
qmake .
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $addOnsDir/Qt5
|
|
|
|
cp -fr $sourceDir/platforms/qhaikuplatform/plugins/platforms $addOnsDir/Qt5
|
|
cp -fr $sourceDir/styles/qthaikustyle/plugins/styles $addOnsDir/Qt5
|
|
}
|