Skip to content

Commit 09e72da

Browse files
committed
feat(libass): Move asm architecture check to portfile
1 parent e0f1a3d commit 09e72da

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

ports/libass/portfile.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ list(APPEND options
2020
-Dtest=disabled
2121
)
2222

23+
if(NOT VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_OSX AND NOT VCPKG_TARGET_IS_LINUX)
24+
list(APPEND options -Drequire-system-font-provider=false)
25+
endif()
26+
2327
set(additional_binaries "")
24-
if("asm" IN_LIST FEATURES)
28+
if("asm" IN_LIST FEATURES AND VCPKG_TARGET_ARCHITECTURE MATCHES "^(x86|x64|arm64)$")
2529
list(APPEND options -Dasm=enabled)
2630
if(VCPKG_TARGET_ARCHITECTURE MATCHES "^(x86|x64)$")
2731
vcpkg_find_acquire_program(NASM)

ports/libass/vcpkg.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
],
2424
"features": {
2525
"asm": {
26-
"description": "Enable assembly optimizations",
27-
"supports": "x86 | x64 | arm64"
26+
"description": "Enable assembly optimizations"
2827
}
2928
}
3029
}

versions/l-/libass.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"versions": [
33
{
4-
"git-tree": "c3156c4393ce4f7947428a3fd8ba3282be6f6f9a",
4+
"git-tree": "b9f53dbb93437ce09b6c53808aba3f1dd1b2ca96",
55
"version": "0.17.4",
66
"port-version": 1
77
},

0 commit comments

Comments
 (0)