# This file is part of MXE. See LICENSE.md for licensing information. PKG := pixman $(PKG)_WEBSITE := https://cairographics.org/ $(PKG)_IGNORE := $(PKG)_VERSION := 0.43.4 $(PKG)_CHECKSUM := a0624db90180c7ddb79fc7a9151093dc37c646d8c38d3f232f767cf64b85a226 $(PKG)_SUBDIR := pixman-$($(PKG)_VERSION) $(PKG)_FILE := pixman-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://cairographics.org/releases/$($(PKG)_FILE) $(PKG)_URL_2 := https://xorg.freedesktop.org/archive/individual/lib/$($(PKG)_FILE) $(PKG)_DEPS := cc meson-wrapper libpng define $(PKG)_UPDATE $(WGET) -q -O- 'https://cairographics.org/releases/?C=M;O=D' | \ $(SED) -n 's,.*"pixman-\([0-9][^"]*\)\.tar.*,\1,p' | \ head -1 endef define $(PKG)_BUILD '$(MXE_MESON_WRAPPER)' $(MXE_MESON_OPTS) \ $(if $(MXE_IS_LLVM),-Da64-neon=disabled) \ -Dtests=disabled \ -Ddemos=disabled \ -Dgtk=disabled \ '$(BUILD_DIR)' '$(SOURCE_DIR)' '$(MXE_NINJA)' -C '$(BUILD_DIR)' -j '$(JOBS)' '$(MXE_NINJA)' -C '$(BUILD_DIR)' -j '$(JOBS)' install endef