You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #107188 from berarma/moviewriter-add-theora
Add Ogg Theora support to MovieWriter
This commit is contained in:
@@ -257,14 +257,20 @@ def configure(env: "SConsEnvironment"):
|
||||
if not env["builtin_libtheora"]:
|
||||
env["builtin_libogg"] = False # Needed to link against system libtheora
|
||||
env["builtin_libvorbis"] = False # Needed to link against system libtheora
|
||||
env.ParseConfig("pkg-config theora theoradec --cflags --libs")
|
||||
if env.editor_build:
|
||||
env.ParseConfig("pkg-config theora theoradec theoraenc --cflags --libs")
|
||||
else:
|
||||
env.ParseConfig("pkg-config theora theoradec --cflags --libs")
|
||||
else:
|
||||
if env["arch"] in ["x86_64", "x86_32"]:
|
||||
env["x86_libtheora_opt_gcc"] = True
|
||||
|
||||
if not env["builtin_libvorbis"]:
|
||||
env["builtin_libogg"] = False # Needed to link against system libvorbis
|
||||
env.ParseConfig("pkg-config vorbis vorbisfile --cflags --libs")
|
||||
if env.editor_build:
|
||||
env.ParseConfig("pkg-config vorbis vorbisfile vorbisenc --cflags --libs")
|
||||
else:
|
||||
env.ParseConfig("pkg-config vorbis vorbisfile --cflags --libs")
|
||||
|
||||
if not env["builtin_libogg"]:
|
||||
env.ParseConfig("pkg-config ogg --cflags --libs")
|
||||
|
||||
Reference in New Issue
Block a user