nixpkgs/pkgs/applications/video/mpv/darwin-sigtool-no-deep.patch
Anderson Torres 7e96adf643 mpv: use rcodesign instead of darwin.codesign
Co-authored-by: Randy Eckenrode <randy@largeandhighquality.com>
2024-02-09 21:28:46 -03:00

14 lines
480 B
Diff

diff --git a/TOOLS/osxbundle.py b/TOOLS/osxbundle.py
index 98699e478b..d02ecf610e 100755
--- a/TOOLS/osxbundle.py
+++ b/TOOLS/osxbundle.py
@@ -39,7 +39,7 @@ def apply_plist_template(plist_file, version):
print(line.rstrip().replace('${VERSION}', version))
def sign_bundle(binary_name):
- sh('codesign --force --deep -s - ' + bundle_path(binary_name))
+ sh('rcodesign sign ' + bundle_path(binary_name))
def bundle_version():
if os.path.exists('VERSION'):