Skip to content

Commit 277c108

Browse files
committed
ptex: update to 2.5.1
1 parent bfea30f commit 277c108

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

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: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ 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')
@@ -17,20 +17,20 @@ msys2_references=(
1717
)
1818
license=('spdx:BSD-3-Clause')
1919
depends=("${MINGW_PACKAGE_PREFIX}-cc-libs"
20-
"${MINGW_PACKAGE_PREFIX}-libwinpthread"
21-
"${MINGW_PACKAGE_PREFIX}-zlib")
20+
"${MINGW_PACKAGE_PREFIX}-libdeflate"
21+
"${MINGW_PACKAGE_PREFIX}-libwinpthread")
2222
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
2323
"${MINGW_PACKAGE_PREFIX}-cmake"
2424
"${MINGW_PACKAGE_PREFIX}-ninja"
2525
"${MINGW_PACKAGE_PREFIX}-pkgconf"
2626
"${MINGW_PACKAGE_PREFIX}-doxygen")
2727
source=("https://github.com/wdas/${_realname}/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz"
2828
"0001-ptex-2.1.28-remove-msc_ver.patch"
29-
"0002-ptex-2.1.28-install-dll-correctly.patch"
29+
"0002-ptex-2.5.1-install-dll-correctly.patch"
3030
"0004-mingw-isfinite.patch")
31-
sha256sums=('435aa2ee1781ff24859bd282b7616bfaeb86ca10604b13d085ada8aa7602ad27'
31+
sha256sums=('6b4b55f562a0f9492655fcb7686ecc335a2a4dacc1de9f9a057a32f3867a9d9e'
3232
'a0ee8547873a24bbe57a799a5cd895e91b786a926c8c3dba5d0771cca8c2d0a3'
33-
'1c6f78a9cb1eb790abaee2e43802a037b92abf9b41d54a6eb8a82f0d1a50457a'
33+
'1a5ad0db81ceeb27f40f83ad50682f08658733889b36dd7d40f5a22dffdd5ee6'
3434
'2ffad92e3dae6647a5ae4dc7f4b1ad77297495fbf70825f86ea6490c884822f9')
3535

3636
# Helper macros to help make tasks easier #
@@ -46,7 +46,7 @@ prepare() {
4646
cd "${srcdir}"/${_realname}-${pkgver}
4747
apply_patch_with_msg \
4848
0001-ptex-2.1.28-remove-msc_ver.patch \
49-
0002-ptex-2.1.28-install-dll-correctly.patch \
49+
0002-ptex-2.5.1-install-dll-correctly.patch \
5050
0004-mingw-isfinite.patch
5151

5252
cd src/doc

0 commit comments

Comments
 (0)