2008-03-06 19:36:12 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# pixman
|
|
|
|
#
|
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2016-01-31 16:10:39 +01:00
|
|
|
PIXMAN_VERSION = 0.34.0
|
2015-11-14 00:26:40 +01:00
|
|
|
PIXMAN_SOURCE = pixman-$(PIXMAN_VERSION).tar.bz2
|
2012-03-12 11:02:09 +01:00
|
|
|
PIXMAN_SITE = http://xorg.freedesktop.org/releases/individual/lib
|
2013-05-09 07:51:07 +02:00
|
|
|
PIXMAN_LICENSE = MIT
|
|
|
|
PIXMAN_LICENSE_FILES = COPYING
|
|
|
|
|
2008-03-06 19:36:12 +01:00
|
|
|
PIXMAN_INSTALL_STAGING = YES
|
2012-10-22 17:47:52 +02:00
|
|
|
PIXMAN_DEPENDENCIES = host-pkgconf
|
2016-07-03 00:21:01 +02:00
|
|
|
HOST_PIXMAN_DEPENDENCIES = host-pkgconf
|
2015-12-05 12:48:54 +01:00
|
|
|
|
|
|
|
# For 0001-Disable-tests.patch
|
2013-05-20 01:37:00 +02:00
|
|
|
PIXMAN_AUTORECONF = YES
|
|
|
|
|
2012-02-02 12:31:09 +01:00
|
|
|
# don't build gtk based demos
|
2014-09-27 21:32:44 +02:00
|
|
|
PIXMAN_CONF_OPTS = --disable-gtk
|
2008-03-06 19:48:43 +01:00
|
|
|
|
2016-08-26 22:44:58 +02:00
|
|
|
# The ARM SIMD code from pixman requires a recent enough ARM core, but
|
|
|
|
# there is a runtime CPU check that makes sure it doesn't get used if
|
|
|
|
# the HW doesn't support it. The only case where the ARM SIMD code
|
|
|
|
# cannot be *built* at all is when the platform doesn't support ARM
|
|
|
|
# instructions at all, so we have to disable that explicitly.
|
|
|
|
ifeq ($(BR2_ARM_CPU_HAS_ARM),y)
|
|
|
|
PIXMAN_CONF_OPTS += --enable-arm-simd
|
|
|
|
else
|
|
|
|
PIXMAN_CONF_OPTS += --disable-arm-simd
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_ARM_CPU_HAS_ARM)$(BR2_ARM_CPU_HAS_NEON),yy)
|
|
|
|
PIXMAN_CONF_OPTS += --enable-arm-neon
|
|
|
|
else
|
|
|
|
PIXMAN_CONF_OPTS += --disable-arm-neon
|
|
|
|
endif
|
|
|
|
|
2012-03-12 11:02:09 +01:00
|
|
|
# disable iwmmxt support for CPU's that don't have
|
|
|
|
# this feature
|
|
|
|
ifneq ($(BR2_iwmmxt),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
PIXMAN_CONF_OPTS += --disable-arm-iwmmxt
|
2012-03-12 11:02:09 +01:00
|
|
|
endif
|
|
|
|
|
2014-10-31 11:12:05 +01:00
|
|
|
# toolchain gets confused about TLS access through GOT (PIC), so disable TLS
|
|
|
|
# movhi r4, %got_hiadj(%tls_ldo(fast_path_cache))
|
|
|
|
# {standard input}:172: Error: bad expression
|
2015-11-21 17:36:16 +01:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII),y)
|
2014-10-31 11:12:05 +01:00
|
|
|
PIXMAN_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -DPIXMAN_NO_TLS"
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|