diff --git a/games-util/umu-launcher/Manifest b/games-util/umu-launcher/Manifest index 55cf034fc0..75bb780038 100644 --- a/games-util/umu-launcher/Manifest +++ b/games-util/umu-launcher/Manifest @@ -45,6 +45,7 @@ DIST syn-2.0.96.crate 297497 BLAKE2B 68b62de28ad670572096a1d92ff8ed6fb55fee441f2 DIST target-lexicon-0.13.5.crate 26928 BLAKE2B f8c62cb91f68a635e6ce3fc254df9ce378b5e8f62c1147404c967484b9ed97fb33d7993b4671611db76566063e999d658d201f856f70196ec678d72cc758cf6d SHA512 956df27c01e1186c5356117ffd07810fc0b62fb919d5bfd215955ba85be00ef675212a3c0dc36679986be7b825442fec5c93c7643b7e1e19c04572e6463546fc DIST typenum-1.17.0.crate 42849 BLAKE2B a6d1162050679e2c4ab2467f3a77d301f6861882eb7c9749f31d047f383dd5bd2ed5846ad63eed99ccc04d6ac36cc697a305861e1d65880b4d2ef04ee0a79b94 SHA512 99773d5d9f850c0602db4bb67dd062b0ade6f086e155216f1bb2fb6569461ba7e1b7c2f2af81ea8833bc3bfcf3fe5033edecb7c438adae63f59d3e30cf63a508 DIST umu-launcher-1.4.1.tar.gz 212059 BLAKE2B 2b2fc5bbde91c4de8ef7fd0ad9fcb35faa6d30f4795ddf305ef0045f0a266c3af677c0808bc3e37246844cb1350659c9487411441d7f3d3ea69b41ec92116e84 SHA512 3c388651c4f302cbae953f926f8c16fca5d382ba6e88ad5df8d8e91b43061b6e2e1e21addb778180acbfe002721eedce63e7f2afe875812e5ada03aef48c9eb6 +DIST umu-launcher-1.4.4.tar.gz 225138 BLAKE2B d23c3355fb9c489fae903067243fd19b0173dee0d903e333d22cb273c88ab6282bf18fd90d3f3d76576994b54fab07941fde96fd2fd893de3d7502adef53a3f4 SHA512 3ad45f4b291df7bd226fe9bd58e5963d9790581fe1fc0957cf35941c76d2ec5291042915e306831d7a332229f28540463d2525b8b151e8b17856f9516e40f700 DIST unicode-ident-1.0.14.crate 47547 BLAKE2B 30e0b6d7f3a967aaf5b9d91237008a60c3a8ded53bda901696e23cea3931dd71b01ddab866dca9e31e17c395d5f5a68f2a938655b693e894962568c2cff5ca15 SHA512 7c6dcd1724e8cfedc37546d1abd49088b633dad228097acc73d7b6cab255b223e830c541144e05a00388fd8ca8066f27c18792419cfa58ee9da4460a38d0bc0a DIST version_check-0.9.5.crate 15554 BLAKE2B 131e75cc287518831e142430e2a39b48e4275874f4473780d47a27552294097aa1cddb65c385583e1022478f940b495eb43c24a8b1617b8ac5a24af3340c0d72 SHA512 d11d5a2240ab0c67ea69db56561ce202201edeef9a8e5eda3d9ae7ab7bb5752d8f343fe7f6536d8383de8d55f9024efa84f66a0c21e69563b7a38c4a628014db DIST zeroize-1.8.1.crate 20029 BLAKE2B 092eba034cd35ec47290020e0c2b213177ff5dbe14ab9e7f0b4ef3cb1ecbc42fbec2b951414e26ab00bc65aaddc2c93eddd5a1963b27c6cd613ac71c65d5cc24 SHA512 dd40ebe98b98fd742608d4066b5ab66caba94b2e679428fcaff9fe547d8cd6ff2360dc85d671ee9183e32fb79cb554d00d6aef9eb8f3d8ad0ec92d0435aa4ebe diff --git a/games-util/umu-launcher/umu-launcher-1.4.4.ebuild b/games-util/umu-launcher/umu-launcher-1.4.4.ebuild new file mode 100644 index 0000000000..7af41c2229 --- /dev/null +++ b/games-util/umu-launcher/umu-launcher-1.4.4.ebuild @@ -0,0 +1,148 @@ +# Copyright 2025-2026 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_{12..15} ) +RUST_MIN_VER="1.85.0" + +CRATES=" + base16ct@1.0.0 + base64ct@1.6.0 + block-buffer@0.10.4 + block-buffer@0.12.0 + cfg-if@1.0.0 + cipher@0.4.4 + const-oid@0.10.2 + cpufeatures@0.2.16 + cpufeatures@0.3.0 + crypto-common@0.1.6 + crypto-common@0.2.1 + curve25519-dalek-derive@0.1.1 + curve25519-dalek@4.1.3 + digest@0.10.7 + digest@0.11.2 + ed25519-dalek@2.1.1 + ed25519@2.2.3 + fiat-crypto@0.2.9 + generic-array@0.14.7 + heck@0.5.0 + hybrid-array@0.4.8 + inout@0.1.3 + libc@0.2.169 + once_cell@1.21.3 + pem-rfc7468@0.7.0 + portable-atomic@1.10.0 + proc-macro2@1.0.92 + pyo3-build-config@0.29.0 + pyo3-ffi@0.29.0 + pyo3-macros-backend@0.29.0 + pyo3-macros@0.29.0 + pyo3@0.29.0 + quote@1.0.38 + rand_core@0.6.4 + rustc_version@0.4.1 + semver@1.0.24 + sha2@0.10.9 + sha2@0.11.0 + signature@2.2.0 + ssh-cipher@0.2.0 + ssh-encoding@0.2.0 + ssh-key@0.6.7 + subtle@2.6.1 + syn@2.0.96 + target-lexicon@0.13.5 + typenum@1.17.0 + unicode-ident@1.0.14 + version_check@0.9.5 + zeroize@1.8.1 +" + +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_PLUGINS=() + +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 +}