Compare commits
2 Commits
93c48224f1
...
419e38d8aa
| Author | SHA1 | Date | |
|---|---|---|---|
| 419e38d8aa | |||
| efb87a20f4 |
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
|
||||||
163
portprotonqt/alr.sh
Normal file
163
portprotonqt/alr.sh
Normal file
@@ -0,0 +1,163 @@
|
|||||||
|
_name='PortProtonQt'
|
||||||
|
name='portprotonqt'
|
||||||
|
version='0.1.9'
|
||||||
|
release='1'
|
||||||
|
desc='A modern GUI for PortProton project'
|
||||||
|
desc_ru='Современный графический интерфейс для проекта PortProton'
|
||||||
|
homepage='https://github.com/Boria138/PortProtonQt'
|
||||||
|
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||||
|
architectures=('all')
|
||||||
|
licenses='MIT'
|
||||||
|
provides=('portprotonqt')
|
||||||
|
conflicts=('portprotonqt')
|
||||||
|
|
||||||
|
# Runtime dependencies
|
||||||
|
deps_arch=(
|
||||||
|
'python'
|
||||||
|
'python-babel'
|
||||||
|
'python-evdev'
|
||||||
|
'python-numpy'
|
||||||
|
'python-orjson'
|
||||||
|
'python-psutil'
|
||||||
|
'pyside6'
|
||||||
|
'python-pyudev'
|
||||||
|
'python-requests'
|
||||||
|
'python-tqdm'
|
||||||
|
'python-pillow'
|
||||||
|
'python-vdf'
|
||||||
|
'icoextract'
|
||||||
|
'perl-image-exiftool'
|
||||||
|
'xdg-utils'
|
||||||
|
)
|
||||||
|
|
||||||
|
deps_debian=(
|
||||||
|
'python3'
|
||||||
|
'python3-babel'
|
||||||
|
'python3-evdev'
|
||||||
|
'python3-numpy'
|
||||||
|
'python3-orjson'
|
||||||
|
'python3-psutil'
|
||||||
|
'python3-pyside6.qtcore'
|
||||||
|
'python3-pyside6.qtgui'
|
||||||
|
'python3-pyside6.qtwidgets'
|
||||||
|
'python3-pyudev'
|
||||||
|
'python3-requests'
|
||||||
|
'python3-tqdm'
|
||||||
|
'python3-pil'
|
||||||
|
'python3-vdf'
|
||||||
|
'icoextract'
|
||||||
|
'libimage-exiftool-perl'
|
||||||
|
'xdg-utils'
|
||||||
|
)
|
||||||
|
|
||||||
|
deps_rhel=(
|
||||||
|
'python3'
|
||||||
|
'python3-babel'
|
||||||
|
'python3-evdev'
|
||||||
|
'python3-numpy'
|
||||||
|
'python3-orjson'
|
||||||
|
'python3-psutil'
|
||||||
|
'python3-pyside6'
|
||||||
|
'python3-pyudev'
|
||||||
|
'python3-requests'
|
||||||
|
'python3-tqdm'
|
||||||
|
'python3-pillow'
|
||||||
|
'perl-Image-ExifTool'
|
||||||
|
'xdg-utils'
|
||||||
|
)
|
||||||
|
|
||||||
|
deps_redos=("${deps_rhel[@]}")
|
||||||
|
|
||||||
|
deps_rosa=(
|
||||||
|
'python3'
|
||||||
|
'python3-babel'
|
||||||
|
'python3-evdev'
|
||||||
|
'python3-numpy'
|
||||||
|
'python3-psutil'
|
||||||
|
'python3-pyside6'
|
||||||
|
'python3-pyudev'
|
||||||
|
'python3-requests'
|
||||||
|
'python3-tqdm'
|
||||||
|
'python3-pillow'
|
||||||
|
'perl-Image-ExifTool'
|
||||||
|
'xdg-utils'
|
||||||
|
)
|
||||||
|
|
||||||
|
deps_alt=(
|
||||||
|
'python3'
|
||||||
|
'python3-module-babel'
|
||||||
|
'python3-module-evdev'
|
||||||
|
'python3-module-numpy'
|
||||||
|
'python3-module-orjson'
|
||||||
|
'python3-module-psutil'
|
||||||
|
'python3-module-pyside6'
|
||||||
|
'python3-module-pyudev'
|
||||||
|
'python3-module-requests'
|
||||||
|
'python3-module-tqdm'
|
||||||
|
'python3-module-pillow'
|
||||||
|
'perl-Image-ExifTool'
|
||||||
|
'xdg-utils'
|
||||||
|
)
|
||||||
|
|
||||||
|
# Build dependencies
|
||||||
|
build_deps_arch=(
|
||||||
|
'python'
|
||||||
|
'python-build'
|
||||||
|
'python-installer'
|
||||||
|
'python-setuptools'
|
||||||
|
'python-wheel'
|
||||||
|
'git'
|
||||||
|
)
|
||||||
|
|
||||||
|
build_deps_debian=(
|
||||||
|
'python3'
|
||||||
|
'python3-build'
|
||||||
|
'python3-installer'
|
||||||
|
'python3-setuptools'
|
||||||
|
'python3-wheel'
|
||||||
|
'git'
|
||||||
|
)
|
||||||
|
|
||||||
|
build_deps_rhel=(
|
||||||
|
'python3'
|
||||||
|
'python3-build'
|
||||||
|
'python3-installer'
|
||||||
|
'python3-setuptools'
|
||||||
|
'python3-wheel'
|
||||||
|
'git'
|
||||||
|
)
|
||||||
|
|
||||||
|
build_deps_redos=("${build_deps_rhel[@]}")
|
||||||
|
build_deps_rosa=("${build_deps_rhel[@]}")
|
||||||
|
|
||||||
|
build_deps_alt=(
|
||||||
|
'python3'
|
||||||
|
'python3-module-build'
|
||||||
|
'python3-module-installer'
|
||||||
|
'python3-module-setuptools'
|
||||||
|
'python3-module-wheel'
|
||||||
|
'git-core'
|
||||||
|
)
|
||||||
|
|
||||||
|
sources=("git+https://github.com/Boria138/$_name.git#tag=v${version}")
|
||||||
|
checksums=('SKIP')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$_name"
|
||||||
|
python -m build --wheel --no-isolation
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$_name"
|
||||||
|
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
|
cp -r build-aux/share "$pkgdir/usr/"
|
||||||
|
install-license LICENSE portprotonqt/LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
files() {
|
||||||
|
files-find-bin
|
||||||
|
files-find-lib
|
||||||
|
files-find-share "applications"
|
||||||
|
files-find-share "icons"
|
||||||
|
files-find-share "licenses"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user