javaPackages.jogl_2_4_0: add aarch64-linux support

+8 -4
+8 -4
pkgs/development/java-modules/jogl/default.nix
··· 48 48 49 49 ( cd jogl/make 50 50 51 + # prevent looking for native libraries in /usr/lib 52 + substituteInPlace build-*.xml \ 53 + --replace 'dir="''${TARGET_PLATFORM_USRLIBS}"' "" 54 + 51 55 # force way to do disfunctional "ant -Dsetup.addNativeBroadcom=false" and disable dependency on raspberrypi drivers 52 56 # if arm/aarch64 support will be added, this block might be commented out on those platforms 53 57 # on x86 compiling with default "setup.addNativeBroadcom=true" leads to unsatisfied import "vc_dispmanx_resource_delete" in libnewt.so ··· 63 67 64 68 installPhase = '' 65 69 mkdir -p $out/share/java 66 - cp -v $NIX_BUILD_TOP/gluegen/build/gluegen-rt{,-natives-linux-amd64}.jar $out/share/java/ 67 - cp -v $NIX_BUILD_TOP/jogl/build/jar/jogl-all{,-natives-linux-amd64}.jar $out/share/java/ 68 - cp -v $NIX_BUILD_TOP/jogl/build/nativewindow/nativewindow{,-awt,-natives-linux-amd64,-os-drm,-os-x11}.jar $out/share/java/ 70 + cp -v $NIX_BUILD_TOP/gluegen/build/gluegen-rt{,-natives-linux-*}.jar $out/share/java/ 71 + cp -v $NIX_BUILD_TOP/jogl/build/jar/jogl-all{,-natives-linux-*}.jar $out/share/java/ 72 + cp -v $NIX_BUILD_TOP/jogl/build/nativewindow/nativewindow{,-awt,-natives-linux-*,-os-drm,-os-x11}.jar $out/share/java/ 69 73 ''; 70 74 71 75 meta = with lib; { 72 76 description = "Java libraries for 3D Graphics, Multimedia and Processing"; 73 77 homepage = "https://jogamp.org/"; 74 78 license = licenses.bsd3; 75 - platforms = [ "x86_64-linux" ]; 79 + platforms = platforms.linux; 76 80 }; 77 81 }; 78 82