wine32
maintainer 0xjmz
· 23 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is downloaded from winehq.org, the official project domain, which is plausibly controlled by the maintainers; building from official source tarballs is standard practice, even if the host is not on a static analyzer's whitelist.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is downloaded from winehq.org, the official project domain, which is plausibly controlled by the maintainers; building from official source tarballs is standard practice, even if the host is not on a static analyzer's whitelist.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:12
source=("https://dl.winehq.org/wine/source/11.x/wine-${pkgver}.tar.xz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
3
# Contributor: Eduardo Romero <eduardo@archlinux.org>
4
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
5
6
pkgname=wine32
7
pkgver=11.14
8
pkgrel=1
9
10
_pkgbasever=${pkgver/rc/-rc}
11
12
source=("https://dl.winehq.org/wine/source/11.x/wine-${pkgver}.tar.xz"
13
30-win32-aliases.conf
14
wine-binfmt.conf)
15
sha512sums=('b42f91c0a73b46af07b1f8fb8aacd3dae38a8d62989fb28bd264bd3c5fd788dae19ef734b861d5b94094ba619222993f035aa50a083e59a2abf18a47cf5a5c3e'
16
'6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb'
17
'bdde7ae015d8a98ba55e84b86dc05aca1d4f8de85be7e4bd6187054bfe4ac83b5a20538945b63fb073caab78022141e9545685e4e3698c97ff173cf30859e285')
18
19
pkgdesc='A compatibility layer for running Windows programs on both 32-bit and 64-bit architectures (without WoW64)'
20
url="https://www.winehq.org"
21
arch=(x86_64)
22
options=(staticlibs !lto)
23
license=(LGPL-2.1-or-later)
24
provides=(wine)
25
conflicts=(wine)
26
depends=(
27
desktop-file-utils
28
fontconfig lib32-fontconfig
29
freetype2 lib32-freetype2
30
gcc-libs lib32-gcc-libs
31
gettext lib32-gettext
32
libpcap lib32-libpcap
33
libunwind lib32-libunwind
34
libxcursor lib32-libxcursor
35
libxkbcommon lib32-libxkbcommon
36
libxi lib32-libxi
37
libxrandr lib32-libxrandr
38
wayland lib32-wayland
39
)
40
makedepends=(autoconf bison perl flex mingw-w64-gcc
41
git
42
alsa-lib lib32-alsa-lib
43
gnutls lib32-gnutls
44
gst-plugins-base-libs lib32-gst-plugins-base-libs
45
libcups lib32-libcups
46
libgphoto2
47
libpulse lib32-libpulse
48
libxcomposite lib32-libxcomposite
49
libxinerama lib32-libxinerama
50
libxxf86vm lib32-libxxf86vm
51
mesa lib32-mesa
52
mesa-libgl lib32-mesa-libgl
53
opencl-headers
54
opencl-icd-loader lib32-opencl-icd-loader
55
pcsclite lib32-pcsclite
56
samba
57
sane
58
sdl2 lib32-sdl2
59
unixodbc
60
v4l-utils lib32-v4l-utils
61
vulkan-headers
62
vulkan-icd-loader lib32-vulkan-icd-loader
63
)
64
optdepends=(
65
alsa-lib lib32-alsa-lib
66
alsa-plugins lib32-alsa-plugins
67
cups lib32-libcups
68
dosbox
69
gnutls lib32-gnutls
70
gst-plugins-bad
71
gst-plugins-base lib32-gst-plugins-base
72
gst-plugins-base-libs lib32-gst-plugins-base-libs
73
gst-plugins-good lib32-gst-plugins-good
74
gst-plugins-ugly
75
libgphoto2
76
libpulse lib32-libpulse
77
libxcomposite lib32-libxcomposite
78
libxinerama lib32-libxinerama
79
opencl-icd-loader lib32-opencl-icd-loader
80
pcsclite lib32-pcsclite
81
samba
82
sane
83
sdl2 lib32-sdl2
84
unixodbc
85
v4l-utils lib32-v4l-utils
86
wine-gecko
87
wine-mono
88
)
89
makedepends=(${makedepends[@]} ${depends[@]})
90
install=wine.install
91
92
prepare() {
93
# Get rid of old build dirs
94
rm -rf $pkgname-{32,64}-build
95
mkdir $pkgname-{32,64}-build
96
97
mv wine-${pkgver} wine
98
cd wine
99
}
100
101
build() {
102
# Wine requires GCC. Clang-built winegcc misbehaves.
103
export CC=gcc
104
export CXX=g++
105
106
# Doesn't compile without remove these flags as of 4.10
107
export CFLAGS="$CFLAGS -ffat-lto-objects"
108
109
# Apply flags for cross-compilation
110
export CROSSCFLAGS="-O2 -pipe -g"
111
export CROSSCXXFLAGS="-O2 -pipe -g"
112
export CROSSLDFLAGS="-Wl,-O1"
113
114
echo "Building Wine-64..."
115
cd "$srcdir/$pkgname-64-build"
116
../wine/configure \
117
--prefix=/usr \
118
--libdir=/usr/lib \
119
--with-x \
120
--with-wayland \
121
--with-gstreamer \
122
--enable-win64
123
124
make
125
126
echo "Building Wine-32..."
127
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
128
cd "$srcdir/$pkgname-32-build"
129
../wine/configure \
130
--prefix=/usr \
131
--libdir=/usr/lib \
132
--with-x \
133
--with-wayland \
134
--with-gstreamer \
135
--with-wine64="$srcdir/$pkgname-64-build"
136
137
make
138
}
139
140
package() {
141
echo "Packaging Wine-32..."
142
cd "$srcdir/$pkgname-32-build"
143
make prefix="$pkgdir/usr" \
144
libdir="$pkgdir/usr/lib" \
145
dlldir="$pkgdir/usr/lib/wine" install
146
147
echo "Packaging Wine-64..."
148
cd "$srcdir/$pkgname-64-build"
149
make prefix="$pkgdir/usr" \
150
libdir="$pkgdir/usr/lib" \
151
dlldir="$pkgdir/usr/lib/wine" install
152
153
# Font aliasing settings for Win32 applications
154
install -d "$pkgdir"/usr/share/fontconfig/conf.{avail,default}
155
install -m644 "$srcdir/30-win32-aliases.conf" "$pkgdir/usr/share/fontconfig/conf.avail"
156
ln -s ../conf.avail/30-win32-aliases.conf "$pkgdir/usr/share/fontconfig/conf.default/30-win32-aliases.conf"
157
install -Dm 644 "$srcdir/wine-binfmt.conf" "$pkgdir/usr/lib/binfmt.d/wine.conf"
158
}
159
160
# vim:set ts=8 sts=2 sw=2 et:
161
Changes since previous scan
--- PKGBUILD @ 2026-07-08 00:26+++ PKGBUILD @ 2026-08-03 00:08@@ -4,7 +4,7 @@ # Contributor: Giovanni Scafora <giovanni@archlinux.org> pkgname=wine32-pkgver=11.12+pkgver=11.14 pkgrel=1 _pkgbasever=${pkgver/rc/-rc}@@ -12,7 +12,7 @@ source=("https://dl.winehq.org/wine/source/11.x/wine-${pkgver}.tar.xz" 30-win32-aliases.conf wine-binfmt.conf)-sha512sums=('a6e8fe5d37fb3babab91638abdc370ef46ea91c2de27dcce68757c0a35d7c14c574ca0bb3f25c1af91ac55ea0ed5e21a8a095b65a784daa7956b43f59bda34c9'+sha512sums=('b42f91c0a73b46af07b1f8fb8aacd3dae38a8d62989fb28bd264bd3c5fd788dae19ef734b861d5b94094ba619222993f035aa50a083e59a2abf18a47cf5a5c3e' '6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb' 'bdde7ae015d8a98ba55e84b86dc05aca1d4f8de85be7e4bd6187054bfe4ac83b5a20538945b63fb073caab78022141e9545685e4e3698c97ff173cf30859e285') Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 15:29:50 | MEDIUM | 1 |
| 2026-07-08 00:26:52 | CLEAN | 2 |
| 2026-07-07 09:24:03 | MEDIUM | 1 |
| 2026-06-19 19:07:35 | CLEAN | 2 |
| 2026-06-18 17:53:10 | CLEAN | 2 |
| 2026-06-18 16:11:54 | MEDIUM | 1 |