From b1d516a1b29971e63b972d853d7485c0f8fed0f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=28=D0=A5?= =?UTF-8?q?=D1=80=D0=B0=D0=BC=D1=8B=D1=87=D0=AA=29=20=D0=A5=D1=80=D0=B0?= =?UTF-8?q?=D0=BC=D0=BE=D0=B2?= Date: Fri, 16 May 2025 23:49:49 +0300 Subject: [PATCH] =?UTF-8?q?alr-LG=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20portproton?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 ++ LICENSE | 18 +++++++++++++++ README.md | 19 ++++++++++++++++ alr-repo.toml | 2 ++ portproton/alr.sh | 49 ++++++++++++++++++++++++++++++++++++++++ portproton/preinstall.sh | 10 ++++++++ 6 files changed, 100 insertions(+) create mode 100644 .gitignore create mode 100755 LICENSE create mode 100755 README.md create mode 100644 alr-repo.toml create mode 100755 portproton/alr.sh create mode 100644 portproton/preinstall.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..33cde24 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.gigaide +.idea \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100755 index 0000000..199b23a --- /dev/null +++ b/LICENSE @@ -0,0 +1,18 @@ +// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan. +// It has been modified as part of "ALR - Any Linux Repository" by the ALR Authors. +// +// ALR - Any Linux Repository +// Copyright (C) 2025 The ALR Authors +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . \ No newline at end of file diff --git a/README.md b/README.md new file mode 100755 index 0000000..9bbd877 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# ALR-repo +Репозиторий для [ALR](https://gitea.plemya-x.ru/Plemya-x/ALR) + +ALR - это независимая от дистрибутива система сборки для Linux, аналогичная AUR. +В настоящее время он находится в альфа-состоянии и может быть нестабильным. + +## Установка ALR +```bash +curl -fsSL plemya-x.ru/alr/install.sh | bash +``` +## Добавление этого репозитория +```bash +alr addrepo --name alr-LG --url https://gitea.plemya-x.ru/Plemya-x/alr-LG.git +``` + +## Соцсети +Discord - https://discord.com/channels/817759634105827358/1261631565084233749 + +Telegram - https://t.me/plemyakh \ No newline at end of file diff --git a/alr-repo.toml b/alr-repo.toml new file mode 100644 index 0000000..4ec1c65 --- /dev/null +++ b/alr-repo.toml @@ -0,0 +1,2 @@ +[repo] +minVersion = "v0.0.14" diff --git a/portproton/alr.sh b/portproton/alr.sh new file mode 100755 index 0000000..d132136 --- /dev/null +++ b/portproton/alr.sh @@ -0,0 +1,49 @@ +name='portproton' +version='1.7.1' +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="Евгений Храмов " +architectures=('amd64') +licenses='MIT' +provides=('portproton') +conflicts=('portproton') + +deps_arch=('bash' 'icoutils' 'yad' 'bubblewrap' 'zstd' 'cabextract' 'gzip' 'tar' 'openssl' 'desktop-file-utils' 'curl' 'dbus' 'freetype2' 'xdg-utils' 'gdk-pixbuf2' 'ttf-font' 'nss' 'xorg-xrandr' 'mesa-utils' 'vulkan-driver' 'vulkan-icd-loader' 'lib32-libgl' 'lib32-gcc-libs' 'vulkan-tools' 'lib32-libx11' 'lib32-libxss' 'lib32-alsa-plugins' 'lib32-libgpg-error' 'lib32-gnutls' 'lib32-freetype2' 'lib32-nss' 'lib32-vulkan-driver' 'lib32-vulkan-icd-loader' 'lib32-openssl' 'lib32-mesa-utils' 'python-pillow' 'lib32-pipewire' 'jq') +deps_debian=('apt (>= 1.6)' 'apt-transport-https' 'ca-certificates' 'coreutils (>= 8.23-1)' 'curl' 'file' 'libc6 (>= 2.15)' 'libnss3 (>= 2:3.26)' 'policykit-1' 'xz-utils' 'bubblewrap' 'icoutils' 'tar' 'vulkan-tools' 'libvulkan1' 'zstd' 'cabextract' 'xdg-utils' 'openssl' 'bc' 'libgl1' 'wmctrl' 'pciutils' 'desktop-file-utils' 'fontconfig' 'imagemagick' 'yad' 'jq') +deps_fedora=('yad' 'curl' 'icoutils' 'libcurl' 'bubblewrap' 'zstd' 'cabextract' 'tar' 'goverlay' 'openssl' 'vulkan-loader(x86-32)' 'vulkan-loader' 'mesa-vulkan-drivers' 'mesa-vulkan-drivers(x86-32)' 'mesa-libGL' 'mesa-dri-drivers' 'mesa-dri-drivers(x86-32)' 'ImageMagick' 'jq') +deps_redos=('bash' 'icoutils' 'yad' 'bubblewrap' 'zstd' 'cabextract' 'gzip' 'tar' 'openssl' 'desktop-file-utils' 'curl' 'dbus-broker' 'freetype' 'xdg-utils' 'gdk-pixbuf2' 'gnu-free-mono-fonts' 'gnu-free-sans-fonts' 'gnu-free-serif-fonts' 'nss-tools' 'libXrandr' 'mesa-demos' 'mesa-vulkan-drivers' 'vulkan-loader' 'vulkan-tools' 'libglvnd(x86-32)' 'libgcc(x86-32)' 'ImageMagick' 'libX11(x86-32)' 'libXScrnSaver(x86-32)' 'alsa-lib(x86-32)' 'libgpg-error(x86-32)' 'python3-pillow' 'jq') + +opt_deps_arch=('gamemode: Support for Feral GameMode' + 'lib32-gamemode: 32-bit support for Feral GameMode' + 'gamescope: Support for Gamescope' + 'icoextract: For proper icon creation in GNOME') +opt_deps_fedora=('gamemode: Support for Feral GameMode' + 'gamescope: Support for Gamescope' + 'icoextract: For proper icon creation in GNOME') +opt_deps_debian=('gamemode: Support for Feral GameMode' + 'gamescope: Support for Gamescope' + 'python3-icoextract: For proper icon creation in GNOME') +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 -Dm755 "portproton" "${pkgdir}/usr/bin/${name}" + install -Dm644 "ru.linux_gaming.PortProton.desktop" "${pkgdir}/usr/share/applications/${name}.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 -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${name}/LICENSE" +} diff --git a/portproton/preinstall.sh b/portproton/preinstall.sh new file mode 100644 index 0000000..6314d85 --- /dev/null +++ b/portproton/preinstall.sh @@ -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