build: add proton-ge-custom package

This commit is contained in:
2026-06-16 02:47:23 +02:00
commit 93c65a80c9
3 changed files with 100 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
pkgbase = proton-ge-custom
pkgdesc = Compatibility tool for Steam Play based on Wine and additional components
pkgver = 10.34
pkgrel = 1
url = https://github.com/GloriousEggroll/proton-ge-custom
arch = x86_64
license = BSD-3-Clause
license = LGPL-2.1-or-later
license = MIT
license = MPL-2.0
license = Zlib
license = custom
depends = python
optdepends = steam: use Proton-GE through Steam
optdepends = vulkan-driver: Vulkan driver for DXVK and vkd3d-proton
optdepends = lib32-vulkan-driver: 32-bit Vulkan driver for DXVK and vkd3d-proton
optdepends = vulkan-icd-loader: Vulkan loader
optdepends = lib32-vulkan-icd-loader: 32-bit Vulkan loader
optdepends = lib32-openal: OpenAL audio support for 32-bit games
optdepends = gst-plugins-base-libs: GStreamer media support
optdepends = gst-plugins-bad-libs: additional GStreamer media support
optdepends = lib32-libva: VA-API media support for 32-bit games
optdepends = lib32-libvdpau: VDPAU media support for 32-bit games
optdepends = lib32-mpg123: MPEG audio support for 32-bit games
optdepends = lib32-libtheora: Theora video support for 32-bit games
optdepends = lib32-speex: Speex audio support for 32-bit games
optdepends = lib32-libjpeg-turbo: JPEG support for 32-bit games
optdepends = lib32-libgudev: device discovery support for 32-bit games
optdepends = lib32-libusb: USB device support for 32-bit games
optdepends = lib32-openssl: TLS support for 32-bit games
optdepends = lib32-libsoup3: HTTP support for 32-bit media components
optdepends = winetricks: protonfixes support
optdepends = kdialog: KDE dialog support
optdepends = zenity: GTK dialog support
conflicts = proton-ge-custom-bin
options = !strip
options = !debug
options = emptydirs
source = GE-Proton10-34.tar.gz::https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton10-34/GE-Proton10-34.tar.gz
sha512sums = 9fd0b2cfbd501c0b5c892239c392c7283a029b5e5d5a77d3f85b0ce190d555456241a18eebca16b53f094b403499201c13550a3f0b9b365e1a5eb5737cbb7303
pkgname = proton-ge-custom
+6
View File
@@ -0,0 +1,6 @@
[proton-ge-custom]
source = "github"
github = "GloriousEggroll/proton-ge-custom"
use_latest_release = true
from_pattern = '^GE-Proton(\d+)-(\d+)$'
to_pattern = '\1.\2'
+52
View File
@@ -0,0 +1,52 @@
# Maintainer: Oscar Wallberg <oscar.wallberg@outlook.com>
pkgname=proton-ge-custom
pkgver=10.34
pkgrel=1
pkgdesc='Compatibility tool for Steam Play based on Wine and additional components'
arch=('x86_64')
url='https://github.com/GloriousEggroll/proton-ge-custom'
license=('BSD-3-Clause' 'LGPL-2.1-or-later' 'MIT' 'MPL-2.0' 'Zlib' 'custom')
depends=('python')
optdepends=(
'steam: use Proton-GE through Steam'
'vulkan-driver: Vulkan driver for DXVK and vkd3d-proton'
'lib32-vulkan-driver: 32-bit Vulkan driver for DXVK and vkd3d-proton'
'vulkan-icd-loader: Vulkan loader'
'lib32-vulkan-icd-loader: 32-bit Vulkan loader'
'lib32-openal: OpenAL audio support for 32-bit games'
'gst-plugins-base-libs: GStreamer media support'
'gst-plugins-bad-libs: additional GStreamer media support'
'lib32-libva: VA-API media support for 32-bit games'
'lib32-libvdpau: VDPAU media support for 32-bit games'
'lib32-mpg123: MPEG audio support for 32-bit games'
'lib32-libtheora: Theora video support for 32-bit games'
'lib32-speex: Speex audio support for 32-bit games'
'lib32-libjpeg-turbo: JPEG support for 32-bit games'
'lib32-libgudev: device discovery support for 32-bit games'
'lib32-libusb: USB device support for 32-bit games'
'lib32-openssl: TLS support for 32-bit games'
'lib32-libsoup3: HTTP support for 32-bit media components'
'winetricks: protonfixes support'
'kdialog: KDE dialog support'
'zenity: GTK dialog support'
)
conflicts=('proton-ge-custom-bin')
options=('!strip' '!debug' 'emptydirs')
_release="GE-Proton${pkgver/./-}"
_toolname='Proton-GE'
source=("${_release}.tar.gz::${url}/releases/download/${_release}/${_release}.tar.gz")
sha512sums=('9fd0b2cfbd501c0b5c892239c392c7283a029b5e5d5a77d3f85b0ce190d555456241a18eebca16b53f094b403499201c13550a3f0b9b365e1a5eb5737cbb7303')
package() {
local toolroot="${pkgdir}/usr/share/steam/compatibilitytools.d/${pkgname}"
local licensedir="${pkgdir}/usr/share/licenses/${pkgname}"
install -d "${toolroot}"
cp -a --no-preserve=ownership "${srcdir}/${_release}/." "${toolroot}/"
sed -i "s|\"${_release}\"|\"${_toolname}\"|g" "${toolroot}/compatibilitytool.vdf"
install -Dm644 "${srcdir}/${_release}/LICENSE" "${licensedir}/LICENSE"
install -Dm644 "${srcdir}/${_release}/LICENSE.OFL" "${licensedir}/LICENSE.OFL"
install -Dm644 "${srcdir}/${_release}/PATENTS.AV1" "${licensedir}/PATENTS.AV1"
}