From bb1610635926a622840993db3f329325cef28874 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Wed, 8 Apr 2020 02:27:19 +0200 Subject: [PATCH] subtle: update to 0.11.3285. --- srcpkgs/subtle/template | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/srcpkgs/subtle/template b/srcpkgs/subtle/template index 0d5ad4cd177..385866ce6e5 100644 --- a/srcpkgs/subtle/template +++ b/srcpkgs/subtle/template @@ -1,9 +1,9 @@ # Template file for 'subtle' pkgname=subtle -version=0.11.3284 -revision=3 -nocross=yes -hostmakedepends="mercurial ruby-devel pkg-config" +version=0.11.3285 +revision=1 +archs="x86_64* i686* aarch64*" +hostmakedepends="python3 mercurial ruby-devel pkg-config" makedepends="ruby-devel libX11-devel libXpm-devel libXft-devel libXinerama-devel libXrandr-devel libXtst-devel" short_desc="Manual tiling window manager" @@ -12,6 +12,12 @@ license="GPL-2" homepage="http://subtle.subforge.org" conf_files="/etc/xdg/subtle/subtle.rb" +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" $makedepends" + CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/ruby-2.7.0/" + export CFLAGS +fi + do_fetch() { local url="http://hg.subforge.org/${pkgname}" msg_normal "Fetching source ${version%.*} from $url ...\n"