qt6-xcb-private-headers-phoenix
CLEAN
maintainer DEC05EBA
0 votes
base
qt6-base-phoenix
scanned 2026-10-29 00:13:55.229276
Triggered rules
Clean
AI review downgraded a static finding
llm_review
The static rules flagged this LOW, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it CLEAN (confidence 95%): The package builds a fork of Qt Base from a Git repository, applies patches, and installs compiled artifacts; all actions are transparent and within standard AUR packaging practices for a legitimate software fork.
1 higher static finding superseded - not the current verdict (shown for transparency)
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: dec05eba <dec05eba@protonmail.com>
2
# Contributor: Antonio Rojas <arojas@archlinux.org>
3
# Contributor: Felix Yan <felixonmars@archlinux.org>
4
# Contributor: Andrea Scarpino <andrea@archlinux.org>
5
6
pkgbase=qt6-base-phoenix
7
pkgname=(qt6-base-phoenix
8
qt6-xcb-private-headers-phoenix)
9
_pkgver=6.12.0
10
pkgver=${_pkgver/-/}
11
pkgrel=1
12
arch=(x86_64)
13
url='https://github.com/dec05eba/qtbase'
14
license=(GPL-3.0-only
15
LGPL-3.0-only
16
LicenseRef-Qt-Commercial
17
Qt-GPL-exception-1.0)
18
pkgdesc='A fork of Qt Base with support for per-monitor fractional scaling on X11'
19
depends=(brotli
20
dbus
21
double-conversion
22
fontconfig
23
freetype2
24
glib2
25
glibc
26
harfbuzz
27
icu
28
krb5
29
libb2
30
libcups
31
libdrm
32
libgcc
33
libgl
34
libice
35
libinput
36
libjpeg-turbo
37
libpng
38
libproxy
39
libsm
40
libstdc++
41
liburing
42
libx11
43
libxcb
44
libxkbcommon
45
libxkbcommon-x11
46
md4c
47
mesa
48
mtdev
49
openssl
50
pcre2
51
shared-mime-info
52
sqlite
53
systemd-libs
54
tslib
55
wayland
56
xcb-util-cursor
57
xcb-util-image
58
xcb-util-keysyms
59
xcb-util-renderutil
60
xcb-util-wm
61
xdg-utils
62
zlib
63
zstd)
64
makedepends=(alsa-lib
65
cmake
66
cups
67
freetds
68
git
69
gst-plugins-base-libs
70
gtk3
71
jemalloc
72
libfbclient
73
libpulse
74
mariadb-libs
75
ninja
76
postgresql
77
renderdoc
78
unixodbc
79
vulkan-headers
80
xmlstarlet)
81
optdepends=('freetds: MS SQL driver'
82
'gdk-pixbuf2: GTK platform plugin'
83
'gtk3: GTK platform plugin'
84
'libfbclient: Firebird/iBase driver'
85
'mariadb-libs: MariaDB driver'
86
'pango: GTK platform plugin'
87
'perl: for syncqt'
88
'postgresql-libs: PostgreSQL driver'
89
'unixodbc: ODBC driver')
90
groups=(qt6)
91
_pkgfn=qtbase
92
source=(git+https://code.qt.io/qt/$_pkgfn#tag=v$_pkgver
93
qt6-base-cflags.patch
94
qt6-base-nostrip.patch
95
qt6-base-randr-dpi.patch)
96
sha256sums=('d97ef157dc50bdf0425337e9adede8135ab508a4ab2f1abae7e9cfc42c5f86db'
97
'5411edbe215c24b30448fac69bd0ba7c882f545e8cf05027b2b6e2227abc5e78'
98
'4b93f6a79039e676a56f9d6990a324a64a36f143916065973ded89adc621e094'
99
'2fd6387e2244021928eec8e1932770eac2693120fecafa7ae2c1e47cc3c762f2')
100
101
prepare() {
102
patch -d $_pkgfn -p1 < qt6-base-cflags.patch # Use system CFLAGS
103
patch -d $_pkgfn -p1 < qt6-base-nostrip.patch # Don't strip binaries with qmake
104
patch -d $_pkgfn -p1 < qt6-base-randr-dpi.patch
105
106
git -C $_pkgfn cherry-pick -n e320c929207aaea0d4c8fb2cd29b16de6cbd2b2c # Fix QtWebEngine detection in cmake
107
git -C $_pkgfn cherry-pick -n 032643f99e090e0304ef935c2ee11c109d55c8a1 # Fix build with md4c 0.6
108
git -C $_pkgfn cherry-pick -n 6b7ee05def510c333fbb8944ae669b72a48367f3 # Fix tab scrolling with mouse wheel
109
}
110
111
build() {
112
# Set no_direct_extern_access based on architecture
113
if [[ $CARCH == "aarch64" || $CARCH == "riscv64" ]]; then
114
_no_direct_extern_access=OFF
115
else
116
_no_direct_extern_access=ON
117
fi
118
119
cmake -B build -S $_pkgfn -G Ninja \
120
-DCMAKE_INSTALL_PREFIX=/usr \
121
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
122
-DINSTALL_BINDIR=lib/qt6/bin \
123
-DINSTALL_PUBLICBINDIR=bin \
124
-DINSTALL_LIBEXECDIR=lib/qt6 \
125
-DINSTALL_DOCDIR=share/doc/qt6 \
126
-DINSTALL_ARCHDATADIR=lib/qt6 \
127
-DINSTALL_DATADIR=share/qt6 \
128
-DINSTALL_INCLUDEDIR=include/qt6 \
129
-DINSTALL_MKSPECSDIR=lib/qt6/mkspecs \
130
-DINSTALL_EXAMPLESDIR=share/doc/qt6/examples \
131
-DFEATURE_journald=ON \
132
-DFEATURE_libproxy=ON \
133
-DFEATURE_openssl_linked=ON \
134
-DFEATURE_system_sqlite=ON \
135
-DFEATURE_system_xcb_xinput=ON \
136
-DFEATURE_no_direct_extern_access=$_no_direct_extern_access \
137
-DFEATURE_mimetype_database=OFF \
138
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
139
-DCMAKE_MESSAGE_LOG_LEVEL=STATUS
140
cmake --build build
141
}
142
143
package_qt6-base-phoenix() {
144
depends+=(qt6-translations)
145
provides=("qt6-base=$pkgver")
146
conflicts=(qt6-base)
147
DESTDIR="$pkgdir" cmake --install build
148
149
install -Dm644 $_pkgfn/LICENSES/* -t "$pkgdir"/usr/share/licenses/$pkgbase
150
}
151
152
package_qt6-xcb-private-headers-phoenix() {
153
pkgdesc='Private headers for Qt6 Xcb'
154
155
depends=("qt6-base-phoenix=$pkgver")
156
provides=("qt6-xcb-private-headers=$pkgver")
157
conflicts=(qt6-xcb-private-headers)
158
optdepends=()
159
groups=()
160
161
cd $_pkgfn
162
install -d -m755 "$pkgdir"/usr/include/qt6xcb-private/gl_integrations
163
cp -r src/plugins/platforms/xcb/*.h "$pkgdir"/usr/include/qt6xcb-private/
164
cp -r src/plugins/platforms/xcb/gl_integrations/*.h "$pkgdir"/usr/include/qt6xcb-private/gl_integrations/
165
}
166
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-29 00:13:55 | Clean | 2 |
| 2026-10-28 21:50:44 | Low | 1 |