libktorrent, revbump for _devel requirement qca (#13495)

This commit is contained in:
Schrijvers Luc
2025-12-27 09:27:52 +01:00
committed by GitHub
parent efc57efb78
commit c40ad0d4ba
2 changed files with 32 additions and 7 deletions

View File

@@ -8,9 +8,10 @@ blocking lists."
HOMEPAGE="https://github.com/KDE/libktorrent/"
COPYRIGHT="2010-2019 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="3"
REVISION="4"
SOURCE_URI="https://github.com/KDE/libktorrent/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="897d970d8e06c82dfb43757b23e3079731dbb74bca259c559e25b7d574dfece4"
PATCHES="libktorrent-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -54,7 +55,7 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix >= 5.65
extra_cmake_modules$secondaryArchSuffix
devel:libboost_system$secondaryArchSuffix
devel:libgcrypt$secondaryArchSuffix
devel:libgmp$secondaryArchSuffix
@@ -76,14 +77,15 @@ BUILD_REQUIRES="
devel:libKF5WidgetsAddons$secondaryArchSuffix
devel:libKF5WindowSystem$secondaryArchSuffix
devel:libKF5XmlGui$secondaryArchSuffix
devel:libqca$secondaryArchSuffix >= 2
devel:libQt5Core$secondaryArchSuffix >= 5.14
devel:libqca_qt5$secondaryArchSuffix
devel:libQt5Core$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:make
cmd:python3
cmd:msgfmt$secondaryArchSuffix
cmd:msgmerge$secondaryArchSuffix
cmd:qdbuscpp2xml$secondaryArchSuffix
"
@@ -91,8 +93,10 @@ BUILD()
{
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-Wno-dev
make -C build $jobArgs
}

View File

@@ -0,0 +1,21 @@
From eca8be820362d9d403cfacfa386cb93a5fd0c7be Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Sat, 27 Dec 2025 09:18:07 +0100
Subject: libktorrent, link to libnetwork
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d347e07..b97ddc8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -243,6 +243,7 @@ PUBLIC
Qt5::Xml
LibGcrypt::LibGcrypt
LibGMP::LibGMP
+ network
)
if(WIN32)
--
2.52.0