Build: Use CMake for sndfile deps building on all platforms #121401

Merged
Brecht Van Lommel merged 4 commits from brecht/blender:sndfile-cmake into main 2024-05-06 17:06:50 +02:00

Hopefully resolves some issues finding opus, and makes Linux and macOS
match Windows more closely.

Hopefully resolves some issues finding opus, and makes Linux and macOS match Windows more closely.
Brecht Van Lommel added 1 commit 2024-05-03 17:40:13 +02:00
dce75865e1 Build: Use CMake for sndfile deps building on all platforms
Hopefully resolves some issues finding opus, and makes Linux and macOS
match Windows more closely.
Raul Fernandez Hernandez approved these changes 2024-05-03 18:13:11 +02:00
Member

Tested and sndfile deps compiles on my M1 MBA where previously failed.

Tested and sndfile deps compiles on my M1 MBA where previously failed.
Brecht Van Lommel added 1 commit 2024-05-03 19:19:49 +02:00
Brecht Van Lommel added 1 commit 2024-05-03 20:06:42 +02:00
Author
Owner

@LazyDodo @Anthony-Roberts The existing Windows mp3lame patch here is wrong, as the version of sndfile now has Findmp3lame..cmake instead of FindLame.cmake. And that new one seems to make our patch obsolete, the logic is the same now.

I think it should work like this, but have not tested Windows.

@LazyDodo @Anthony-Roberts The existing Windows mp3lame patch here is wrong, as the version of sndfile now has `Findmp3lame..cmake` instead of `FindLame.cmake`. And that new one seems to make our patch obsolete, the logic is the same now. I think it should work like this, but have not tested Windows.
Brecht Van Lommel requested review from Ray molenkamp 2024-05-03 20:09:42 +02:00
Author
Owner

I think we may have actually been building without broken file format support for a while, but it may not matter in practice as the file can get loaded through ffmpeg instead of sndfile.

I think we may have actually been building without broken file format support for a while, but it may not matter in practice as the file can get loaded through ffmpeg instead of sndfile.
Brecht Van Lommel added 1 commit 2024-05-06 14:08:38 +02:00
Ray molenkamp approved these changes 2024-05-06 16:38:48 +02:00
Ray molenkamp left a comment
Member

builds fine on windows, all libs are found

builds fine on windows, all libs are found
Brecht Van Lommel merged commit 3aa00e14e4 into main 2024-05-06 17:06:50 +02:00
Brecht Van Lommel deleted branch sndfile-cmake 2024-05-06 17:06:54 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#121401
No description provided.