*/*: 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

@@ -8,11 +8,13 @@ inherit desktop wrapper xdg
DESCRIPTION="Game like benchmark (CPU, GPU), for ~5 minutes"
HOMEPAGE="https://benchmark.unigine.com/superposition"
SRC_URI="https://assets.unigine.com/d/Unigine_Superposition-${PV}.run"
SRC_URI="
amd64? ( https://assets.unigine.com/d/Unigine_Superposition-${PV}.run )
"
LICENSE="Unigine-Superposition-Benchmark-EULA"
SLOT="0"
KEYWORDS="~amd64"
KEYWORDS="-* ~amd64"
RESTRICT="bindist mirror strip"
@@ -35,7 +37,7 @@ RDEPEND="
x11-libs/libXinerama
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libxcb:=
x11-libs/libxcb:0
"
QA_PREBUILT="

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.

View File

@@ -8,7 +8,9 @@ inherit unpacker xdg
DESCRIPTION="CAD/CAM software for 3D design and processing"
HOMEPAGE="https://www.zwsoft.cn/product/zw3d/linux"
SRC_URI="https://home-store-packages.uniontech.com/appstore/pool/appstore/c/${MY_PGK_NAME}/${MY_PGK_NAME}_${PV}_amd64.deb -> ${P}.deb"
SRC_URI="
amd64? ( https://home-store-packages.uniontech.com/appstore/pool/appstore/c/${MY_PGK_NAME}/${MY_PGK_NAME}_${PV}_amd64.deb -> ${P}.deb )
"
S="${WORKDIR}"

View File

@@ -8,7 +8,9 @@ inherit unpacker xdg
DESCRIPTION="CAD/CAM software for 3D design and processing"
HOMEPAGE="https://www.zwsoft.cn/product/zw3d/linux"
SRC_URI="signed_com.zwsoft.zw3d2025_2025.0.3.0_amd64.deb"
SRC_URI="
amd64? ( signed_com.zwsoft.zw3d2025_2025.0.3.0_amd64.deb )
"
S="${WORKDIR}"

View File

@@ -11,12 +11,14 @@ MY_PN="AIMP"
DESCRIPTION="AIMP - Free Audio Player"
HOMEPAGE="https://www.aimp.ru/"
SRC_URI="aimp-$(ver_cut 1-2)-$(ver_cut 3)a.x86_64.rpm"
SRC_URI="
amd64? ( aimp-$(ver_cut 1-2)-$(ver_cut 3)a.x86_64.rpm )
"
S="${WORKDIR}"
LICENSE="AIMP"
SLOT="0"
KEYWORDS="~amd64"
KEYWORDS="-* ~amd64"
RDEPEND="
app-accessibility/at-spi2-core

View File

@@ -11,12 +11,14 @@ MY_PN="AIMP"
DESCRIPTION="AIMP - Free Audio Player"
HOMEPAGE="https://www.aimp.ru/"
SRC_URI="aimp-$(ver_cut 1-2)-$(ver_cut 3)a.x86_64.rpm"
SRC_URI="
amd64? ( aimp-$(ver_cut 1-2)-$(ver_cut 3)a.x86_64.rpm )
"
S="${WORKDIR}"
LICENSE="AIMP"
SLOT="0"
KEYWORDS="~amd64"
KEYWORDS="-* ~amd64"
RDEPEND="
app-accessibility/at-spi2-core

View File

@@ -7,7 +7,9 @@ inherit desktop xdg
DESCRIPTION="P2P file sharing system"
HOMEPAGE="https://www.fopnu.com"
SRC_URI="https://download2.fopnu.com/download/${P}-1.x86_64.manualinstall.tar.gz -> ${P}.tar.gz"
SRC_URI="
amd64? ( https://download2.fopnu.com/download/${P}-1.x86_64.manualinstall.tar.gz -> ${P}.tar.gz )
"
S="${WORKDIR}/${P}-1.x86_64.manualinstall"