blob: f47ae79ae9cb94f68e06bcae36b73bd5e3330e79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
# Maintainer: Shira Nguyen <sn3446409@gmail.com>
_pkgname=dwproton
pkgname=${_pkgname}-bin
_srcver=11.0-16
pkgver=${_srcver//-/_}
pkgrel=1
epoch=1
pkgdesc="Proton builds with the latest Dawn Winery fixes for gacha games, based on Proton-CachyOS."
arch=('x86_64')
url="https://dawn.wine/dawn-winery/dwproton"
license=('BSD-2-Clause' 'LGPL-2.1-only' 'Zlib' 'MIT' 'MPL-2.0' 'custom')
options=(!strip emptydirs)
provides=('proton' 'dwproton')
_srcdir="${_pkgname}-${_srcver}-${CARCH}"
source=("${url}/releases/download/${_pkgname}-${_srcver}/${_srcdir}.tar.xz")
sha512sums=('37fdb1c223461bc11b1db64550266c90b75759146fbee6f9e56f5282632c8f374dba6e51f624ab8f279eb8426a2c56150ed9f4c7c4977b7741e3ebdd54601ec5')
depends=(
bash
coreutils
curl
dbus
desktop-file-utils
diffutils
freetype2
gcc-libs
gdk-pixbuf2
glibc
hicolor-icon-theme
libxcrypt
libxcrypt-compat
libxkbcommon-x11
lsb-release
lsof
nss
python
ttf-font
usbutils
vulkan-driver
vulkan-icd-loader
xdg-user-dirs
xorg-xrandr
xz
zenity
mpg123
libpulse
libpcap
openxr
libvdpau
nettle3
libvorbis
opus
python-filelock
libogg
jsoncpp
ffmpeg4.4
lapack
ntsync-autoload
)
depends_x86_64=(
lib32-alsa-plugins
lib32-fontconfig
lib32-gcc-libs
lib32-glibc
lib32-libgl
lib32-libgpg-error
lib32-libnm
lib32-libvdpau
lib32-pango
lib32-libva
lib32-libx11
lib32-libxcrypt
lib32-libxcrypt-compat
lib32-lcms2
lib32-libxinerama
lib32-libxss
lib32-nss
lib32-libxkbcommon
lib32-pipewire
lib32-systemd
lib32-vulkan-driver
lib32-vulkan-icd-loader
lib32-libgudev
lib32-libusb
lib32-libpulse
lib32-libsndfile
lib32-mpg123
lib32-orc
lib32-opus
lib32-cairo
lib32-libvorbis
lib32-libwebp
lib32-libogg
)
optdepends=(
steam
lutris
heroic-games-launcher
umu-launcher
dmemcg-booster
gamescope
plasma-foreground-booster
hyprland-focused-booster
niri-focused-booster
)
optdepends+=(
NTSYNC-MODULE
)
install=${pkgname}.install
prepare() {
sed -i -E 's/"dwproton-[^"]*"/"dwproton"/g' \
"${srcdir}/${_srcdir}/compatibilitytool.vdf"
}
package() {
# License
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
mv "${srcdir}/${_srcdir}"/{PATENTS.AV1,LICENSE{,.OFL}} \
"${pkgdir}/usr/share/licenses/${pkgname}"
# Proton executable
install -d "${pkgdir}/usr/share/steam/compatibilitytools.d/${_pkgname}"
mv "${srcdir}/${_srcdir}"/* \
"${pkgdir}/usr/share/steam/compatibilitytools.d/${_pkgname}"
}
|