PKG_NAME = pngquant-virtual

OPTIONAL_DEPENDS  = cross/pngquant3
OPTIONAL_DEPENDS += cross/pngquant2

include ../../mk/spksrc.common.mk

ifeq ($(findstring $(ARCH),$(OLD_PPC_ARCHS) $(ARMv5_ARCHS)),$(ARCH))
# std=c11 not fully supported
DEPENDS = cross/pngquant2
else ifeq ($(ARCH)-$(TCVERSION),x86-5.2)
DEPENDS = cross/pngquant2
else
DEPENDS = cross/pngquant3
endif

include ../../mk/spksrc.cross-virtual.mk
