openjph: Update to 0.23.0 (#25508)
* openjph: Update to 0.23.0 * rebuilds * openexr: adjust for new openjph include paths
This commit is contained in:
@@ -4,7 +4,7 @@ _realname=libheif
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=1.20.2
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="HEIF image decoder/encoder library and tools (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||
|
||||
21
mingw-w64-openexr/0008-openjph023-compat.patch
Normal file
21
mingw-w64-openexr/0008-openjph023-compat.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
--- openexr-3.4.0/src/lib/OpenEXRCore/internal_ht.cpp.orig 2025-09-05 19:30:35.000000000 +0200
|
||||
+++ openexr-3.4.0/src/lib/OpenEXRCore/internal_ht.cpp 2025-09-13 10:40:14.503379700 +0200
|
||||
@@ -7,12 +7,12 @@
|
||||
#include <string>
|
||||
#include <fstream>
|
||||
|
||||
-#include <ojph_arch.h>
|
||||
-#include <ojph_file.h>
|
||||
-#include <ojph_params.h>
|
||||
-#include <ojph_mem.h>
|
||||
-#include <ojph_codestream.h>
|
||||
-#include <ojph_message.h>
|
||||
+#include <openjph/ojph_arch.h>
|
||||
+#include <openjph/ojph_file.h>
|
||||
+#include <openjph/ojph_params.h>
|
||||
+#include <openjph/ojph_mem.h>
|
||||
+#include <openjph/ojph_codestream.h>
|
||||
+#include <openjph/ojph_message.h>
|
||||
|
||||
#include "openexr_decode.h"
|
||||
#include "openexr_encode.h"
|
||||
@@ -4,7 +4,7 @@ _realname=openexr
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=3.4.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='A high dynamic-range image file format library (mingw-w64)'
|
||||
arch=('any')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||
@@ -33,11 +33,13 @@ replaces=(
|
||||
)
|
||||
source=("https://github.com/AcademySoftwareFoundation/openexr/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz"
|
||||
0006-cmake-soversion.patch
|
||||
0007-export-TypedAttribute-value.patch)
|
||||
0007-export-TypedAttribute-value.patch
|
||||
0008-openjph023-compat.patch)
|
||||
noextract=("${_realname}-${pkgver}.tar.gz")
|
||||
sha256sums=('1d4bddda2d22571f63db5f067c5741b50c8d41231f360ab17063176eb710a670'
|
||||
'5653da878ebbf5f3087bb529213931b48e151aef082b34e19d189e22be0411e7'
|
||||
'204777b48cde1c4d390789f10c5e429d5295be701f68a7937a90d0ecf271c048')
|
||||
'204777b48cde1c4d390789f10c5e429d5295be701f68a7937a90d0ecf271c048'
|
||||
'ed741101264ab8729ae5c0e5b8f33c25909460f037cba1b66179e241fa0a2881')
|
||||
|
||||
# Helper macros to help make tasks easier #
|
||||
apply_patch_with_msg() {
|
||||
@@ -56,7 +58,8 @@ prepare(){
|
||||
|
||||
apply_patch_with_msg \
|
||||
0006-cmake-soversion.patch \
|
||||
0007-export-TypedAttribute-value.patch
|
||||
0007-export-TypedAttribute-value.patch \
|
||||
0008-openjph023-compat.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
_realname=openjph
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=0.22.0
|
||||
pkgver=0.23.0
|
||||
pkgrel=1
|
||||
pkgdesc="Open-source implementation of HTJ2K (mingw-w64)"
|
||||
arch=('any')
|
||||
@@ -18,7 +18,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
|
||||
"${MINGW_PACKAGE_PREFIX}-cmake"
|
||||
"${MINGW_PACKAGE_PREFIX}-ninja")
|
||||
source=(https://github.com/aous72/OpenJPH/archive/${pkgver}/${_realname}-${pkgver}.tar.gz)
|
||||
sha256sums=('c9c6e9ec82ee8770ede41eeffe8acaab1814724c698b258c3de160dc09cb7d12')
|
||||
sha256sums=('483079f402ee6701d5f35a12c96657a715851da770d5d101c3baa239f8dd26d2')
|
||||
|
||||
build() {
|
||||
declare -a _extra_config
|
||||
|
||||
Reference in New Issue
Block a user