winecx
maintainer tiziodcaio
· 3 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the official CodeWeavers media subdomain, which hosts legitimate CrossOver Wine source code; building from project-owned infrastructure, even on a non-whitelisted host, is normal for AUR packages and poses low risk.
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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the official CodeWeavers media subdomain, which hosts legitimate CrossOver Wine source code; building from project-owned infrastructure, even on a non-whitelisted host, is normal for AUR packages and poses low risk.
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:87
source=("https://media.codeweavers.com/pub/crossover/source/crossover-sources-${pkgver}.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer : Vitor Veloso <vitorveloso@iid.org.br>
2
# Based on wine-git:
3
## Contributor : Daniel Bermond <dbermond@archlinux.org>
4
## Contributor: Sidney Crestani <sidneycrestani@archlinux.net>
5
## Contributor: sxe <sxxe@gmx.de>
6
7
8
pkgname=winecx
9
pkgver=25.1.1
10
pkgrel=1
11
pkgdesc='CrossOver Wine'
12
arch=('x86_64')
13
url='https://www.codeweavers.com/crossover/'
14
license=('LGPL')
15
16
depends=(
17
'desktop-file-utils'
18
'fontconfig' 'lib32-fontconfig'
19
'freetype2' 'lib32-freetype2'
20
'gcc-libs' 'lib32-gcc-libs'
21
'gettext' 'lib32-gettext'
22
'libpcap' 'lib32-libpcap'
23
'libunwind' 'lib32-libunwind'
24
'libxcursor' 'lib32-libxcursor'
25
'libxkbcommon' 'lib32-libxkbcommon'
26
'libxi' 'lib32-libxi'
27
'libxrandr' 'lib32-libxrandr'
28
'wayland' 'lib32-wayland'
29
)
30
makedepends=('git' 'perl' 'mingw-w64-gcc'
31
'alsa-lib' 'lib32-alsa-lib'
32
'gnutls' 'lib32-gnutls'
33
'gst-plugins-base-libs' 'lib32-gst-plugins-base-libs'
34
'libcups' 'lib32-libcups'
35
'libgphoto2'
36
'libpulse' 'lib32-libpulse'
37
'libxcomposite' 'lib32-libxcomposite'
38
'libxcomposite' 'lib32-libxcomposite'
39
'libxinerama' 'lib32-libxinerama'
40
'libxxf86vm' 'lib32-libxxf86vm'
41
'mesa' 'lib32-mesa'
42
'mesa-libgl' 'lib32-mesa-libgl'
43
'opencl-headers'
44
'opencl-icd-loader' 'lib32-opencl-icd-loader'
45
'pcsclite' 'lib32-pcsclite'
46
'samba'
47
'sane'
48
'sdl2' 'lib32-sdl2'
49
'unixodbc'
50
'v4l-utils' 'lib32-v4l-utils'
51
'vulkan-headers'
52
'vulkan-icd-loader' 'lib32-vulkan-icd-loader'
53
)
54
optdepends=(
55
'alsa-lib' 'lib32-alsa-lib'
56
'alsa-plugins' 'lib32-alsa-plugins'
57
'cups' 'lib32-libcups'
58
'dosbox'
59
'gnutls' 'lib32-gnutls'
60
'gst-plugins-bad'
61
'gst-plugins-base' 'lib32-gst-plugins-base'
62
'gst-plugins-base-libs' 'lib32-gst-plugins-base-libs'
63
'gst-plugins-good' 'lib32-gst-plugins-good'
64
'gst-plugins-ugly'
65
'libgphoto2'
66
'libpulse' 'lib32-libpulse'
67
'libxcomposite' 'lib32-libxcomposite'
68
'libxinerama' 'lib32-libxinerama'
69
'opencl-icd-loader' 'lib32-opencl-icd-loader'
70
'pcsclite' 'lib32-pcsclite'
71
'samba'
72
'sane'
73
'sdl2' 'lib32-sdl2'
74
'unixodbc'
75
'v4l-utils' 'lib32-v4l-utils'
76
'wine-gecko'
77
'wine-mono'
78
79
)
80
options=('staticlibs' '!lto' 'pestrip')
81
82
83
provides=("winecx=${pkgver}" "bin32-winecx=${pkgver}" "winecx-wow64=${pkgver}")
84
conflicts=('winecx')
85
replaces=('winecx')
86
87
source=("https://media.codeweavers.com/pub/crossover/source/crossover-sources-${pkgver}.tar.gz"
88
'distversion.h'
89
'30-win32-aliases.conf'
90
'winecx'
91
'winecx64')
92
sha256sums=('7cdcfcfaee8991f7958b5ccb2837c0facec6e8e681cd3ada8d2745bddbe27d13'
93
'5d30dd4fa71b55ae5f3e30782a2c93ec506a6c6f65017c1a0995230ad7b39a82'
94
'9901a5ee619f24662b241672a7358364617227937d5f6d3126f70528ee5111e7'
95
'2f818f2033ed90c0a6400bbc0294354173ad5cbd63e01be44ea0e0371fabf0d1'
96
'3305dea8406ce68182db06eabf8e7626065bb8c2e3aa586b4361cbef023a4e24')
97
98
99
prepare() {
100
# Alteração: Ajuste para a nova estrutura de diretórios
101
mkdir -p "${srcdir}/sources/wine/programs/winedbg"
102
cp "${srcdir}/distversion.h" "${srcdir}/sources/wine/programs/winedbg/distversion.h"
103
rm -rf build-{32,64}
104
mkdir -p build-{32,64}
105
}
106
107
build() {
108
109
export CFLAGS+=' -ffat-lto-objects -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types'
110
# apply flags for cross-compilation
111
export CROSSCFLAGS="${CFLAGS/-Werror=format-security/} -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types"
112
# export CFLAGS+=' -ffat-lto-objects'
113
# apply flags for cross-compilation
114
# export CROSSCFLAGS="${CFLAGS/-Werror=format-security/}"
115
export CROSSCXXFLAGS="${CXXFLAGS/-Werror=format-security/}"
116
export CROSSLDFLAGS="${LDFLAGS//-Wl,-z*([^[:space:]])/}"
117
118
# build wine 64-bit
119
printf '%s\n' ' -> Building wine-64...'
120
cd build-64
121
# Alteração: Ajuste para a nova estrutura de diretórios
122
../sources/wine/configure \
123
--prefix='/opt/winecx' \
124
--libdir='/opt/winecx/lib' \
125
--with-x \
126
--with-wayland \
127
--with-gstreamer \
128
--with-vulkan \
129
--enable-win64
130
make
131
132
# build wine 32-bit
133
printf '%s\n' ' -> Building wine-32...'
134
cd "${srcdir}/build-32"
135
export PKG_CONFIG_PATH='/opt/winecx/lib32/pkgconfig'
136
# Alteração: Ajuste para a nova estrutura de diretórios
137
../sources/wine/configure \
138
--prefix='/opt/winecx' \
139
--libdir='/opt/winecx/lib32' \
140
--with-x \
141
--with-wayland \
142
--with-gstreamer \
143
--with-vulkan \
144
--with-wine64="${srcdir}/build-64"
145
make
146
}
147
148
package() {
149
# package wine 32-bit
150
# (according to the wine wiki, this reverse 32-bit/64-bit packaging order is important)
151
printf '%s\n' ' -> Packaging wine-32...'
152
cd build-32
153
make prefix="${pkgdir}/opt/winecx" \
154
libdir="${pkgdir}/opt/winecx/lib32" \
155
dlldir="${pkgdir}/opt/winecx/lib32/wine" \
156
install
157
158
# package wine 64-bit
159
printf '%s\n' ' -> Packaging wine-64...'
160
cd "${srcdir}/build-64"
161
make prefix="${pkgdir}/opt/winecx" \
162
libdir="${pkgdir}/opt/winecx/lib" \
163
dlldir="${pkgdir}/opt/winecx/lib/wine" \
164
install
165
166
# font aliasing settings for win32 applications
167
install -d -m755 "${pkgdir}/opt/winecx/share/fontconfig/conf.default"
168
install -D -m644 "${srcdir}/30-win32-aliases.conf" -t "${pkgdir}/opt/winecx/share/fontconfig/conf.avail"
169
ln -s ../conf.avail/30-win32-aliases.conf "${pkgdir}/opt/winecx/share/fontconfig/conf.default/30-win32-aliases.conf"
170
171
# Create symbolic links in /usr/bin
172
install -d "${pkgdir}/usr/bin"
173
174
install -D -m755 "${srcdir}/winecx" -t "${pkgdir}/usr/bin/"
175
install -D -m755 "${srcdir}/winecx64" -t "${pkgdir}/usr/bin/"
176
177
#ln -s /opt/winecx/bin/wine "${pkgdir}/usr/bin/winecx"
178
#ln -s /opt/winecx/bin/wine64 "${pkgdir}/usr/bin/winecx64"
179
#ln -s /opt/winecx/bin/wineserver "${pkgdir}/usr/bin/winecxserver"
180
}
181
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 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |