commit:     3583284b85838204062d5ea310d7a641f2cc5878
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Nov 25 09:43:10 2025 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue Nov 25 13:40:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3583284b

games-util/umu-launcher: add 1.3.0

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 games-util/umu-launcher/Manifest                  |   1 +
 games-util/umu-launcher/umu-launcher-1.3.0.ebuild | 147 ++++++++++++++++++++++
 2 files changed, 148 insertions(+)

diff --git a/games-util/umu-launcher/Manifest b/games-util/umu-launcher/Manifest
index 5a12696317..dbe9915a86 100644
--- a/games-util/umu-launcher/Manifest
+++ b/games-util/umu-launcher/Manifest
@@ -41,6 +41,7 @@ DIST syn-2.0.96.crate 297497 BLAKE2B 
68b62de28ad670572096a1d92ff8ed6fb55fee441f2
 DIST target-lexicon-0.13.2.crate 27923 BLAKE2B 
0761f0ffdc23b9c9df86b384d59611c7b8b5e29ff068f03367ad2fe84cfb6d11e1af149b9338236978e9566fedc51387db9f239d2a602db41045ac3db907faec
 SHA512 
d25e3cc3d679cb6b6f24c03e0c24db9d6ca31b8ed42ac9531bd7637557fbba225a6c8ac4f68a8eaf3569195814d599e668a968afbc73b940a77cbc27552cc90a
 DIST typenum-1.17.0.crate 42849 BLAKE2B 
a6d1162050679e2c4ab2467f3a77d301f6861882eb7c9749f31d047f383dd5bd2ed5846ad63eed99ccc04d6ac36cc697a305861e1d65880b4d2ef04ee0a79b94
 SHA512 
99773d5d9f850c0602db4bb67dd062b0ade6f086e155216f1bb2fb6569461ba7e1b7c2f2af81ea8833bc3bfcf3fe5033edecb7c438adae63f59d3e30cf63a508
 DIST umu-launcher-1.2.9.tar.gz 168550 BLAKE2B 
24edc5d07d331f5a44faad85490479adbf0bec9c5f790d287dfd3b5d4063df4196f5c3265adf71c19c60ad0ffe6d7cd93e749e2e6547c91096eda15cb3f8b5a9
 SHA512 
19ea398265353c39d94d236756846f62f339d0cfb3cc7b0e04ecc7d7c47f287aee98a740e1a86a40af324de9cc041e7627accc3205c875109994000f36f0c358
+DIST umu-launcher-1.3.0.tar.gz 170816 BLAKE2B 
fa3512624a401f512808133497785e01b1db1bd51aa0534de4a6a0015e0c95ceaa8b6763275c57a2aeb7f10549a898932dee91c3b04b12dfd2f4cc80ff5c80dd
 SHA512 
de601ca60f1efde24f6c71f3eb01f12181d58704e4dce5ca8aafcdf0e4a9a2a1234123b8844f828f62310b1597a6726903b4954ffeebe9622ab6bcb3f8f23159
 DIST unicode-ident-1.0.14.crate 47547 BLAKE2B 
30e0b6d7f3a967aaf5b9d91237008a60c3a8ded53bda901696e23cea3931dd71b01ddab866dca9e31e17c395d5f5a68f2a938655b693e894962568c2cff5ca15
 SHA512 
7c6dcd1724e8cfedc37546d1abd49088b633dad228097acc73d7b6cab255b223e830c541144e05a00388fd8ca8066f27c18792419cfa58ee9da4460a38d0bc0a
 DIST unindent-0.2.3.crate 7306 BLAKE2B 
a57407b117e99c230750c7d4a2a0899586c8271e4ba88ecb409c976905c014f42885372c234a75fbfbedf71dbed779f95f735975d150adacdcb61152a49db4c2
 SHA512 
2f1eb420ea3653b00d3e5fa0c2c105da8fd8a37cb3e699373c168604b799fccd5f0faf0cddce4212d119c2afb0c86b41efc3a50752b83ff7beda2bd84d360505
 DIST version_check-0.9.5.crate 15554 BLAKE2B 
131e75cc287518831e142430e2a39b48e4275874f4473780d47a27552294097aa1cddb65c385583e1022478f940b495eb43c24a8b1617b8ac5a24af3340c0d72
 SHA512 
d11d5a2240ab0c67ea69db56561ce202201edeef9a8e5eda3d9ae7ab7bb5752d8f343fe7f6536d8383de8d55f9024efa84f66a0c21e69563b7a38c4a628014db

diff --git a/games-util/umu-launcher/umu-launcher-1.3.0.ebuild 
b/games-util/umu-launcher/umu-launcher-1.3.0.ebuild
new file mode 100644
index 0000000000..776d8f0f61
--- /dev/null
+++ b/games-util/umu-launcher/umu-launcher-1.3.0.ebuild
@@ -0,0 +1,147 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CARGO_OPTIONAL=1
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{11..14} )
+
+CRATES="
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+"
+
+inherit cargo distutils-r1
+
+DESCRIPTION="Unified launcher for Windows games on Linux"
+HOMEPAGE="https://github.com/Open-Wine-Components/umu-launcher";
+SRC_URI="
+       
https://github.com/Open-Wine-Components/umu-launcher/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz
+       ${CARGO_CRATE_URIS}
+"
+
+LICENSE="GPL-3"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-3.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="delta-update"
+
+RDEPEND="
+       >=dev-python/python-xlib-0.33[${PYTHON_USEDEP}]
+       >=dev-python/urllib3-2.0.0[${PYTHON_USEDEP}]
+       delta-update? (
+               >=dev-python/cbor2-5.4.6[${PYTHON_USEDEP}]
+               >=dev-python/pyzstd-0.16.2[${PYTHON_USEDEP}]
+               >=dev-python/xxhash-3.2.0[${PYTHON_USEDEP}]
+       )
+"
+BDEPEND="
+       app-text/scdoc
+       delta-update? (
+               ${RUST_DEPEND}
+       )
+       test? (
+               >=dev-python/cbor2-5.4.6[${PYTHON_USEDEP}]
+               >=dev-python/pyzstd-0.16.2[${PYTHON_USEDEP}]
+               >=dev-python/xxhash-3.2.0[${PYTHON_USEDEP}]
+       )
+"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-1.2.9-optional-delta.patch"
+)
+
+QA_FLAGS_IGNORED=".*/site-packages/umu/.*so"
+
+EPYTEST_DESELECT=(
+       # 
https://github.com/Open-Wine-Components/umu-launcher/blob/28eef5f5638d5660fb2d7c1811c8f2915a5e8c5b/packaging/nix/unwrapped.nix#L49
+       umu/umu_test.py::TestGameLauncher::test_parse_args_noopts
+)
+
+distutils_enable_tests pytest
+
+src_unpack() {
+       if use delta-update; then
+               cargo_src_unpack
+       else
+               default
+       fi
+}
+
+src_configure() {
+       distutils-r1_src_configure
+       ./configure.sh --prefix="${EPREFIX}"/usr || die
+}
+
+src_compile() {
+       distutils-r1_src_compile
+       emake umu-docs
+       if use delta-update; then
+               cargo_src_compile
+               cp "$(cargo_target_dir)"/{libumu_delta.so,umu_delta.so} || die
+       fi
+}
+
+python_test() {
+       epytest -o 'python_files=test_*.py *_test_*.py *_test.py'
+}
+
+python_install() {
+       distutils-r1_python_install
+       if use delta-update; then
+               python_moduleinto umu
+               python_domodule "$(cargo_target_dir)"/umu_delta.so
+       fi
+}
+
+src_install() {
+       distutils-r1_src_install
+       emake DESTDIR="${D}" umu-docs-install
+}

Reply via email to