summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-08-19 13:45:19 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-08-26 10:21:11 +0200
commitca379d65f285795570f6a38ebcef9be673d7e12a (patch)
treeae42dc7e920c84d4f2659ef86b5da83ecc2822dc /package
parentc6b6e97556ed82768b264d80ad349e85b5798541 (diff)
libjpeg-turbo: update to 3.0.3
Diffstat (limited to 'package')
-rw-r--r--package/libjpeg-turbo/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/package/libjpeg-turbo/Makefile b/package/libjpeg-turbo/Makefile
index 15aa86202..26ddffb1e 100644
--- a/package/libjpeg-turbo/Makefile
+++ b/package/libjpeg-turbo/Makefile
@@ -4,19 +4,18 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libjpeg-turbo
-PKG_VERSION:= 1.5.2
+PKG_VERSION:= 3.0.3
PKG_RELEASE:= 1
-PKG_HASH:= 9098943b270388727ae61de82adec73cf9f0dbb240b3bc8b172595ebf405b528
+PKG_HASH:= a649205a90e39a548863a3614a9576a3fb4465f8e8e66d54999f127957c25b21
PKG_DESCR:= jpeg image library
PKG_SECTION:= libs/image
PKG_BUILDDEP:= yasm-host
HOST_BUILDDEP:= yasm-host
-PKG_URL:= http://libjpeg-turbo.virtualgl.org/
-PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libjpeg-turbo/}
+PKG_URL:= http://libjpeg-turbo.org/
+PKG_SITES:= https://github.com/libjpeg-turbo/libjpeg-turbo/archive/refs/tags/
PKG_OPTS:= dev
-PKG_NOPARALLEL:= 1
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+DISTFILES:= ${PKG_VERSION}.tar.gz
include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
@@ -24,15 +23,7 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,LIBJPEG_TURBO,libjpeg-turbo,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBJPEG_TURBO,libjpeg-turbo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-TARGET_CFLAGS+= -fPIC
-
-ifeq ($(ADK_x32),y)
-CONFIGURE_ARGS+= --without-simd
-endif
-
-CONFIGURE_ENV+= ac_cv_prog_NASM=yasm
-CONFIGURE_ARGS+= --with-pic
-HOST_CONFIGURE_ARGS+= --without-simd
+CONFIG_STYLE:= cmake
libjpeg-turbo-install:
$(INSTALL_DIR) $(IDIR_LIBJPEG_TURBO)/usr/lib