300.8. kget-26.08.2
Download manager — queued, resumable, segmented HTTP and FTP downloads, Metalink and BitTorrent
26.08.2-1 · GPL-2.0-or-later · 25.8 SBU · 5.4 MiB, 49 files · 44_apps, 395 of 422 · ports/core/transfer/kget
Homepage: https://apps.kde.org/kget/
KGet is KDE’s download manager: a queue of transfers that pause, resume and survive a restart, split into segments across several connections or mirrors, checked against a checksum or a signature, and grouped with their own speed limits and destination folders. Besides HTTP and FTP through KIO it fetches Metalink files and BitTorrent downloads, and a Dolphin service menu sends links to it. qbittorrent is the torrent client the desktop opens by default; KGet’s torrent support is for downloads queued here.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kcrash, kdbusaddons, ki18n, kiconthemes, kitemviews, kcmutils, kio, knotifications, knotifyconfig, kstatusnotifieritem, kwallet, kwidgetsaddons, kwindowsystem, kxmlgui, kdoctools, sqlite, gpgmepp, qgpgme, libktorrent.
Required by (1): kde-gear-utilities.
Sources: kget-26.08.2.tar.xz (4.6 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install kget'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D KDE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
-D BUILD_TESTING=OFF \
-D KF_SKIP_PO_PROCESSING=ON \
-D CMAKE_REQUIRE_FIND_PACKAGE_SQLite3=ON \
-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON \
-D CMAKE_REQUIRE_FIND_PACKAGE_Gpgmepp=ON \
-D CMAKE_REQUIRE_FIND_PACKAGE_QGpgmeQt6=ON \
-D CMAKE_REQUIRE_FIND_PACKAGE_KTorrent6=ON \
-D CMAKE_DISABLE_FIND_PACKAGE_LibMms=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D CMAKE_REQUIRE_FIND_PACKAGE_SQLite3=ON— Make sqlite a requirement, for the transfer history’s SQLite store. Upstream marks it recommended and falls back to an XML file.-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON— The handbook, through kdoctools, which upstream looks for as optional; required, a missing one stops the configure instead of leaving the handbook out.-D CMAKE_REQUIRE_FIND_PACKAGE_Gpgmepp=ON— With-D CMAKE_REQUIRE_FIND_PACKAGE_QGpgmeQt6=ON: make gpgmepp and qgpgme requirements, for checking a download against its OpenPGP signature. Upstream marks them recommended and builds without signature checks when GpgME++ is missing.-D CMAKE_REQUIRE_FIND_PACKAGE_KTorrent6=ON— Make libktorrent a requirement. Upstream marks it recommended and leaves the BitTorrent transfer plugin out without it.-D CMAKE_DISABLE_FIND_PACKAGE_LibMms=ON— Never look for libmms, so the MMS stream plugin is never built. libmms has had no release since 2014 and is not a port; it is on the list of optional dependencies the KDE port defers, each pinned off so that a later port changes this build on purpose.-D KF_SKIP_PO_PROCESSING=ON— Skips building the interface translations, which the package-wide English-only rule would remove anyway (see Size and language policy).
Programs: kget.
Libraries: libkgetcore.so.
Directories: /usr/lib/qt6/plugins/kget, /usr/lib/qt6/plugins/kget_kcms, /usr/share/doc/HTML/en/kget, /usr/share/kget, /usr/share/licenses/kget.
The port installs a D-Bus activation file for org.kde.kget that names the program by path, with no SystemdService= line, so the session bus starts it directly.
“Shut down when downloads finish” asks the Plasma session’s org.kde.PlasmaShutdown service, and does nothing outside that session; a Gear port names no session port in depends. Credentials for a site are kept in kwallet.