From 987ad5507032dc15b39e83c3bca2cc6c07235b83 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Mon, 17 Jul 2017 22:32:57 +1000 Subject: [PATCH] qthaikustyle: rename to qthaikuplugins --- .../qthaikuplugins-1.0~git.recipe | 68 +++++++++++++++++++ .../qthaikustyle/qthaikustyle-1.0~git.recipe | 53 --------------- 2 files changed, 68 insertions(+), 53 deletions(-) create mode 100644 dev-qt/qthaikuplugins/qthaikuplugins-1.0~git.recipe delete mode 100644 dev-qt/qthaikustyle/qthaikustyle-1.0~git.recipe diff --git a/dev-qt/qthaikuplugins/qthaikuplugins-1.0~git.recipe b/dev-qt/qthaikuplugins/qthaikuplugins-1.0~git.recipe new file mode 100644 index 000000000..2227107ee --- /dev/null +++ b/dev-qt/qthaikuplugins/qthaikuplugins-1.0~git.recipe @@ -0,0 +1,68 @@ +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="1" + +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 + " +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 +} diff --git a/dev-qt/qthaikustyle/qthaikustyle-1.0~git.recipe b/dev-qt/qthaikustyle/qthaikustyle-1.0~git.recipe deleted file mode 100644 index d5975734c..000000000 --- a/dev-qt/qthaikustyle/qthaikustyle-1.0~git.recipe +++ /dev/null @@ -1,53 +0,0 @@ -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="$HOMEPAGE/archive/$gitCommit.tar.gz" -CHECKSUM_SHA256="d318a1eeaebe52ddb8edbeed5bbac2e646cf08fc05faf0a6db2b36e4423d1c70" -SOURCE_DIR="QtHaikuStyle-$gitCommit" - -ARCHITECTURES="!x86_gcc2 ?x86 x86_64" -SECONDARY_ARCHITECTURES="?x86" - -PROVIDES=" - qthaikustyle$secondaryArchSuffix = $portVersion - " -REQUIRES=" - haiku$secondaryArchSuffix - lib:libQt5Core$secondaryArchSuffix - lib:libQt5Gui$secondaryArchSuffix - lib:libQt5Widgets$secondaryArchSuffix - " -SUPPLEMENTS=" - qt5$secondaryArchSuffix - " - -BUILD_REQUIRES=" - haiku${secondaryArchSuffix}_devel - devel:libQt5Core$secondaryArchSuffix - devel:libQt5Gui$secondaryArchSuffix - devel:libQt5Widgets$secondaryArchSuffix - " -BUILD_PREREQUIRES=" - cmd:g++$secondaryArchSuffix - cmd:ld$secondaryArchSuffix - cmd:make - cmd:pkg_config$secondaryArchSuffix - cmd:qmake >= 5 - " - -BUILD() -{ - qmake . - make $jobArgs -} - -INSTALL() -{ - mkdir -p $addOnsDir/Qt5 - cp -rf plugins/styles $addOnsDir/Qt5 -}