From 59ce724f59efdcca88fa3330afbbe6e8273cdebc Mon Sep 17 00:00:00 2001 From: fanyx Date: Thu, 16 Sep 2021 14:33:30 +0200 Subject: [PATCH] mgba: update to 0.9.2 --- common/shlibs | 2 +- srcpkgs/mgba/template | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/common/shlibs b/common/shlibs index 840fbc0b9a9f..6f250a63f5d0 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2566,7 +2566,7 @@ libfirm.so.1.22 libfirm-1.22.0_1 libaudiofile.so.1 audiofile-0.3.6_1 libbs2b.so.0 libbs2b-3.1.0_1 libmunge.so.2 munge-libs-0.5.14_3 -libmgba.so.0.8 libmgba-0.8.1_1 +libmgba.so.0.9 libmgba-0.9.2_1 libglabels-3.0.so.8 libglabels30-3.2.1_1 libglbarcode-3.0.so.0 libglabels30-3.2.1_1 libjim.so.0.80 jimtcl-0.80_1 diff --git a/srcpkgs/mgba/template b/srcpkgs/mgba/template index 8a943c1d9951..bcaae0e64f36 100644 --- a/srcpkgs/mgba/template +++ b/srcpkgs/mgba/template @@ -1,6 +1,6 @@ # Template file for 'mgba' pkgname=mgba -version=0.8.4 +version=0.9.2 revision=1 build_style=cmake hostmakedepends="pkg-config qt5-host-tools qt5-qmake desktop-file-utils" @@ -12,7 +12,12 @@ license="MPL-2.0" homepage="https://www.mgba.io/" changelog="https://raw.githubusercontent.com/mgba-emu/mgba/master/CHANGES" distfiles="https://github.com/mgba-emu/${pkgname}/archive/${version}.tar.gz" -checksum=6b94873dac9040fd6fd9f13f76dc48f342e954f3b4cf82717b59601c3a32b72c +checksum=29ca22ebc56b26a4e7224efbb5fa12c9c006563d41990afb0874d048db76add4 + +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" + configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic" +fi libmgba_package() { short_desc+=" - shared library"