gxde-dtk2-qt6-git
LOW
maintainer CharOfString
0 votes
scanned 2026-10-08 18:09:39.829306
Why flagged
The package builds from source via Git repositories hosted on a project-owned GitHub organization, which is normal for AUR packages; the low severity is due to few votes and recent upload, not malicious content.
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.
Low
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from source via Git repositories hosted on a project-owned GitHub organization, which is normal for AUR packages; the low severity is due to few votes and recent upload, not malicious content.
PKGBUILD
1
# Maintainer: CharOfString <root@charofstring.cc>
2
3
pkgname=gxde-dtk2-qt6-git
4
pkgver=6.0.1.r0.g0000000
5
pkgrel=1
6
pkgdesc='Qt6 port of DTK2, requires GXDE DTK6 to work.'
7
arch=(x86_64 aarch64)
8
url='https://github.com/GXDE-OS'
9
license=(LGPL-3.0-or-later GPL-3.0-or-later)
10
_mods=(dtk2widget-qt6 gxde-qt6-integration)
11
depends=(gxde-dtk6-git qt6-base qt6-svg qt6-multimedia gsettings-qt6
12
librsvg cairo glib2 layer-shell-qt wayland libx11 libxext libxi libxcb xcb-util
13
startup-notification gcc-libs glibc)
14
makedepends=(git qt6-tools qt6-scxml)
15
source=("dtk2widget-qt6::git+$url/dtk2widget-qt6.git#branch=qt6"
16
"gxde-qt6-integration::git+$url/gxde-qt6-integration.git#branch=qt6")
17
sha256sums=(SKIP SKIP)
18
19
pkgver() {
20
local _count=0 _m
21
for _m in "${_mods[@]}"; do
22
_count=$((_count + $(git -C "$_m" rev-list --count HEAD)))
23
done
24
printf '%s.r%s.g%s' "$(sed -n 's/^VERSION *= *//p' dtk2widget-qt6/src/src.pro)" "$_count" \
25
"$(git -C dtk2widget-qt6 rev-parse --short=7 HEAD)"
26
}
27
28
prepare() {
29
local _m _tag
30
for _m in "${_mods[@]}"; do
31
_tag=$(git -C "$_m" describe --tags --abbrev=0)
32
msg2 "$_m -> $_tag"
33
git -C "$_m" checkout -q --detach "refs/tags/$_tag"
34
done
35
}
36
37
_fix_pc() {
38
sed -i -e 's|^Requires: dtkcore$|Requires: dtk6core|' \
39
-e 's|^Libs: -ldtk2widget|Libs: -L${libdir} -ldtk2widget|' "$1"
40
}
41
42
build() {
43
local _stage="$srcdir/stage"
44
mkdir -p "$srcdir/pc"
45
export LD_LIBRARY_PATH="$_stage/usr/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
46
export PKG_CONFIG_PATH="$srcdir/pc${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
47
48
local _qmake=(
49
PREFIX=/usr
50
LIB_INSTALL_DIR=/usr/lib
51
CONFIG+=no_qt_rpath
52
QMAKE_CFLAGS_RELEASE="$CFLAGS"
53
QMAKE_CXXFLAGS_RELEASE="$CXXFLAGS"
54
QMAKE_LFLAGS_RELEASE="$LDFLAGS"
55
)
56
57
mkdir -p build-dtk2widget-qt6
58
( cd build-dtk2widget-qt6 && qmake6 -r ../dtk2widget-qt6 "${_qmake[@]}" && make )
59
make -C build-dtk2widget-qt6 INSTALL_ROOT="$_stage" install
60
sed -e "s|^prefix=.*|prefix=$_stage/usr|" "$_stage/usr/lib/pkgconfig/dtk2widget.pc" > "$srcdir/pc/dtk2widget.pc"
61
_fix_pc "$srcdir/pc/dtk2widget.pc"
62
63
mkdir -p build-gxde-qt6-integration
64
( cd build-gxde-qt6-integration && qmake6 -r ../gxde-qt6-integration "${_qmake[@]}" && make )
65
}
66
67
package() {
68
make -C build-dtk2widget-qt6 INSTALL_ROOT="$pkgdir" install
69
make -C build-gxde-qt6-integration INSTALL_ROOT="$pkgdir" install
70
_fix_pc "$pkgdir/usr/lib/pkgconfig/dtk2widget.pc"
71
}
72
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-08 18:09:39 | Low | 2 |