# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 optfeature DESCRIPTION="Launch wrapper for a user supplied DLSS-NR-on-AMD provider under Proton" HOMEPAGE="https://codeberg.org/NoBodyZ/dlssnr-run" SRC_URI="https://codeberg.org/NoBodyZ/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" RESTRICT="mirror" EPYTEST_PLUGINS=() distutils_enable_tests pytest pkg_postinst() { optfeature "the host HIP runtime (libamdhip64.so.7) used by providers" dev-util/hip elog "dlssnr-run ships no third party binary: register a provider you" elog "obtained yourself, then check the machine:" elog " dlssnr-run provider add NAME DIR" elog " dlssnr-run doctor" elog "Steam launch options: dlssnr-run %command%" }