2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2004-12-14 02:18:23 +01:00
|
|
|
#
|
2013-06-06 01:53:29 +02:00
|
|
|
# libpng
|
2004-12-14 02:18:23 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-02-22 14:23:33 +01:00
|
|
|
|
2017-11-20 16:13:56 +01:00
|
|
|
LIBPNG_VERSION = 1.6.34
|
2013-10-25 13:34:39 +02:00
|
|
|
LIBPNG_SERIES = 16
|
|
|
|
LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.xz
|
2018-07-08 07:16:59 +02:00
|
|
|
LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng$(LIBPNG_SERIES)/$(LIBPNG_VERSION)
|
2017-04-01 21:06:24 +02:00
|
|
|
LIBPNG_LICENSE = Libpng
|
2012-08-11 22:10:21 +02:00
|
|
|
LIBPNG_LICENSE_FILES = LICENSE
|
2008-10-29 13:49:38 +01:00
|
|
|
LIBPNG_INSTALL_STAGING = YES
|
2012-10-22 17:47:52 +02:00
|
|
|
LIBPNG_DEPENDENCIES = host-pkgconf zlib
|
2016-07-03 00:20:52 +02:00
|
|
|
HOST_LIBPNG_DEPENDENCIES = host-pkgconf host-zlib
|
2013-02-07 13:35:06 +01:00
|
|
|
LIBPNG_CONFIG_SCRIPTS = libpng$(LIBPNG_SERIES)-config libpng-config
|
2017-04-21 15:00:26 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
|
|
|
LIBPNG_CONF_OPTS += --enable-arm-neon
|
|
|
|
else
|
|
|
|
LIBPNG_CONF_OPTS += --disable-arm-neon
|
|
|
|
endif
|
2010-12-22 18:23:11 +01:00
|
|
|
|
2017-04-21 15:00:27 +02:00
|
|
|
ifeq ($(BR2_X86_CPU_HAS_SSE2),y)
|
|
|
|
LIBPNG_CONF_OPTS += --enable-intel-sse
|
|
|
|
else
|
|
|
|
LIBPNG_CONF_OPTS += --disable-intel-sse
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|