mpv: use rcodesign instead of darwin.codesign

Co-authored-by: Randy Eckenrode <randy@largeandhighquality.com>
This commit is contained in:
Anderson Torres 2024-02-02 10:53:07 -03:00
parent ce6ca5eb06
commit 7e96adf643
3 changed files with 3 additions and 4 deletions

View File

@ -7,7 +7,7 @@ index 98699e478b..d02ecf610e 100755
def sign_bundle(binary_name):
- sh('codesign --force --deep -s - ' + bundle_path(binary_name))
+ sh('codesign --force -s - ' + bundle_path(binary_name))
+ sh('rcodesign sign ' + bundle_path(binary_name))
def bundle_version():
if os.path.exists('VERSION'):

View File

@ -20,7 +20,7 @@
, libuchardet
, libiconv
, xcbuild
, sigtool
, rcodesign
, waylandSupport ? stdenv.isLinux
, wayland
@ -156,7 +156,7 @@ in stdenv'.mkDerivation (finalAttrs: {
ninja
pkg-config
]
++ lib.optionals stdenv.isDarwin [ xcbuild.xcrun sigtool ]
++ lib.optionals stdenv.isDarwin [ xcbuild.xcrun rcodesign ]
++ lib.optionals swiftSupport [ swift ]
++ lib.optionals waylandSupport [ wayland-scanner ];

View File

@ -33765,7 +33765,6 @@ with pkgs;
mpv-unwrapped = darwin.apple_sdk_11_0.callPackage ../applications/video/mpv {
stdenv = if stdenv.isDarwin then swiftPackages.stdenv else stdenv;
inherit lua;
inherit (darwin) sigtool; # otherwise it breaks splicing...
};
shaka-packager = callPackage ../applications/video/shaka-packager { };