From 24bee896ac4552c8dfe6f057d775a55238d29654 Mon Sep 17 00:00:00 2001 From: augiedoggie Date: Sun, 7 Jan 2024 13:49:51 -0700 Subject: [PATCH] featherpad: switch to Qt6 (#9962) --- .../featherpad/featherpad-1.4.1.recipe | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/app-editors/featherpad/featherpad-1.4.1.recipe b/app-editors/featherpad/featherpad-1.4.1.recipe index f85864202..510968d12 100644 --- a/app-editors/featherpad/featherpad-1.4.1.recipe +++ b/app-editors/featherpad/featherpad-1.4.1.recipe @@ -22,7 +22,7 @@ environment and has: HOMEPAGE="https://github.com/tsujan/FeatherPad" COPYRIGHT="2014-2023 Pedram Pourang" LICENSE="GNU GPL v3" -REVISION="1" +REVISION="2" SOURCE_URI="https://github.com/tsujan/FeatherPad/archive/refs/tags/V$portVersion.tar.gz" CHECKSUM_SHA256="e60258388ca3039e434d7b661548113057a85443a1a288843b5ec6044b4206dc" SOURCE_FILENAME="FeatherPad-$portVersion-tar.gz" @@ -39,30 +39,31 @@ PROVIDES=" " REQUIRES=" haiku$secondaryArchSuffix + lib:libGL$secondaryArchSuffix lib:libhunspell_1.7$secondaryArchSuffix - lib:libQt5Core$secondaryArchSuffix - lib:libQt5Gui$secondaryArchSuffix - lib:libQt5PrintSupport$secondaryArchSuffix - lib:libQt5Svg$secondaryArchSuffix - lib:libQt5Widgets$secondaryArchSuffix + lib:libQt6Core$secondaryArchSuffix + lib:libQt6Gui$secondaryArchSuffix + lib:libQt6PrintSupport$secondaryArchSuffix + lib:libQt6Svg$secondaryArchSuffix + lib:libQt6Widgets$secondaryArchSuffix lib:libz$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel + devel:libGL$secondaryArchSuffix devel:libhunspell_1.7$secondaryArchSuffix - devel:libQt5Core$secondaryArchSuffix - devel:libQt5Gui$secondaryArchSuffix - devel:libQt5PrintSupport$secondaryArchSuffix - devel:libQt5Svg$secondaryArchSuffix - devel:libQt5Widgets$secondaryArchSuffix + devel:libQt6Core$secondaryArchSuffix + devel:libQt6Gui$secondaryArchSuffix + devel:libQt6PrintSupport$secondaryArchSuffix + devel:libQt6Svg$secondaryArchSuffix + devel:libQt6Widgets$secondaryArchSuffix devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:find cmd:g++$secondaryArchSuffix cmd:ld$secondaryArchSuffix - cmd:lrelease$secondaryArchSuffix >= 5 cmd:make cmd:pkg_config$secondaryArchSuffix cmd:cmake @@ -71,8 +72,9 @@ BUILD_PREREQUIRES=" BUILD() { cmake -B build -S . \ + -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX:PATH="$appsDir/FeatherPad" \ - -DCMAKE_BUILD_TYPE=Release + -DENABLE_QT5=OFF make -C build $jobArgs }