meshlab: darwin updates

- fix CMake exports
- add missing library
- update to llvm 19

Co-authored-by: Zexin Yuan <gh@yzx9.xyz>
This commit is contained in:
Guilhem Saurel
2025-10-28 19:54:36 +01:00
co-authored by Zexin Yuan
parent 8f27f46238
commit cb2baca778
2 changed files with 4 additions and 2 deletions
+4 -1
View File
@@ -121,8 +121,11 @@ stdenv.mkDerivation (finalAttrs: {
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
mkdir -p $out/{Applications,bin,lib}
mv $out/meshlab.app $out/Applications/
ln $out/Applications/meshlab.app/Contents/Frameworks/libmeshlab-common.dylib $out/lib/
ln $out/Applications/meshlab.app/Contents/Frameworks/libmeshlab-common{,-gui}.dylib $out/lib/
makeWrapper $out/{Applications/meshlab.app/Contents/MacOS,bin}/meshlab
substituteInPlace $out/lib/cmake/meshlab/meshlabTargets-release.cmake --replace-fail \
"{_IMPORT_PREFIX}/meshlab.app" \
"{_IMPORT_PREFIX}/Applications/meshlab.app"
'';
# The hook will wrap all the plugin binaries, make they are not a
-1
View File
@@ -11741,7 +11741,6 @@ with pkgs;
meshlab = callPackage ../by-name/me/meshlab/package.nix {
stdenv = if stdenv.hostPlatform.isDarwin then llvmPackages_18.stdenv else stdenv;
llvmPackages = llvmPackages_18;
};
meshlab-unstable = callPackage ../by-name/me/meshlab-unstable/package.nix {