Skip to content

Commit

Permalink
Try packaging ffmpeg better
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j committed Dec 20, 2024
1 parent 6fff941 commit 4aa21ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mac.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import subprocess

block_cipher = None

# default PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Applications/TauonMusicBox.app/Contents/Frameworks

# Should resolve as /opt/homebrew
prefix = subprocess.run(["brew", "--prefix"], capture_output=True, text=True).stdout.strip()

Expand All @@ -22,7 +24,8 @@ a = Analysis(
binaries=[
*lib_paths,
(phazor_path, "."),
(f"{prefix}/Cellar/ffmpeg", "."),
# (f"{prefix}/Cellar/ffmpeg", "."),
(f"{prefix}/bin/ffmpeg", "."),
],
datas=[
("src/tauon/assets", "assets"),
Expand Down

0 comments on commit 4aa21ad

Please sign in to comment.