json_glib, fix build on 32bit (#6612)

This commit is contained in:
Schrijvers Luc
2022-02-12 12:40:58 +01:00
committed by GitHub
parent 319f6f2189
commit 229a522ff8

View File

@@ -17,7 +17,7 @@ COPYRIGHT="2007, 2008 OpenedHand Ltd
2009-2012 Intel Corp.
2013 Emmanuele Bassi"
LICENSE="GNU LGPL v2.1"
REVISION="1"
REVISION="2"
SOURCE_URI="https://download.gnome.org/sources/json-glib/${portVersion%.*}/json-glib-$portVersion.tar.xz"
CHECKSUM_SHA256="720c5f4379513dc11fd97dc75336eb0c0d3338c53128044d9fabec4374f4bc47"
SOURCE_DIR="json-glib-$portVersion"
@@ -71,6 +71,8 @@ BUILD()
{
meson \
--prefix=$prefix \
--bindir=$binDir \
--libdir=$libDir \
--includedir=$includeDir \
--datadir=$dataDir \
--mandir=$manDir \
@@ -85,10 +87,11 @@ INSTALL()
ninja -C _build install
rm -rf $binDir/installed-tests $dataDir/installed-tests
prepareInstalledDevelLibs libjson-glib-1.0
prepareInstalledDevelLib libjson-glib-1.0
fixPkgconfig
packageEntries devel $developDir
packageEntries devel \
$developDir
}
TEST()