subtle: rebuild for ruby-3.1.0.

This commit is contained in:
Leah Neukirchen 2021-12-26 17:11:08 +01:00
parent 3539d32a9d
commit 336915b4c0

View file

@ -1,7 +1,7 @@
# Template file for 'subtle'
pkgname=subtle
version=0.11.6579
revision=2
revision=3
wrksrc="${pkgname}-${version#*.*.}"
hostmakedepends="python3 mercurial ruby-devel pkg-config"
makedepends="ruby-devel libX11-devel libXpm-devel libXft-devel
@ -11,7 +11,7 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-3.0-or-later"
homepage="https://hg.unexist.dev/subtle/"
distfiles="https://hg.unexist.dev/subtle/archive/${version#*.*.}.tar.gz"
checksum=82fead3b4ced4d9985410e1dfd912fc8f78ce5c1b77448862da5a5bea1a33a96
checksum=58b4bf85ae348f120a77001042f036570c239cd3327802b012506ea0158d8d86
conf_files="/etc/xdg/subtle/subtle.rb"
if [ "$CROSS_BUILD" ]; then
@ -19,7 +19,7 @@ if [ "$CROSS_BUILD" ]; then
broken="Word size must match"
fi
hostmakedepends+=" $makedepends"
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/ruby-3.0.0/"
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/ruby-3.1.0/"
export CFLAGS
fi