@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := libpng
PKG_NAME := libpng
PKG_VERSION := 1.6.37
PKG_VERSION := 1.6.37
PKG_RELEASE := 10
PKG_RELEASE := 11
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := @SF/libpng
PKG_SOURCE_URL := @SF/libpng
@ -20,10 +20,8 @@ PKG_LICENSE:=Libpng GPL-2.0-or-later BSD-3-Clause
PKC_LICENSE_FILES := LICENSE contrib/gregbook/COPYING contrib/gregbook/LICENSE
PKC_LICENSE_FILES := LICENSE contrib/gregbook/COPYING contrib/gregbook/LICENSE
PKG_CPE_ID := cpe:/a:libpng:libpng
PKG_CPE_ID := cpe:/a:libpng:libpng
PKG_BUILD_PARALLEL := 1
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / c m a k e . m k
i n c l u d e . . / . . / d e v e l / n i n j a / n i n j a - c m a k e . m k
d e f i n e P a c k a g e / l i b p n g
d e f i n e P a c k a g e / l i b p n g
SECTION:= libs
SECTION:= libs
@ -42,7 +40,7 @@ CMAKE_OPTIONS += \
-DPNG_TESTS= OFF \
-DPNG_TESTS= OFF \
-DPNG_FRAMEWORK= OFF \
-DPNG_FRAMEWORK= OFF \
-DPNG_DEBUG= OFF \
-DPNG_DEBUG= OFF \
-DPNG_HARDWARE_OPTIMIZATIONS= O$( if $( findstring powerpc,$( CONFIG_ARCH) ) $( findstring mipsel ,$( CONFIG_ARCH) ) ,FF,N) \
-DPNG_HARDWARE_OPTIMIZATIONS= O$( if $( findstring powerpc,$( CONFIG_ARCH) ) $( findstring mips,$( CONFIG_ARCH) ) ,FF,N) \
-Dld-version-script= OFF
-Dld-version-script= OFF
d e f i n e B u i l d / I n s t a l l D e v
d e f i n e B u i l d / I n s t a l l D e v