Skip to content

Commit b41e259

Browse files
authored
ptex: update to 2.5.1 (#26829)
* ptex: update to 2.5.1 * ptex rebuilds
1 parent 058f39b commit b41e259

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

mingw-w64-openimageio/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ _realname=openimageio
44
pkgbase=mingw-w64-${_realname}
55
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
66
pkgver=3.1.8.0
7-
pkgrel=1
7+
pkgrel=2
88
pkgdesc="A library for reading and writing images, including classes, utilities, and applications (mingw-w64)"
99
arch=('any')
1010
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')

mingw-w64-ptex/0002-ptex-2.1.28-install-dll-correctly.patch renamed to mingw-w64-ptex/0002-ptex-2.5.1-install-dll-correctly.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
--- a/src/ptex/CMakeLists.txt
22
+++ b/src/ptex/CMakeLists.txt
3-
@@ -40,7 +40,11 @@
4-
target_compile_definitions(Ptex_dynamic PRIVATE PTEX_EXPORTS)
5-
target_link_libraries(Ptex_dynamic
6-
PUBLIC Threads::Threads ZLIB::ZLIB)
3+
@@ -44,7 +44,11 @@ if(PTEX_BUILD_SHARED_LIBS)
4+
PUBLIC Threads::Threads
5+
PRIVATE libdeflate::libdeflate_shared
6+
)
77
- install(TARGETS Ptex_dynamic EXPORT Ptex DESTINATION ${CMAKE_INSTALL_LIBDIR})
88
+ install(TARGETS Ptex_dynamic
99
+ EXPORT Ptex

mingw-w64-ptex/PKGBUILD

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,32 @@ pkgname=(
66
"${MINGW_PACKAGE_PREFIX}-${_realname}"
77
"${MINGW_PACKAGE_PREFIX}-${_realname}-docs"
88
)
9-
pkgver=2.4.3
9+
pkgver=2.5.1
1010
pkgrel=1
1111
pkgdesc="Per-Face Texture Mapping for Production Rendering (mingw-w64)"
1212
arch=('any')
1313
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
1414
url='https://ptex.us/'
15+
msys2_repository_url="https://github.com/wdas/ptex"
1516
msys2_references=(
1617
"cpe: cpe:/a:disneyanimation:ptex"
1718
)
1819
license=('spdx:BSD-3-Clause')
1920
depends=("${MINGW_PACKAGE_PREFIX}-cc-libs"
20-
"${MINGW_PACKAGE_PREFIX}-libwinpthread"
21-
"${MINGW_PACKAGE_PREFIX}-zlib")
21+
"${MINGW_PACKAGE_PREFIX}-libdeflate"
22+
"${MINGW_PACKAGE_PREFIX}-libwinpthread")
2223
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
2324
"${MINGW_PACKAGE_PREFIX}-cmake"
2425
"${MINGW_PACKAGE_PREFIX}-ninja"
2526
"${MINGW_PACKAGE_PREFIX}-pkgconf"
2627
"${MINGW_PACKAGE_PREFIX}-doxygen")
2728
source=("https://github.com/wdas/${_realname}/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz"
2829
"0001-ptex-2.1.28-remove-msc_ver.patch"
29-
"0002-ptex-2.1.28-install-dll-correctly.patch"
30+
"0002-ptex-2.5.1-install-dll-correctly.patch"
3031
"0004-mingw-isfinite.patch")
31-
sha256sums=('435aa2ee1781ff24859bd282b7616bfaeb86ca10604b13d085ada8aa7602ad27'
32+
sha256sums=('6b4b55f562a0f9492655fcb7686ecc335a2a4dacc1de9f9a057a32f3867a9d9e'
3233
'a0ee8547873a24bbe57a799a5cd895e91b786a926c8c3dba5d0771cca8c2d0a3'
33-
'1c6f78a9cb1eb790abaee2e43802a037b92abf9b41d54a6eb8a82f0d1a50457a'
34+
'1a5ad0db81ceeb27f40f83ad50682f08658733889b36dd7d40f5a22dffdd5ee6'
3435
'2ffad92e3dae6647a5ae4dc7f4b1ad77297495fbf70825f86ea6490c884822f9')
3536

3637
# Helper macros to help make tasks easier #
@@ -46,7 +47,7 @@ prepare() {
4647
cd "${srcdir}"/${_realname}-${pkgver}
4748
apply_patch_with_msg \
4849
0001-ptex-2.1.28-remove-msc_ver.patch \
49-
0002-ptex-2.1.28-install-dll-correctly.patch \
50+
0002-ptex-2.5.1-install-dll-correctly.patch \
5051
0004-mingw-isfinite.patch
5152

5253
cd src/doc

0 commit comments

Comments
 (0)