mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
qthaikustyle: add recipe
This commit is contained in:
45
dev-qt/qthaikustyle/qthaikustyle-1.0~git.recipe
Normal file
45
dev-qt/qthaikustyle/qthaikustyle-1.0~git.recipe
Normal file
@@ -0,0 +1,45 @@
|
||||
SUMMARY="Haiku style plugin for Qt5"
|
||||
DESCRIPTION="Native look and feel for Qt5 applications."
|
||||
HOMEPAGE="https://github.com/threedeyes/QtHaikuStyle"
|
||||
COPYRIGHT="2017 Gerasim Troeglazov)"
|
||||
LICENSE="GNU LGPL v2.1
|
||||
GNU LGPL v3"
|
||||
REVISION="1"
|
||||
gitCommit="06f065ab76a2032707eb6e8920982a41956fd8ca"
|
||||
SOURCE_URI="https://github.com/threedeyes/QtHaikuStyle/archive/$gitCommit.zip"
|
||||
CHECKSUM_SHA256="28b200a0eaf9640ef241673f3de20d8d67f85dc17eb761bf6690b00c5ddc6607"
|
||||
SOURCE_DIR="QtHaikuStyle-$gitCommit"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
qthaikustyle$secondaryArchSuffix = $portVersion compat >= 1
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
qt5${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
qmake .
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $addOnsDir/Qt5
|
||||
cp -rf plugins/styles $addOnsDir/Qt5
|
||||
}
|
||||
Reference in New Issue
Block a user