Skip to content

Commit a5637d7

Browse files
committed
Added Apple Silicon build
1 parent ee999dc commit a5637d7

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ if (APPLE)
99
elseif(${XCODE_VERSION} VERSION_GREATER_EQUAL 12)
1010
set(C74_BUILD_FAT YES)
1111
endif ()
12+
elseif (${CMAKE_GENERATOR} MATCHES "Unix Makefiles")
13+
# This is for the benefit of CLion which identifies as Unix Makefiles
14+
set(C74_BUILD_FAT YES)
1215
endif ()
1316

1417
if (NOT CMAKE_OSX_ARCHITECTURES)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The [NewTek NDI®](https://ndi.tv/) protocol allows high-quality, high-performan
2222
jit.ndi is licensed under LGPL 3.0. This means you are free to use the objects in any commercial/non-commercial project but any changes to the source code must be released under the same license.
2323

2424
## Installation
25-
- jit.ndi is supplied as a Max package. Download available from the [releases](https://github.com/impsnldavid/jit.ndi/releases/latest) page.
25+
- jit.ndi is supplied as a Max package. Download available from the [releases](https://github.com/pixsper/jit.ndi/releases/latest) page.
2626
- Unzip and place the entire jit.ndi directory in your Max packages directory (`C:/Users/[username]/Documents/Max 8/Packages` on Windows, `/Users/[username]/Documents/Max 8/Packages` on Mac OS).
2727

2828
## Documentation

docs/jit.ndi.receive~.maxref.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<!--METADATA-->
1515

1616
<metadatalist>
17-
<metadata name='author'>David Butler / The Impersonal Stereo</metadata>
17+
<metadata name='author'>Pixsper</metadata>
1818
<metadata name='tag'>video</metadata>
1919
<metadata name='tag'>streaming</metadata>
2020
<metadata name='tag'>network</metadata>

docs/jit.ndi.send~.maxref.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<!--METADATA-->
1515

1616
<metadatalist>
17-
<metadata name='author'>David Butler / The Impersonal Stereo</metadata>
17+
<metadata name='author'>Pixsper</metadata>
1818
<metadata name='tag'>video</metadata>
1919
<metadata name='tag'>streaming</metadata>
2020
<metadata name='tag'>network</metadata>

package-info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
},
2525
"tags" : [ ],
2626
"version" : "0.3.0",
27-
"website" : "https://github.com/impsnldavid/jit.ndi"
27+
"website" : "https://github.com/pixsper/jit.ndi"
2828
}

source/jit.ndi/jit.ndi.receive~/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ include_directories(
1010
set(PROJECT_SRC
1111
"jit.ndi.receive.c"
1212
"max.jit.ndi.receive~.c"
13+
"${MAX_SDK_INCLUDES}/common/commonsyms.c"
1314
)
1415

1516
add_library(

source/jit.ndi/jit.ndi.receive~/max.jit.ndi.receive~.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <z_dsp.h>
2121
#include <max.jit.mop.h>
2222
#include <ext_dictobj.h>
23+
#include <commonsyms.h>
2324

2425
#include <Processing.NDI.Lib.h>
2526

source/jit.ndi/jit.ndi.send~/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ include_directories(
1010
set(PROJECT_SRC
1111
"jit.ndi.send.c"
1212
"max.jit.ndi.send~.c"
13+
"${MAX_SDK_INCLUDES}/common/commonsyms.c"
1314
)
1415

1516
add_library(

source/jit.ndi/jit.ndi.send~/max.jit.ndi.send~.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <ext_atomic.h>
2020
#include <z_dsp.h>
2121
#include <max.jit.mop.h>
22+
#include <commonsyms.h>
2223

2324
#include <Processing.NDI.Lib.h>
2425

@@ -284,13 +285,6 @@ void max_jit_ndi_send_printversion(t_max_jit_ndi_send* x)
284285
void max_jit_ndi_send_getruntimeurl(t_max_jit_ndi_send* x)
285286
{
286287
t_atom argv;
287-
288-
// TODO: Update this when NewTek fixes their link to the Mac runtime
289-
#ifdef MAC_VERSION
290-
atom_setsym(&argv, gensym("https://ndi.tv/tools/"));
291-
#else
292288
atom_setsym(&argv, gensym(NDILIB_REDIST_URL));
293-
#endif
294-
295289
max_jit_obex_dumpout(x, _sym_runtimeurl, 1, &argv);
296290
}

0 commit comments

Comments
 (0)