Commit Graph

8 Commits

Author SHA1 Message Date
Florian Brandes
b9ca769194
blender: un-break darwin
currently builds on aarch64-darwin, but not on x86_64-darwin.

Blender (specifically the ghost window library) depends on "metal" on
apple devices.
(For details see source/intern/ghost/intern/GHOST_System.cc line 416ff)

It cannot build without it. Metal support should be
introduced by apple sdk 11_1 (?) onward. Once this has been updated in
nixpkgs, this derivation can be revised.

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
Co-authored-by: Alexis Hildebrandt <afh@surryhill.net>
2024-05-07 21:32:26 +02:00
Dmitry Kalinkin
bb498e0202
blender: fix on darwin (#200185) 2022-11-28 17:09:31 -05:00
Dmitry Kalinkin
007c4341fe
blender: fix on darwin 2022-07-07 11:57:28 -04:00
Dmitry Kalinkin
dca87350f4
blender: fix darwin build 2021-06-03 01:48:22 -04:00
Gabriel Ebner
64678850c9 blender: make darwin patch apply again 2021-04-03 15:16:43 +02:00
Dmitry Kalinkin
492f3b80ab
blender: fix on darwin 2020-11-26 14:51:18 -05:00
R. RyanTM
e49189078f
blender: 2.82a -> 2.83.0
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2020-06-09 11:55:48 -04:00
Dmitry Kalinkin
2287d54e7d
blender: fix on darwin
This enables building of Blender.app. The standard build process assumes
that the dependencies are installed in subdirectoris inside $LIBDIR with
libraries built as static. In current implementation we are not looking
to achieve portability, so cmake files are patched to link dynamically
with the libraries in the nix store. Linking to the transitive
dependencies is not needed in the shared case. There are also some minor
inconsistensies in the expected paths, which also need to be patched.

Alternatively, we could patch cmake files to treat darwin as "unix", but
that would require more tweaking to ensure that the frameworks are being
linked properly.
2020-01-09 02:54:50 -05:00