Merge pull request #308399 from jchw-forks/update/ruffle

ruffle: reformat, refactor, nightly-2024-03-25 -> nightly-2024-05-01
This commit is contained in:
Peder Bergebakken Sundt 2024-05-22 01:49:53 +02:00 committed by GitHub
commit 41b78657bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 890 additions and 694 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,33 +1,37 @@
{ alsa-lib {
, fetchFromGitHub alsa-lib,
, makeWrapper fetchFromGitHub,
, openssl makeWrapper,
, pkg-config openssl,
, python3 pkg-config,
, rustPlatform python3,
, lib rustPlatform,
, wayland lib,
, xorg wayland,
, vulkan-loader xorg,
, udev vulkan-loader,
, jre_minimal udev,
, cairo jre_minimal,
, gtk3 cairo,
, wrapGAppsHook3 gtk3,
, gsettings-desktop-schemas wrapGAppsHook3,
, glib gsettings-desktop-schemas,
, libxkbcommon glib,
libxkbcommon,
}: }:
rustPlatform.buildRustPackage rec { let
version = "nightly-2024-05-01";
in
rustPlatform.buildRustPackage {
pname = "ruffle"; pname = "ruffle";
version = "nightly-2024-03-25"; inherit version;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ruffle-rs"; owner = "ruffle-rs";
repo = pname; repo = "ruffle";
rev = version; rev = version;
hash = "sha256-3G5xSGdMl4ISQmb2BVGdKz1cXU5Mnl+VkVYpJ6P12og="; hash = "sha256-WfoYQku1NFhvWyqeSVKtsMMEyUA97YFD7cvdn4XYIPI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -97,8 +101,14 @@ rustPlatform.buildRustPackage rec {
meta = with lib; { meta = with lib; {
description = "An Adobe Flash Player emulator written in the Rust programming language"; description = "An Adobe Flash Player emulator written in the Rust programming language";
homepage = "https://ruffle.rs/"; homepage = "https://ruffle.rs/";
license = with licenses; [ mit asl20 ]; license = with licenses; [
maintainers = with maintainers; [ govanify jchw ]; mit
asl20
];
maintainers = with maintainers; [
govanify
jchw
];
platforms = platforms.linux; platforms = platforms.linux;
mainProgram = "ruffle_desktop"; mainProgram = "ruffle_desktop";
}; };