# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 CRATES="" inherit cargo DESCRIPTION="Convert Xbox and Xbox 360 ISO images to Games on Demand packages" HOMEPAGE="https://github.com/iliazeus/iso2god-rs" SRC_URI="https://github.com/iliazeus/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz https://github.com/Tatsh/tatsh-overlay/releases/download/__distfiles__/${P}-crates.tar.xz" LICENSE="MIT" # Dependent crate licenses LICENSE+=" Apache-2.0 BSD ISC MIT Unicode-3.0" SLOT="0" KEYWORDS="~amd64" QA_FLAGS_IGNORED="usr/bin/iso2god" src_prepare() { default # Respect the user's optimisation, LTO and stripping settings. sed -e '/^\[profile.release\]/,/^$/{/^\(strip\|lto\)/d}' -i Cargo.toml || die } src_install() { cargo_src_install dodoc README.md }