mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
libgd: update to 2.30
Fixed CPE_ID. Simplified TIFF option. Refreshed/removed upstream patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
+5
-12
@@ -8,17 +8,17 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libgd
|
||||
PKG_VERSION:=2.2.5
|
||||
PKG_RELEASE:=6
|
||||
PKG_VERSION:=2.3.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://github.com/$(PKG_NAME)/$(PKG_NAME)/releases/download/gd-$(PKG_VERSION)/
|
||||
PKG_HASH:=8c302ccbf467faec732f0741a859eef4ecae22fea2d2ab87467be940842bde51
|
||||
PKG_HASH:=ecd9155b9a417fb3f837f29e5966323796de247789163761dd72dbf83bfcac58
|
||||
|
||||
PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
|
||||
PKG_LICENSE:=MIT
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
PKG_CPE_ID:=cpe:/a:libgd:gd_graphics_library
|
||||
PKG_CPE_ID:=cpe:/a:libgd:libgd
|
||||
|
||||
CMAKE_INSTALL:=1
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
@@ -86,6 +86,7 @@ CMAKE_OPTIONS += \
|
||||
-DENABLE_JPEG=ON \
|
||||
-DENABLE_LIQ=OFF \
|
||||
-DENABLE_PNG=ON \
|
||||
-DENABLE_TIFF=$(if $(CONFIG_LIBGD_TIFF),ON,OFF) \
|
||||
-DENABLE_WEBP=ON \
|
||||
-DENABLE_XPM=OFF \
|
||||
-DZLIB_INCLUDE_DIR="$(STAGING_DIR)/usr"
|
||||
@@ -98,14 +99,6 @@ ifeq ($(BUILD_VARIANT),full)
|
||||
|
||||
else
|
||||
|
||||
ifdef CONFIG_LIBGD_TIFF
|
||||
CMAKE_OPTIONS += \
|
||||
-DENABLE_TIFF=ON
|
||||
else
|
||||
CMAKE_OPTIONS += \
|
||||
-DENABLE_TIFF=OFF
|
||||
endif
|
||||
|
||||
ifdef CONFIG_LIBGD_FREETYPE
|
||||
CMAKE_OPTIONS += \
|
||||
-DFREETYPE_INCLUDE_DIRS=$(STAGING_DIR)/usr/include/freetype2/ \
|
||||
|
||||
Reference in New Issue
Block a user