mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
kquickimageeditor_kf6, bump to 0.6.0 (#13375)
This commit is contained in:
@@ -5,18 +5,26 @@ COPYRIGHT="2010-2025 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/kquickimageeditor/kquickimageeditor-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="f08271f368ead077fa3ed95c32446dd873f8b371d9756aefb757bea323339b29"
|
||||
CHECKSUM_SHA256="11ed4ce1c164a8b6d50bbc1548b5849ab75d5fb837619b90f2cea51ed122547a"
|
||||
SOURCE_DIR="kquickimageeditor-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= 1"
|
||||
|
||||
PROVIDES="
|
||||
kquickimageeditor_kf6$secondaryArchSuffix = $portVersion
|
||||
lib:libKQuickImageEditor$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libopencv_core$secondaryArchSuffix
|
||||
# KF6
|
||||
lib:libKF6ConfigCore$secondaryArchSuffix
|
||||
# Qt6
|
||||
lib:libQt6Core$secondaryArchSuffix
|
||||
lib:libQt6Gui$secondaryArchSuffix
|
||||
lib:libQt6Network$secondaryArchSuffix
|
||||
@@ -30,6 +38,7 @@ REPLACES="
|
||||
|
||||
PROVIDES_devel="
|
||||
kquickimageeditor_kf6${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKQuickImageEditor$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kquickimageeditor_kf6$secondaryArchSuffix == $portVersion base
|
||||
@@ -37,7 +46,11 @@ REQUIRES_devel="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libopencv_core$secondaryArchSuffix
|
||||
# KF6
|
||||
extra_cmake_modules$secondaryArchSuffix
|
||||
devel:libKF6ConfigCore$secondaryArchSuffix
|
||||
# Qt6
|
||||
devel:libQt6Core$secondaryArchSuffix
|
||||
devel:libQt6Quick$secondaryArchSuffix
|
||||
"
|
||||
@@ -51,10 +64,9 @@ BUILD()
|
||||
{
|
||||
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs \
|
||||
-DBUILD_WITH_QT6=ON \
|
||||
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt6/mkspecs \
|
||||
-DCMAKE_SKIP_RPATH=YES \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-Wno-dev
|
||||
|
||||
make -C build $jobArgs
|
||||
@@ -64,7 +76,11 @@ INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
|
||||
prepareInstalledDevelLib \
|
||||
libKQuickImageEditor
|
||||
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$dataDir/Qt6/mkspecs \
|
||||
$libDir
|
||||
$libDir/cmake
|
||||
}
|
||||
Reference in New Issue
Block a user