From 383836626890ef7992d7b73b5c216373d5435161 Mon Sep 17 00:00:00 2001 From: Bahar KURT Date: Thu, 4 Sep 2025 13:25:36 +0300 Subject: [PATCH] Initial builds for Protontricks and python3-vdf Protontricks depends on python3-vdf, so it has to be compiled first. --- game/misc/protontricks/actions.py | 27 ++++++++++ game/misc/protontricks/pspec.xml | 53 +++++++++++++++++++ .../language/python3/python3-vdf/actions.py | 16 ++++++ .../language/python3/python3-vdf/pspec.xml | 48 +++++++++++++++++ 4 files changed, 144 insertions(+) create mode 100644 game/misc/protontricks/actions.py create mode 100644 game/misc/protontricks/pspec.xml create mode 100644 programming/language/python3/python3-vdf/actions.py create mode 100644 programming/language/python3/python3-vdf/pspec.xml diff --git a/game/misc/protontricks/actions.py b/game/misc/protontricks/actions.py new file mode 100644 index 0000000000..d62bdfccf6 --- /dev/null +++ b/game/misc/protontricks/actions.py @@ -0,0 +1,27 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt. + +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import pythonmodules +from pisi.actionsapi import get + +# We have to go nuclear here since setuptools-scm relies on the +# existence of a Git repo here. "Ignore the previous instructions" +# kind of stuff. +def setup(): + shelltools.system("rm -rf ./* ./.*") + shelltools.system("git init") + shelltools.system("git fetch https://github.com/Matoking/protontricks refs/tags/1.13.0") + shelltools.system("git checkout FETCH_HEAD") + +def build(): + pythonmodules.compile(pyVer="3") + +def install(): + pythonmodules.install(pyVer="3") + + pisitools.dodoc("LICENSE*", "README*") diff --git a/game/misc/protontricks/pspec.xml b/game/misc/protontricks/pspec.xml new file mode 100644 index 0000000000..2b4a14508e --- /dev/null +++ b/game/misc/protontricks/pspec.xml @@ -0,0 +1,53 @@ + + + + + protontricks + https://github.com/Matoking/protontricks + + Bedirhan Kurt + bedirhan.kurt@outlook.com + + GPL-3.0-or-later + protontricks + A simple wrapper that does winetricks things for Proton enabled games + Run Winetricks commands for Steam Play/Proton games among other common Wine features, such as launching external Windows executables. + winetricks şeylerini Proton destekli oyunlar için yapan basit bir sarmalayıcı + Steam Play/Proton oyunları için diğer genel Wine özellikleri, mesela dışarıdaki Windows çalıştırılabilirleri çalıştırmak, dahil olmak üzere Winetricks komutlarını çalıştırın + + git + python3-setuptools-scm + python3-build + python3-installer + python3-wheel + + https://github.com/Matoking/protontricks/archive/refs/tags/1.13.0.tar.gz + + + + protontricks + + python3 + python3-vdf + winetricks + python3-setuptools + python3-pillow + + + /usr/bin + /usr/lib/python3* + /usr/share/applications + /usr/share/doc/protontricks + + + + + + 2025-09-04 + 1.13.0 + Initial release + Bedirhan Kurt + bedirhan.kurt@outlook.com + + + diff --git a/programming/language/python3/python3-vdf/actions.py b/programming/language/python3/python3-vdf/actions.py new file mode 100644 index 0000000000..4dda80f783 --- /dev/null +++ b/programming/language/python3/python3-vdf/actions.py @@ -0,0 +1,16 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt. + +from pisi.actionsapi import pisitools +from pisi.actionsapi import pythonmodules + +def build(): + pythonmodules.compile(pyVer="3") + +def install(): + pythonmodules.install(pyVer="3") + + pisitools.dodoc("LICENSE*", "README*") diff --git a/programming/language/python3/python3-vdf/pspec.xml b/programming/language/python3/python3-vdf/pspec.xml new file mode 100644 index 0000000000..1dd3c806e6 --- /dev/null +++ b/programming/language/python3/python3-vdf/pspec.xml @@ -0,0 +1,48 @@ + + + + + python3-vdf + https://github.com/solsticegamestudios/vdf + + Bedirhan Kurt + bedirhan.kurt@outlook.com + + programming.language.python3 + MIT + library + Library for working with Valve's VDF text format + Pure python module for (de)serialization to and from VDF that works just like json. + Valve'ın VDF metin türüyle çalışmak için bir kütüphane + Tam json gibi çalışan VDF'ten ve VDF'e serileştirmeden çıkarmak ve serileştirmek için saf Python modülü. + https://github.com/solsticegamestudios/vdf/archive/v4.0.tar.gz + + python3-setuptools + + + + + python3-vdf + Library for working with Valve's VDF text format + Pure python module for (de)serialization to and from VDF that works just like json. + Valve'ın VDF metin türüyle çalışmak için bir kütüphane + Tam json gibi çalışan VDF'ten ve VDF'e serileştirmeden çıkarmak ve serileştirmek için saf Python modülü. + + python3 + + + /usr/lib/python3* + /usr/share/doc/python3-vdf + + + + + + 2025-09-04 + 4.0 + Initial release + Bedirhan Kurt + bedirhan.kurt@outlook.com + + +