Skip to content

Commit

Permalink
Merge pull request #195 from phunkyfish/osx-arm64
Browse files Browse the repository at this point in the history
Support osx-arm64
  • Loading branch information
phunkyfish authored Jul 25, 2022
2 parents 9e29c33 + 264136c commit e122f56
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
buildPlugin(version: "Nexus", platforms: ["android-armv7", "android-aarch64", "ios-aarch64", "osx-x86_64", "tvos-aarch64", "ubuntu-ppa", "windows-i686", "windows-x86_64"], UBUNTU_DISTS: ['focal'])
buildPlugin(version: "Nexus", UBUNTU_DISTS: ['focal'])
6 changes: 5 additions & 1 deletion depends/common/gmp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ if(CORE_SYSTEM_NAME STREQUAL osx OR
set(EXTRA_ARGS "${EXTRA_ARGS} --host=aarch64-apple-darwin")
else()
set(EXTRA_ARGS "--with-pic")
set(EXTRA_ARGS "${EXTRA_ARGS} --host=x86_64-apple-darwin")
if(CPU STREQUAL "arm64")
set(EXTRA_ARGS "${EXTRA_ARGS} --host=aarch64-apple-darwin")
else()
set(EXTRA_ARGS "${EXTRA_ARGS} --host=x86_64-apple-darwin")
endif()
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(EXTRA_ARGS "${EXTRA_ARGS} ABI=64")
else()
Expand Down
2 changes: 1 addition & 1 deletion depends/common/gmp/gmp.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
258e6cd51b3fbdfc185c716d55f82c08aff57df0c6fbd143cf6ed561267a1526
fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2
2 changes: 1 addition & 1 deletion depends/common/gmp/gmp.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
gmp https://gmplib.org/download/gmp/gmp-6.2.0.tar.xz
gmp https://gmplib.org/download/gmp/gmp-6.2.1.tar.xz
11 changes: 11 additions & 0 deletions depends/common/libpng/0001-disable-neon-arm-apple.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -79,6 +79,8 @@
if(index EQUAL -1)
message(FATAL_ERROR
"PNG_ARM_NEON must be one of [${PNG_ARM_NEON_POSSIBLE_VALUES}]")
+ elseif(APPLE)
+ add_definitions(-DPNG_ARM_NEON_OPT=0)
elseif(NOT ${PNG_ARM_NEON} STREQUAL "off")
set(libpng_arm_sources
arm/arm_init.c
1 change: 0 additions & 1 deletion depends/darwin_embedded/libpng/deps.txt

This file was deleted.

1 change: 0 additions & 1 deletion depends/darwin_embedded/libpng/flags.txt

This file was deleted.

1 change: 0 additions & 1 deletion depends/darwin_embedded/libpng/libpng.sha256

This file was deleted.

1 change: 0 additions & 1 deletion depends/darwin_embedded/libpng/libpng.txt

This file was deleted.

2 changes: 1 addition & 1 deletion inputstream.ffmpegdirect/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="inputstream.ffmpegdirect"
version="20.3.0"
version="20.4.0"
name="Inputstream FFmpeg Direct"
provider-name="Ross Nicholson">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
3 changes: 3 additions & 0 deletions inputstream.ffmpegdirect/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v20.4.0
- Support osx-arm64, i.e. OSX on Apple Silicon

v20.3.0
- Support ${duration} format specifier

Expand Down

0 comments on commit e122f56

Please sign in to comment.