mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
kio_gdrive_kf6, bump to 25.12.0 (#13439)
This commit is contained in:
@@ -6,7 +6,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kio-gdrive-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="8ddc32d39f79bbb607a6d134ac5aa1e08627fee7523339d2dc9eee2b81e5a7d4"
|
||||
CHECKSUM_SHA256="67b3e2263fc8c69c061b09658fd77ed50c4d8d69a358d40c0e6d4ddea6f9477e"
|
||||
SOURCE_DIR="kio-gdrive-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -21,6 +21,7 @@ REQUIRES="
|
||||
lib:libaccounts_qt6$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libkaccounts6$secondaryArchSuffix
|
||||
lib:libQt6Keychain$secondaryArchSuffix
|
||||
lib:libsignon_qt6$secondaryArchSuffix
|
||||
# KF6
|
||||
lib:libKF6Completion$secondaryArchSuffix
|
||||
@@ -56,6 +57,7 @@ BUILD_REQUIRES="
|
||||
devel:libaccounts_qt6$secondaryArchSuffix
|
||||
devel:libGL$secondaryArchSuffix
|
||||
devel:libkaccounts6$secondaryArchSuffix
|
||||
devel:libQt6Keychain$secondaryArchSuffix
|
||||
devel:libsignon_qt6$secondaryArchSuffix
|
||||
# KF6
|
||||
extra_cmake_modules$secondaryArchSuffix
|
||||
@@ -69,7 +71,6 @@ BUILD_REQUIRES="
|
||||
devel:libKF6ConfigWidgets$secondaryArchSuffix
|
||||
devel:libKF6Contacts$secondaryArchSuffix
|
||||
devel:libKF6CoreAddons$secondaryArchSuffix
|
||||
devel:libKF6DocTools$secondaryArchSuffix
|
||||
devel:libKF6I18n$secondaryArchSuffix
|
||||
devel:libKF6ItemViews$secondaryArchSuffix
|
||||
devel:libKF6JobWidgets$secondaryArchSuffix
|
||||
@@ -86,21 +87,22 @@ BUILD_REQUIRES="
|
||||
devel:libKPim6GAPIDrive$secondaryArchSuffix
|
||||
# Qt6
|
||||
devel:libQt6Core$secondaryArchSuffix
|
||||
devel:libQt6Keychain$secondaryArchSuffix
|
||||
devel:libQt6Qml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:intltoolize
|
||||
cmd:msgfmt$secondaryArchSuffix
|
||||
cmd:msgmerge$secondaryArchSuffix
|
||||
cmd:ninja
|
||||
cmd:msgfmt
|
||||
cmd:msgmerge
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
# sed -e 's|6.8.0|6.7.2|'
|
||||
sed -e 's|DocTools||' -i CMakeLists.txt
|
||||
sed -e '/add_subdirectory(doc)/ s/^#*/#/' -i CMakeLists.txt
|
||||
sed -e '/kdoctools_install(po)/ s/^#*/#/' -i CMakeLists.txt
|
||||
}
|
||||
@@ -109,9 +111,6 @@ BUILD()
|
||||
{
|
||||
cmake -B build -S . -G Ninja -DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
|
||||
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DCMAKE_SKIP_RPATH=YES \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-Wno-dev
|
||||
@@ -124,7 +123,7 @@ INSTALL()
|
||||
ninja -C build install
|
||||
|
||||
# cleanup
|
||||
rm -rf $dataDir/metainfo
|
||||
rm -rf $dataDir/{knotifications6,metainfo}
|
||||
}
|
||||
|
||||
TEST()
|
||||
Reference in New Issue
Block a user