2024-01-27 10:10:24 +01:00
|
|
|
{ pkgs, callPackage}:
|
2023-05-18 23:38:51 +02:00
|
|
|
rec {
|
2023-05-23 02:11:55 +02:00
|
|
|
amdgpu-pro-libs = pkgs.lib.recurseIntoAttrs {
|
|
|
|
vulkan = callPackage ./libs/amdgpu-pro-libs { };
|
|
|
|
amf = callPackage ./libs/amdgpu-pro-libs/amf.nix { };
|
|
|
|
opengl = callPackage ./libs/amdgpu-pro-libs/opengl.nix { };
|
|
|
|
prefixes = callPackage ./libs/amdgpu-pro-libs/prefixes.nix { };
|
2023-05-23 16:25:39 +02:00
|
|
|
firmware = callPackage ./libs/amdgpu-pro-libs/firmware.nix { };
|
2023-05-23 02:11:55 +02:00
|
|
|
};
|
2023-05-18 23:05:47 +02:00
|
|
|
|
|
|
|
|
2024-03-23 10:29:09 +01:00
|
|
|
ffmpeg6-amf-full = (if pkgs.lib.versionOlder pkgs.ffmpeg-full.version "6.1" then pkgs.callPackage ./apps/ffmpeg {
|
2023-05-23 02:11:55 +02:00
|
|
|
inherit (pkgs.darwin.apple_sdk.frameworks)
|
2023-05-18 23:38:51 +02:00
|
|
|
Cocoa CoreServices CoreAudio CoreMedia AVFoundation MediaToolbox
|
2023-05-23 02:11:55 +02:00
|
|
|
VideoDecodeAcceleration VideoToolbox;
|
2024-01-27 10:10:24 +01:00
|
|
|
} else
|
|
|
|
(pkgs.ffmpeg-full.overrideAttrs (finalAttrs: previousAttrs: {configureFlags = previousAttrs.configureFlags ++ ["--enable-amf"]; buildInputs = previousAttrs.buildInputs ++ [pkgs.amf-headers]; }))
|
|
|
|
);
|
2023-05-18 23:38:51 +02:00
|
|
|
|
2024-02-14 16:28:32 +01:00
|
|
|
obs-amf = pkgs.qt6Packages.callPackage ./apps/obs { ffmpeg = ffmpeg6-amf-full; inherit libcef;};
|
2023-05-18 23:05:47 +02:00
|
|
|
|
2024-01-04 20:42:24 +01:00
|
|
|
polymc = pkgs.qt6Packages.callPackage ./apps/games/polymc {};
|
2023-05-23 02:11:55 +02:00
|
|
|
|
2023-10-23 22:46:25 +02:00
|
|
|
alvr = pkgs.callPackage ./apps/games/alvr {};
|
|
|
|
|
2023-06-10 00:22:08 +02:00
|
|
|
vpk_fuse = callPackage ./apps/vpk_fuse.nix {};
|
|
|
|
|
2023-08-31 11:00:29 +02:00
|
|
|
fbset = callPackage ./apps/fbset.nix {};
|
|
|
|
|
2023-10-05 21:47:58 +02:00
|
|
|
libcef = callPackage ./libs/libcef.nix {};
|
2023-07-21 03:13:51 +02:00
|
|
|
|
2024-02-24 20:58:06 +01:00
|
|
|
lh2ctrl = callPackage ./apps/lh2ctrl.nix {};
|
2023-06-10 00:22:08 +02:00
|
|
|
|
2023-05-23 02:11:55 +02:00
|
|
|
}
|