[packages/libjpeg-turbo] up to 3.0.3
atler
atler at pld-linux.org
Wed May 8 19:34:32 CEST 2024
commit e0b9b557d9c9e05998054a058c836ea6882a4755
Author: Jan Palus <atler at pld-linux.org>
Date: Wed May 8 19:34:17 2024 +0200
up to 3.0.3
libjpeg-turbo-x32-java.patch | 20 +++++++++++---------
libjpeg-turbo.spec | 4 ++--
2 files changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/libjpeg-turbo.spec b/libjpeg-turbo.spec
index 6149355..af075b0 100644
--- a/libjpeg-turbo.spec
+++ b/libjpeg-turbo.spec
@@ -10,13 +10,13 @@
Summary: SIMD accelerated library for manipulating JPEG image files
Summary(pl.UTF-8): Biblioteka do obróbki plików obrazów JPEG z akceleracją SIMD
Name: libjpeg-turbo
-Version: 3.0.2
+Version: 3.0.3
Release: 1
# more specifically: IJG, modified-BSD or Zlib
License: BSD-like
Group: Libraries
Source0: https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: d3b67db95b2553ca6013b4b85fb48f43
+# Source0-md5: fdeae6d78ca577a37857f2d14e33adbe
Patch0: %{name}-x32-java.patch
URL: https://libjpeg-turbo.org/
BuildRequires: cmake >= 3.9.0
diff --git a/libjpeg-turbo-x32-java.patch b/libjpeg-turbo-x32-java.patch
index c6a38a3..7787387 100644
--- a/libjpeg-turbo-x32-java.patch
+++ b/libjpeg-turbo-x32-java.patch
@@ -1,15 +1,17 @@
---- libjpeg-turbo-2.1.1/CMakeLists.txt.orig 2021-08-10 01:16:57.000000000 +0200
-+++ libjpeg-turbo-2.1.1/CMakeLists.txt 2021-10-21 21:29:21.264419411 +0200
-@@ -185,12 +185,8 @@ option(WITH_ARITH_DEC "Include arithmeti
- boolean_number(WITH_ARITH_DEC)
- option(WITH_ARITH_ENC "Include arithmetic encoding support when emulating the libjpeg v6b API/ABI" TRUE)
+--- libjpeg-turbo-3.0.3/CMakeLists.txt.orig 2024-05-08 19:25:20.015726194 +0200
++++ libjpeg-turbo-3.0.3/CMakeLists.txt 2024-05-08 19:27:05.309401756 +0200
+@@ -229,14 +229,10 @@
+ "Include arithmetic encoding support when emulating the libjpeg v6b API/ABI"
+ TRUE)
boolean_number(WITH_ARITH_ENC)
-if(CMAKE_C_COMPILER_ABI MATCHES "ELF X32")
- set(WITH_JAVA 0)
-else()
- option(WITH_JAVA "Build Java wrapper for the TurboJPEG API library (implies ENABLE_SHARED=1)" FALSE)
+ option(WITH_JAVA
+ "Build Java wrapper for the TurboJPEG API library (implies ENABLE_SHARED=1)"
+ FALSE)
boolean_number(WITH_JAVA)
-endif()
- option(WITH_JPEG7 "Emulate libjpeg v7 API/ABI (this makes ${CMAKE_PROJECT_NAME} backward-incompatible with libjpeg v6b)" FALSE)
- boolean_number(WITH_JPEG7)
- option(WITH_JPEG8 "Emulate libjpeg v8 API/ABI (this makes ${CMAKE_PROJECT_NAME} backward-incompatible with libjpeg v6b)" FALSE)
+ option(WITH_JPEG7
+ "Emulate libjpeg v7 API/ABI (this makes ${CMAKE_PROJECT_NAME} backward-incompatible with libjpeg v6b)"
+ FALSE)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libjpeg-turbo.git/commitdiff/e0b9b557d9c9e05998054a058c836ea6882a4755
More information about the pld-cvs-commit
mailing list