diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-07-08 17:14:34 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-07-11 21:06:22 -0300 |
commit | 8dc06ce8e9c092b3ceeec9865afac68ae54e54cb (patch) | |
tree | b85a0f9823fd0c9536f6df87068d9012a2ea2b80 /pkgs/applications/emulators/bsnes/ares/default.nix | |
parent | a6a17138c16d172b6e4e78393b54f3cf77c156fe (diff) | |
download | nixpkgs-8dc06ce8e9c092b3ceeec9865afac68ae54e54cb.tar nixpkgs-8dc06ce8e9c092b3ceeec9865afac68ae54e54cb.tar.gz nixpkgs-8dc06ce8e9c092b3ceeec9865afac68ae54e54cb.tar.bz2 nixpkgs-8dc06ce8e9c092b3ceeec9865afac68ae54e54cb.tar.lz nixpkgs-8dc06ce8e9c092b3ceeec9865afac68ae54e54cb.tar.xz nixpkgs-8dc06ce8e9c092b3ceeec9865afac68ae54e54cb.tar.zst nixpkgs-8dc06ce8e9c092b3ceeec9865afac68ae54e54cb.zip |
ares: 131 -> 132
Diffstat (limited to 'pkgs/applications/emulators/bsnes/ares/default.nix')
-rw-r--r-- | pkgs/applications/emulators/bsnes/ares/default.nix | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/pkgs/applications/emulators/bsnes/ares/default.nix b/pkgs/applications/emulators/bsnes/ares/default.nix index 9914e6e691c..bd2311283c9 100644 --- a/pkgs/applications/emulators/bsnes/ares/default.nix +++ b/pkgs/applications/emulators/bsnes/ares/default.nix @@ -1,10 +1,6 @@ { lib , stdenv , fetchFromGitHub -, pkg-config -, which -, wrapGAppsHook -, libicns , SDL2 , alsa-lib , gtk3 @@ -14,31 +10,31 @@ , libX11 , libXv , libao +, libicns , libpulseaudio , openal +, pkg-config , udev +, which +, wrapGAppsHook , darwin }: -let - inherit (darwin.apple_sdk_11_0.frameworks) Cocoa OpenAL; -in stdenv.mkDerivation (finalAttrs: { pname = "ares"; - version = "131"; + version = "132"; src = fetchFromGitHub { owner = "ares-emulator"; repo = "ares"; rev = "v${finalAttrs.version}"; - hash = "sha256-gex53bh/175/i0cMimcPO26C6cxqQGPo4sp2bxh1sAw="; + hash = "sha256-0D7bOv934k1cuP6qNxo0uLp5tSEstI8wm0FEwu6TuUw="; }; patches = [ - ./000-dont-rebuild-on-install.patch - ./001-fix-ruby.patch - ./002-sips-to-png2icns.patch - ./003-fix-darwin-install.patch + ./001-dont-rebuild-on-install.patch + ./002-fix-ruby.diff + ./003-darwin-specific.patch ]; nativeBuildInputs = [ @@ -64,8 +60,8 @@ stdenv.mkDerivation (finalAttrs: { openal udev ] ++ lib.optionals stdenv.isDarwin [ - Cocoa - OpenAL + darwin.apple_sdk_11_0.frameworks.Cocoa + darwin.apple_sdk_11_0.frameworks.OpenAL ]; enableParallelBuilding = true; @@ -80,17 +76,16 @@ stdenv.mkDerivation (finalAttrs: { "local=false" "openmp=true" "prefix=$(out)" - "-C desktop-ui" ]; env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-mmacosx-version-min=10.14"; - meta = with lib; { + meta = { homepage = "https://ares-emu.net"; description = "Open-source multi-system emulator with a focus on accuracy and preservation"; - license = licenses.isc; - maintainers = with maintainers; [ Madouura AndersonTorres ]; - platforms = platforms.unix; + license = lib.licenses.isc; + maintainers = with lib.maintainers; [ Madouura AndersonTorres ]; + platforms = lib.platforms.unix; }; }) -# TODO: select between Qt, GTK2 and GTK3 +# TODO: select between Qt and GTK3 |