gxde-dtk6-git
LOW
maintainer CharOfString
0 votes
scanned 2026-10-08 16:09:18.783063
Why flagged
The package builds from source via Git repositories hosted on the project's own GitHub organization; 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 the project's own GitHub organization; 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-dtk6-git
4
pkgver=6.0.48.r0.g0000000
5
pkgrel=1
6
pkgdesc='GXDE OS fork of the Deepin Tool Kit 6, note that we are conflicted with Deepin DTK6'
7
arch=(x86_64 aarch64)
8
url='https://github.com/GXDE-OS'
9
license=(LGPL-3.0-or-later)
10
_mods=(dtk6log dtk6core dtk6gui dtk6widget dtk6declarative dde-qt6platform-plugins qt6integration)
11
_tagged=(dtk6log dtk6gui dtk6widget dtk6declarative dde-qt6platform-plugins qt6integration)
12
depends=(gxde-dtk5-git qt6-base qt6-svg qt6-declarative qt6-5compat
13
libqtxdg spdlog fmt systemd-libs dbus glib2 wayland libglvnd
14
libx11 libxext libxi libxcb xcb-util xcb-util-wm xcb-util-cursor startup-notification
15
gcc-libs glibc)
16
makedepends=(git cmake ninja qt6-tools qt6-shadertools qt6-xcb-private-headers treeland-protocols)
17
optdepends=('lshw: hardware info in DSysInfo')
18
provides=(dtk6log "dtk6core=${pkgver%%.r*}" "dtk6gui=${pkgver%%.r*}" "dtk6widget=${pkgver%%.r*}"
19
"dtk6declarative=${pkgver%%.r*}" "deepin-qt6platform-plugins=${pkgver%%.r*}"
20
deepin-qt6integration)
21
conflicts=(dtk6log dtk6core dtk6gui dtk6widget dtk6declarative
22
deepin-qt6platform-plugins deepin-qt6integration)
23
source=("dtk6log::git+$url/dtk6log.git"
24
"dtk6core::git+$url/dtk6core.git#branch=arch/dtkcore"
25
"dtk6gui::git+$url/dtk6gui.git"
26
"dtk6widget::git+$url/dtk6widget.git"
27
"dtk6declarative::git+$url/dtk6declarative.git"
28
"dde-qt6platform-plugins::git+$url/dde-qt6platform-plugins.git"
29
"qt6integration::git+$url/qt6integration.git")
30
sha256sums=(SKIP SKIP SKIP SKIP SKIP SKIP SKIP)
31
32
pkgver() {
33
local _count=0 _m
34
for _m in "${_mods[@]}"; do
35
_count=$((_count + $(git -C "$_m" rev-list --count HEAD)))
36
done
37
printf '%s.r%s.g%s' "$(< dtk6core/VERSION)" "$_count" \
38
"$(git -C dtk6core rev-parse --short=7 HEAD)"
39
}
40
41
prepare() {
42
local _m _tag
43
for _m in "${_tagged[@]}"; do
44
_tag=$(git -C "$_m" tag --sort=-v:refname | head -n1)
45
msg2 "$_m -> $_tag"
46
git -C "$_m" checkout -q --detach "refs/tags/$_tag"
47
done
48
}
49
50
build() {
51
local _stage="$srcdir/stage" _m
52
export LD_LIBRARY_PATH="$_stage/usr/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
53
54
local _common=(
55
-G Ninja
56
-DCMAKE_INSTALL_PREFIX=/usr
57
-DCMAKE_INSTALL_LIBDIR=lib
58
-DCMAKE_INSTALL_LIBEXECDIR=lib
59
-DCMAKE_PREFIX_PATH="$_stage/usr"
60
-DCMAKE_BUILD_TYPE=None
61
-DMKSPECS_INSTALL_DIR=lib/qt6/mkspecs/modules
62
-DBUILD_TESTING=OFF
63
-DBUILD_EXAMPLES=OFF
64
-DBUILD_DOCS=OFF
65
)
66
local -A _extra=(
67
[dtk6log]="-DBUILD_WITH_QT6=ON -DBUILD_WITH_SYSTEMD=ON"
68
[dtk6core]="-DBUILD_WITH_SYSTEMD=ON -DD_DSG_APP_DATA_FALLBACK=/var/dsg/appdata"
69
[dtk6gui]="-DDTK_DISABLE_EX_IMAGE_FORMAT=ON"
70
[dtk6widget]="-DBUILD_PLUGINS=OFF"
71
[dtk6declarative]="-DQML_INSTALL_DIR=lib/qt6/qml"
72
[dde-qt6platform-plugins]="-DQT_XCB_PRIVATE_HEADERS=/usr/include/qt6xcb-private"
73
[qt6integration]="-DDTK_VERSION=$(sed -n '1s/.*(\([0-9.]*\).*/\1/p' qt6integration/debian/changelog)"
74
)
75
76
for _m in "${_mods[@]}"; do
77
# shellcheck disable=SC2086
78
cmake -S "$_m" -B "build-$_m" "${_common[@]}" ${_extra[$_m]}
79
cmake --build "build-$_m"
80
DESTDIR="$_stage" cmake --install "build-$_m"
81
done
82
}
83
84
package() {
85
local _m
86
for _m in "${_mods[@]}"; do
87
DESTDIR="$pkgdir" cmake --install "build-$_m"
88
done
89
}
90
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-08 16:09:18 | Low | 2 |