mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
The commit "Use KDAB code for clipboard" broke the clipboard integration of QupZilla: after a while you couldn't paste the system clipboard into QupZilla anymore. Revert after consultation with Diver.
74 lines
1.9 KiB
Bash
74 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="12"
|
|
|
|
gitPluginsCommit="add1b3ee8ebb3e11292d1795ac13e3340fe28aa3"
|
|
SOURCE_URI="$HOMEPAGE/archive/$gitPluginsCommit.tar.gz"
|
|
CHECKSUM_SHA256="53bfabb5a94b62fbb43faf15411fe40cca5cff4bce0fed89424104cdf425ec83"
|
|
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="
|
|
breeze_icons$secondaryArchSuffix
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
|
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$secondaryArchSuffix >= 5.7
|
|
"
|
|
|
|
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
|
|
|
|
$sourceDir/icons/build.sh $dataDir
|
|
}
|