*/*: QA fixes for prebuilt packages

Define SRC_URI only for supported archs.
Explicitly dekeyword them on unsupported arches.
Replace := from DEPENDS with the actual slot as it has no effect since we do not
rebuild against the new slot.

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
Paul Zander
2025-11-18 17:59:01 +01:00
parent e14b03dca6
commit d2bbb6ac03
7 changed files with 26 additions and 12 deletions

View File

@@ -7,12 +7,14 @@ inherit desktop xdg
DESCRIPTION="GUI configurator for supported QMK-based keyboards"
HOMEPAGE="https://www.caniusevia.com/"
SRC_URI="https://github.com/the-via/releases/releases/download/v${PV}/${P}-linux.AppImage -> ${P}.AppImage"
SRC_URI="
amd64? ( https://github.com/the-via/releases/releases/download/v${PV}/${P}-linux.AppImage -> ${P}.AppImage )
"
S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
KEYWORDS="-* ~amd64"
# Stripping AppImage binaries causes them to no longer recognize their internal
# filesystem.