301 lines
5.5 KiB
Bash
Executable File
301 lines
5.5 KiB
Bash
Executable File
name='portproton'
|
|
version='1.7.3'
|
|
release='1'
|
|
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'
|
|
'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_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
|
|
}
|