From 9ab5eb0d3dbd94b75c3c7e7d976052620cd985e3 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Wed, 7 Jun 2017 22:03:42 +1000 Subject: [PATCH] qthaikustyle: add recipe --- .../qthaikustyle/qthaikustyle-1.0~git.recipe | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 dev-qt/qthaikustyle/qthaikustyle-1.0~git.recipe diff --git a/dev-qt/qthaikustyle/qthaikustyle-1.0~git.recipe b/dev-qt/qthaikustyle/qthaikustyle-1.0~git.recipe new file mode 100644 index 000000000..f141827e8 --- /dev/null +++ b/dev-qt/qthaikustyle/qthaikustyle-1.0~git.recipe @@ -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 +}