krdc-ai
LOW
maintainer teejer
0 votes
scanned 2026-10-08 20:09:40.002650
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: teejer <teejer@localhost>
2
# KRDC with an integrated AI assistant panel: a right-hand chat dock that can
3
# screenshot the remote machine and drive its mouse and keyboard, with one
4
# conversation per connection. The AI code lives entirely in ai/ plus small
5
# hooks; upstream is otherwise untouched. Patch applies to the pinned commit;
6
# to refresh, re-diff against a newer upstream commit at ../krdc.
7
pkgname=krdc-ai
8
_commit=5876dc366adc24f0751eaae6ef81cee742ce04e6
9
pkgver=26.11.70
10
pkgrel=2
11
pkgdesc="KDE Remote Desktop Client with an integrated AI assistant panel (per-connection chat, screenshots, mouse/keyboard control)"
12
arch=('x86_64')
13
url="https://invent.kde.org/network/krdc"
14
license=('GPL-2.0-or-later')
15
depends=('glibc' 'libstdc++' 'qt6-base' 'qtkeychain-qt6' 'wayland'
16
'kbookmarks' 'kcmutils' 'kcompletion' 'kconfig' 'kconfigwidgets'
17
'kcoreaddons' 'kcrash' 'kdnssd' 'kguiaddons' 'ki18n' 'kio'
18
'knotifyconfig' 'kstatusnotifieritem' 'kwidgetsaddons' 'kxmlgui'
19
'libssh' 'freerdp' 'libvncserver')
20
makedepends=('git' 'extra-cmake-modules')
21
provides=("krdc=${pkgver}")
22
conflicts=('krdc')
23
replaces=('krdc')
24
source=("krdc::git+https://invent.kde.org/network/krdc.git#commit=${_commit}"
25
'krdc-ai.patch')
26
sha256sums=('SKIP'
27
'SKIP')
28
29
prepare() {
30
cd krdc
31
# makepkg reuses this checkout on rebuilds; discard anything a previous
32
# prepare()/build() left behind so the patch always applies cleanly.
33
git checkout -f -- . 2>/dev/null || true
34
git clean -ffd 2>/dev/null || true
35
patch -Np1 -i ../krdc-ai.patch
36
}
37
38
build() {
39
cmake -B build -S krdc \
40
-DCMAKE_BUILD_TYPE=Release \
41
-DCMAKE_INSTALL_PREFIX=/usr \
42
-DWITH_AI=YES \
43
-DWITH_SPICE=NO
44
cmake --build build --target all
45
}
46
47
package() {
48
cmake --install build --prefix "$pkgdir/usr"
49
50
# KRDC's CMake runs update-mime-database at install time, which generates a
51
# compiled mime database inside $pkgdir. Only the source xml under
52
# packages/ belongs to this package: the compiled database is owned by
53
# shared-mime-info and regenerated system-wide by its pacman hook. extra/krdc
54
# strips it the same way; shipping it causes "exists in filesystem" conflicts.
55
find "$pkgdir/usr/share/mime" -mindepth 1 -maxdepth 1 ! -name packages -exec rm -rf {} +
56
}
57
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-08 20:09:40 | Low | 1 |