PKGBUILD 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. # Maintainer (arch): Ronald van Haren <ronald.archlinux.org>
  2. # Contributor: Travis Willard <travisw@wmpub.ca>
  3. # Contributor: Georg Grabler <ggrabler@gmail.com>
  4. # Maintainer: Parabola Hackers <dev@lists.parabola.nu>
  5. # Contributor: SolveFinder <kwopleq@proton.me>
  6. # parabola changes and rationoale:
  7. # - build without 'qt6-webengine' (search feature)
  8. pkgname=ktorrent
  9. pkgver=24.02.0
  10. pkgrel=1
  11. pkgrel+=.parabola1
  12. pkgdesc='A powerful BitTorrent client for KDE'
  13. arch=(x86_64)
  14. arch+=(armv7h i686)
  15. url='https://apps.kde.org/ktorrent/'
  16. # license=(GPL-2.0-or-later) # TODO:
  17. license=(GPL)
  18. depends=(gcc-libs
  19. glibc
  20. karchive
  21. kcmutils
  22. kcompletion
  23. kconfig
  24. kconfigwidgets
  25. kcoreaddons
  26. kcrash
  27. kdbusaddons
  28. kglobalaccel
  29. ki18n
  30. kiconthemes
  31. kio
  32. knotifications
  33. knotifyconfig
  34. kparts
  35. kstatusnotifieritem
  36. ktextwidgets
  37. kwidgetsaddons
  38. kwindowsystem
  39. kxmlgui
  40. libmaxminddb
  41. libktorrent
  42. phonon-qt6
  43. qt6-5compat
  44. qt6-base
  45. qt6-webengine)
  46. depends=( ${depends[*]/qt6-webengine/} )
  47. makedepends=(boost
  48. extra-cmake-modules
  49. kdnssd
  50. kdoctools
  51. kplotting
  52. syndication
  53. taglib)
  54. optdepends=('kdnssd: zeroconf plugin'
  55. 'kplotting: statistics plugin'
  56. 'syndication: syndication plugin'
  57. 'taglib: mediaplayer plugin')
  58. groups=(kde-applications
  59. kde-network)
  60. source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
  61. sha256sums=('03845a7efe778d4dc7ed396f284f09d6707d506d6b3a64039ec64baca589305a'
  62. 'SKIP')
  63. validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
  64. F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87 # Christoph Feck <cfeck@kde.org>
  65. D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
  66. build() {
  67. cmake -B build -S $pkgname-$pkgver
  68. cmake --build build
  69. }
  70. package() {
  71. DESTDIR="$pkgdir" cmake --install build
  72. }