From c703c6f86a6642b701f2a3715f7bc2f3f76ceb60 Mon Sep 17 00:00:00 2001 From: q66 Date: Wed, 4 Dec 2019 02:22:45 +0100 Subject: [PATCH] 0ad: restrict archs Code for other platforms is not provided in the tree. Big endian ppc64 is not supported (there are unhandled paths in it on which it errors). [ci skip] --- srcpkgs/0ad-data/template | 6 ++++++ srcpkgs/0ad/template | 1 + 2 files changed, 7 insertions(+) diff --git a/srcpkgs/0ad-data/template b/srcpkgs/0ad-data/template index 0e682c4021b..325dfbf5cc6 100644 --- a/srcpkgs/0ad-data/template +++ b/srcpkgs/0ad-data/template @@ -10,6 +10,12 @@ license="CC-BY-SA-3.0" homepage="https://play0ad.com" distfiles="https://releases.wildfiregames.com/0ad-${version}-alpha-unix-data.tar.xz" checksum=e11b4ade7ede954cbbdc1fe6e2e4b25ac6b8d5a644133b640ffc9b099338a713 +nocross=yes + +case "$XBPS_TARGET_MACHINE" in + x86_64*|i686*|aarch64*|armv7l*|ppc64le*) ;; + *) broken="no base game available";; +esac do_install() { vmkdir usr/share/0ad/data diff --git a/srcpkgs/0ad/template b/srcpkgs/0ad/template index e19fd86d627..2c5de508b92 100644 --- a/srcpkgs/0ad/template +++ b/srcpkgs/0ad/template @@ -2,6 +2,7 @@ pkgname=0ad version=0.0.23b revision=3 +archs="x86_64* i686* aarch64* armv7l* ppc64le*" wrksrc="${pkgname}-${version}-alpha" hostmakedepends="pkg-config perl cmake python" makedepends="SDL2-devel boost-devel gloox-devel libcurl-devel libenet-devel