Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

d3dmetal: Update to v2.0 #27399

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions devel/d3dmetal/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PortSystem 1.0

name d3dmetal
version 1.1
version 2.0
epoch 0
categories devel
maintainers {@Gcenx gmail.com:gcenx83}
Expand All @@ -14,13 +14,13 @@ license Restrictive
supported_archs x86_64
description Direct3D to Metal translation layer
long_description {*}${description}
master_sites https://download.developer.apple.com/Developer_Tools/Game_Porting_Toolkit_${version}
distname Game_Porting_Toolkit_${version}
master_sites https://download.developer.apple.com/Developer_Tools/Game_Porting_Toolkit_1.1
distname Evaluation_environment_for_Windows_games_${version}
use_dmg yes

checksums rmd160 0f40a2f7c4bf6a319fff915dacbceb8e473df1b1 \
sha256 2a86518d7fce89c304266654a76107d395a9a7557225096b73a834893482b7f1 \
size 27956812
checksums rmd160 46ae7f13c19bc60b4f97538970863f0af6aba253 \
sha256 49d39fd87aa95e5b4b7a35278182bba63cf633400bd2c2cfdc26d41cbcc13d26 \
size 28619519

fetch {
if {![file isfile ${distpath}/${distfiles}]} {
Expand Down Expand Up @@ -56,9 +56,10 @@ destroot {
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} Acknowledgements.rtf License.rtf "Read Me.rtf" ${destroot}${docdir}

# Remove broken symlink
file delete ${destroot}${d3dmetal}/external/D3DMetal.framework/Headers

# Remove useless stubs
file delete ${destroot}${d3dmetal}/wine/x86_64-unix/d3d9.so
file delete ${destroot}${d3dmetal}/wine/x86_64-windows/d3d9.dll
file delete ${destroot}${d3dmetal}/wine/x86_64-unix/d3d10.so
file delete ${destroot}${d3dmetal}/wine/x86_64-windows/d3d10.dll
}
Expand Down
Loading