EAPI=8 DESCRIPTION="Free and Open Source AI Image Upscaler for Linux, MacOS, and Windows" HOMEPAGE="https://github.com/upscayl/upscayl" SRC_URI="https://github.com/upscayl/upscayl/releases/download/v${PV}/upscayl-${PV}-linux.deb custom-models? ( mirror+https://github.com/upscayl/custom-models/archive/refs/heads/main.zip -> custom-models.zip )" LICENSE="AGPL-3" RESTRICT="mirror" SLOT="0" KEYWORDS="~amd64" QA_PRESTRIPPED="opt/Upscayl/.*" IUSE="custom-models" pkg_pretend() { if use custom-models; then ewarn "WARNING: Custom-models are ~300MB in size. This will be fetched and included in the installation." einfo "Fetching custom-models.zip...." fi } DEPEND=" sys-apps/coreutils app-arch/tar custom-models? ( app-arch/unzip ) " RDEPEND=" ! Add custom models" einfo "Set to '/opt/Upscayl/resources/models'" fi ewarn "**********************" einfo "A CLI binary named 'upscayl-cli' is available" einfo "See 'upscayl-cli -h' for usage." }