PKGNAME=json-c
PKGDES="A JSON implementation in C"
PKGSEC=libs
PKGDEP=glibc

ABSHADOW=0
# Note: Needed by GDAL.
NOSTATIC=0

CMAKE_AFTER=(
	-DBUILD_STATIC_LIBS=OFF
)

PKGBREAK="bind<=9.13.1 connman-json-client<=1.0 cryptsetup<=2.0.3 \
          freeradius<=3.0.17 libmypaint<=1.3.0 libu2f-host<=1.1.6 \
          libu2f-server<=1.1.0 multipath-tools<=0.7.7-1 mypaint<=1.2.1-1 \
          ndctl<=61.2 newsbeuter<=2.9-2 postgis<=2.4.4 pulseaudio<=12.0 \
          sway<=0.15.2 ttyd<=1.4.0 yubico-pam<=2.26"

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
