From dfb29d790e863f8dd2124e00695db12969feb2c7 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sat, 26 Oct 2024 00:28:13 -0700 Subject: [PATCH] add: umu-launcher (#2416) (#2432) (cherry picked from commit d236e63061b9949dea6756f3d2ad09bdcce91b9f) Co-authored-by: madomado --- anda/games/umu/anda.hcl | 5 ++++ anda/games/umu/umu-launcher.spec | 48 ++++++++++++++++++++++++++++++++ anda/games/umu/update.rhai | 1 + 3 files changed, 54 insertions(+) create mode 100644 anda/games/umu/anda.hcl create mode 100644 anda/games/umu/umu-launcher.spec create mode 100644 anda/games/umu/update.rhai diff --git a/anda/games/umu/anda.hcl b/anda/games/umu/anda.hcl new file mode 100644 index 0000000000..b0d30d12de --- /dev/null +++ b/anda/games/umu/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "umu-launcher.spec" + } +} diff --git a/anda/games/umu/umu-launcher.spec b/anda/games/umu/umu-launcher.spec new file mode 100644 index 0000000000..d85b2818ff --- /dev/null +++ b/anda/games/umu/umu-launcher.spec @@ -0,0 +1,48 @@ +Name: umu-launcher +Version: 1.1.3 +Release: 1%?dist +Summary: A tool for launching non-steam games with proton + +License: GPL-3.0-only +URL: https://github.com/Open-Wine-Components/umu-launcher + +BuildArch: noarch +BuildRequires: anda-srpm-macros +BuildRequires: meson >= 0.54.0 +BuildRequires: ninja-build +BuildRequires: cmake +BuildRequires: g++ +BuildRequires: gcc-c++ +BuildRequires: scdoc +BuildRequires: git +BuildRequires: python3-devel +BuildRequires: python3-build +BuildRequires: python3-installer +BuildRequires: python3-hatchling +BuildRequires: python +BuildRequires: python3 + +Requires: python +Requires: python3 +Requires: python3-xlib +Requires: python3-filelock + + +%description +%summary. + +%prep +%git_clone %url %version + +%build +./configure.sh --prefix=%_prefix +%make_build + +%install +%make_install PYTHONDIR=%python3_sitelib + +%files +%_bindir/umu-run +%_mandir/* +%_datadir/steam/compatibilitytools.d/umu-launcher/ +%python3_sitelib/umu* diff --git a/anda/games/umu/update.rhai b/anda/games/umu/update.rhai new file mode 100644 index 0000000000..1cd24bc5fc --- /dev/null +++ b/anda/games/umu/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("Open-Wine-Components/umu-launcher"));