portproton 1.7.3-3
This commit is contained in:
298
portproton/alr.sh
Normal file
298
portproton/alr.sh
Normal file
@@ -0,0 +1,298 @@
|
||||
name='portproton'
|
||||
version='1.7.3'
|
||||
release='3'
|
||||
desc='PortProton is a project designed to make it easy and convenient to run Windows games on Linux for both beginners and advanced users.'
|
||||
homepage='https://linux-gaming.ru/'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
licenses='MIT'
|
||||
provides=('portproton')
|
||||
conflicts=('portproton')
|
||||
|
||||
deps_arch=(
|
||||
'bash'
|
||||
'bubblewrap'
|
||||
'cabextract'
|
||||
'curl'
|
||||
'dbus'
|
||||
'desktop-file-utils'
|
||||
'freetype2'
|
||||
'gdk-pixbuf2'
|
||||
'gzip'
|
||||
'imagemagick'
|
||||
'jq'
|
||||
'lib32-alsa-plugins'
|
||||
'lib32-freetype2'
|
||||
'lib32-gcc-libs'
|
||||
'lib32-gnutls'
|
||||
'lib32-libgl'
|
||||
'lib32-libgpg-error'
|
||||
'lib32-libx11'
|
||||
'lib32-libxss'
|
||||
'lib32-nss'
|
||||
'lib32-pipewire'
|
||||
'lib32-vulkan-driver'
|
||||
'lib32-vulkan-icd-loader'
|
||||
'mesa-utils'
|
||||
'nss'
|
||||
'perl-image-exiftool'
|
||||
'python-pillow'
|
||||
'tar'
|
||||
'ttf-font'
|
||||
'vulkan-driver'
|
||||
'vulkan-icd-loader'
|
||||
'vulkan-tools'
|
||||
'xdg-utils'
|
||||
'xorg-xrandr'
|
||||
'yad'
|
||||
'zstd')
|
||||
deps_debian=(
|
||||
'bash'
|
||||
'yad'
|
||||
'bubblewrap'
|
||||
'zstd'
|
||||
'cabextract'
|
||||
'gzip'
|
||||
'tar'
|
||||
'openssl'
|
||||
'desktop-file-utils'
|
||||
'curl'
|
||||
'dbus'
|
||||
'libfreetype6'
|
||||
'xdg-utils'
|
||||
'libgdk-pixbuf2.0-0'
|
||||
'fonts-dejavu-core'
|
||||
'libnss3'
|
||||
'x11-xserver-utils'
|
||||
'mesa-utils'
|
||||
'imagemagick'
|
||||
'mesa-vulkan-drivers'
|
||||
'libvulkan1'
|
||||
'libgl1-mesa-glx'
|
||||
'libc6-i386'
|
||||
'vulkan-tools'
|
||||
'libc6:i386'
|
||||
'libx11-6:i386'
|
||||
'libxss1:i386'
|
||||
'libasound2-plugins:i386'
|
||||
'pipewire:i386'
|
||||
'libgpg-error0:i386'
|
||||
'libgnutls30:i386'
|
||||
'libfreetype6:i386'
|
||||
'libimage-exiftool-perl'
|
||||
'libnss3:i386'
|
||||
'mesa-vulkan-drivers:i386'
|
||||
'libvulkan1:i386'
|
||||
'libssl1.1:i386'
|
||||
'python3-pil'
|
||||
'jq')
|
||||
deps_rhel=(
|
||||
'bash'
|
||||
'yad'
|
||||
'bubblewrap'
|
||||
'zstd'
|
||||
'cabextract'
|
||||
'gzip'
|
||||
'tar'
|
||||
'openssl'
|
||||
'desktop-file-utils'
|
||||
'curl'
|
||||
'dbus'
|
||||
'freetype'
|
||||
'xdg-utils'
|
||||
'gdk-pixbuf2'
|
||||
'google-noto-fonts'
|
||||
'nss'
|
||||
'xrandr'
|
||||
'mesa-utils'
|
||||
'ImageMagick'
|
||||
'vulkan-loader'
|
||||
'vulkan-loader'
|
||||
'mesa-libGL'
|
||||
'glibc'
|
||||
'vulkan-tools'
|
||||
'glibc.i686'
|
||||
'libX11.i686'
|
||||
'libXScrnSaver.i686'
|
||||
'alsa-plugins-pulseaudio.i686'
|
||||
'pipewire.i686'
|
||||
'libgpg-error.i686'
|
||||
'gnutls.i686'
|
||||
'freetype.i686'
|
||||
'perl-Image-ExifTool'
|
||||
'nss.i686'
|
||||
'mesa-vulkan-drivers.i686'
|
||||
'vulkan-loader.i686'
|
||||
'openssl.i686'
|
||||
'python3-pillow'
|
||||
'jq')
|
||||
deps_redos=(
|
||||
'bash'
|
||||
'yad'
|
||||
'bubblewrap'
|
||||
'zstd'
|
||||
'cabextract'
|
||||
'gzip'
|
||||
'tar'
|
||||
'openssl'
|
||||
'desktop-file-utils'
|
||||
'curl'
|
||||
'dbus'
|
||||
'freetype'
|
||||
'xdg-utils'
|
||||
'gdk-pixbuf2'
|
||||
'nss'
|
||||
'xrandr'
|
||||
'ImageMagick'
|
||||
'vulkan-loader'
|
||||
'vulkan-loader'
|
||||
'mesa-libGL'
|
||||
'glibc'
|
||||
'vulkan-tools'
|
||||
'glibc(x86-32)'
|
||||
'libX11(x86-32)'
|
||||
'libXScrnSaver(x86-32)'
|
||||
'alsa-plugins-pulseaudio(x86-32)'
|
||||
'pipewire(x86-32)'
|
||||
'libgpg-error(x86-32)'
|
||||
'gnutls(x86-32)'
|
||||
'freetype(x86-32)'
|
||||
'perl-Image-ExifTool'
|
||||
'nss(x86-32)'
|
||||
'mesa-vulkan-drivers(x86-32)'
|
||||
'vulkan-loader(x86-32)'
|
||||
'openssl(x86-32)'
|
||||
'python3-pillow'
|
||||
'jq')
|
||||
deps_rosa=(
|
||||
'bash'
|
||||
'yad'
|
||||
'bubblewrap'
|
||||
'zstd'
|
||||
'cabextract'
|
||||
'gzip'
|
||||
'tar'
|
||||
'openssl'
|
||||
'desktop-file-utils'
|
||||
'curl'
|
||||
'dbus'
|
||||
'lib64freetype6'
|
||||
'xdg-utils'
|
||||
'lib64gdk_pixbuf2.0_0'
|
||||
'fonts-ttf-dejavu'
|
||||
'nss'
|
||||
'xrandr'
|
||||
'mesa-utils'
|
||||
'ImageMagick'
|
||||
'lib64vulkan1'
|
||||
'lib64vulkan1'
|
||||
'lib64mesagl1'
|
||||
'lib64c6'
|
||||
'vulkan-tools'
|
||||
'libc6'
|
||||
'libx11_6'
|
||||
'libxss1'
|
||||
'libasound2-plugins'
|
||||
'pipewire'
|
||||
'libgpg-error0'
|
||||
'lib64gnutls28'
|
||||
'lib64freetype6'
|
||||
'perl-Image-ExifTool'
|
||||
'lib64nss3'
|
||||
'lib64vulkan1'
|
||||
'lib64vulkan1'
|
||||
'lib64ssl1.1'
|
||||
'python3-pillow'
|
||||
'jq')
|
||||
deps_alt=(
|
||||
'bash'
|
||||
'yad'
|
||||
'bubblewrap'
|
||||
'zstd'
|
||||
'cabextract'
|
||||
'gzip'
|
||||
'tar'
|
||||
'openssl'
|
||||
'desktop-file-utils'
|
||||
'curl'
|
||||
'dbus'
|
||||
'freetype'
|
||||
'xdg-utils'
|
||||
'gdk-pixbuf'
|
||||
'fonts-ttf-dejavu'
|
||||
'nss'
|
||||
'xrandr'
|
||||
'mesa-utils'
|
||||
'ImageMagick'
|
||||
'vulkan-loader'
|
||||
'vulkan-loader'
|
||||
'libGL'
|
||||
'glibc-core'
|
||||
'vulkan-tools'
|
||||
'glibc-core.i586'
|
||||
'libX11.i586'
|
||||
'libXScrnSaver.i586'
|
||||
'alsa-plugins.i586'
|
||||
'pipewire.i586'
|
||||
'libgpg-error.i586'
|
||||
'gnutls.i586'
|
||||
'freetype.i586'
|
||||
'perl-Image-ExifTool'
|
||||
'nss.i586'
|
||||
'mesa-vulkan-drivers.i586'
|
||||
'vulkan-loader.i586'
|
||||
'openssl.i586'
|
||||
'python3-module-pil'
|
||||
'jq')
|
||||
|
||||
opt_deps_arch=(
|
||||
'gamemode: Support for Feral GameMode'
|
||||
'lib32-gamemode: 32-bit support for Feral GameMode'
|
||||
'gamescope: Support for Gamescope')
|
||||
opt_deps_rhel=(
|
||||
'gamemode: Support for Feral GameMode'
|
||||
'gamescope: Support for Gamescope')
|
||||
opt_deps_rosa=(
|
||||
'gamemode: Support for Feral GameMode'
|
||||
'gamescope: Support for Gamescope')
|
||||
opt_deps_alt=(
|
||||
'gamemode: Support for Feral GameMode'
|
||||
'gamescope: Support for Gamescope')
|
||||
opt_deps_fedora=(
|
||||
'gamemode: Support for Feral GameMode'
|
||||
'gamescope: Support for Gamescope')
|
||||
opt_deps_debian=(
|
||||
'gamemode: Support for Feral GameMode'
|
||||
'gamescope: Support for Gamescope')
|
||||
opt_deps_redos=(
|
||||
'gamemode: Support for Feral GameMode'
|
||||
'gamescope: Support for Gamescope')
|
||||
|
||||
sources=(
|
||||
"git+https://github.com/Castro-Fidel/PortProton_ALT.git#tag=v${version}"
|
||||
)
|
||||
|
||||
checksums=(
|
||||
'SKIP'
|
||||
)
|
||||
|
||||
scripts=(
|
||||
['preinstall']='preinstall.sh'
|
||||
)
|
||||
|
||||
package() {
|
||||
cd PortProton_ALT
|
||||
install-binary ./portproton
|
||||
install-desktop ./ru.linux_gaming.PortProton.desktop portproton.desktop
|
||||
install -Dm644 "ru.linux_gaming.PortProton.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/ru.linux_gaming.PortProton.svg"
|
||||
install -Dm644 "ru.linux_gaming.PortProton.metainfo.xml" -t "${pkgdir}/usr/share/metainfo/"
|
||||
install-license ./LICENSE portproton/LICENSE
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/bin/portproton
|
||||
echo ./usr/share/applications/portproton.desktop
|
||||
echo ./usr/share/icons/hicolor/scalable/apps/ru.linux_gaming.PortProton.svg
|
||||
echo ./usr/share/metainfo/ru.linux_gaming.PortProton.metainfo.xml
|
||||
echo ./usr/share/licenses/portproton/LICENSE
|
||||
}
|
||||
10
portproton/preinstall.sh
Normal file
10
portproton/preinstall.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
if grep -q ID=debian "/etc/os-release"; then
|
||||
sudo dpkg --add-architecture i386
|
||||
sudo apt-get install libvulkan1:i386 libgl1:i386
|
||||
sudo apt-get update
|
||||
elif grep -q ID=fedora "/etc/os-release"; then
|
||||
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
||||
sudo dnf update
|
||||
sudo dnf upgrade --refresh
|
||||
fi
|
||||
Reference in New Issue
Block a user