From c874cd0b3825124a3b067f7f8db4f060f209956c Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 27 Dec 2022 11:32:47 +0100 Subject: libsForQt5.libopenshot-audio: unbreak on aarch64-darwin --- pkgs/applications/video/openshot-qt/libopenshot-audio.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'pkgs/applications/video') diff --git a/pkgs/applications/video/openshot-qt/libopenshot-audio.nix b/pkgs/applications/video/openshot-qt/libopenshot-audio.nix index bf77e8a8f0da1..a5f3cbf1fda25 100644 --- a/pkgs/applications/video/openshot-qt/libopenshot-audio.nix +++ b/pkgs/applications/video/openshot-qt/libopenshot-audio.nix @@ -28,6 +28,12 @@ stdenv.mkDerivation rec { sha256 = "sha256-XtwTZsj/L/sw/28E7Qr5UyghGlBFFXvbmZLGXBB8vg0="; }; + # https://github.com/OpenShot/libopenshot-audio/issues/112 + postPatch = '' + substituteInPlace JuceLibraryCode/modules/juce_core/native/juce_osx_ObjCHelpers.h \ + --replace "#if ! JUCE_IOS" "#if ! JUCE_IOS && ! JUCE_ARM" + ''; + nativeBuildInputs = [ cmake doxygen @@ -63,7 +69,5 @@ stdenv.mkDerivation rec { license = with licenses; gpl3Plus; maintainers = with maintainers; [ AndersonTorres ]; platforms = with platforms; unix; - # never built on aarch64-darwin since first introduction in nixpkgs - broken = stdenv.isDarwin && stdenv.isAarch64; }; } -- cgit 1.4.1