Name: libpng
-Version: 1.6.13
-Release: 0
+Version: 1.6.21
+Release: 1
License: Zlib
Summary: A library of functions for manipulating PNG image format files
Url: http://www.libpng.org/pub/png/
cp %{SOURCE1001} .
%build
+%ifarch %{arm}
+CFLAGS+=" -D_ARCH_ARM_ -mfpu=neon"
+%endif
+
+%if 0%{?TIZEN_PRODUCT_TV}
+CFLAGS+=" -D_PNG_COLOR_PICK_ENABLED_ -D_PNG_SEQUENTIAL_READ_SUPPORTED_"
+%endif
%configure \
--disable-static \