attempt to patch kodi
This commit is contained in:
parent
fa94bee79e
commit
3fe1d2756c
|
@ -83,6 +83,13 @@ in {
|
||||||
presets.nixos.serverEncryptedDrive
|
presets.nixos.serverEncryptedDrive
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(_final: prev: {
|
||||||
|
makeModulesClosure = x:
|
||||||
|
prev.makeModulesClosure (x // {allowMissing = true;});
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
services.xserver.videoDrivers = [
|
services.xserver.videoDrivers = [
|
||||||
"modesetting"
|
"modesetting"
|
||||||
"fbdev"
|
"fbdev"
|
||||||
|
|
|
@ -3,7 +3,23 @@
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
kodiPackage = inputs.nixpkgs-kodi-inputstream-adaptive-fork.legacyPackages.${pkgs.system}.kodi-wayland.withPackages (kodiPkgs:
|
kodiForkPkg = inputs.nixpkgs-kodi-inputstream-adaptive-fork.legacyPackages.${pkgs.system}.kodi;
|
||||||
|
|
||||||
|
kodiForkPkgPatched =
|
||||||
|
(kodiForkPkg.override {
|
||||||
|
x11Support = true;
|
||||||
|
waylandSupport = true;
|
||||||
|
gbmSupport = true;
|
||||||
|
})
|
||||||
|
.overrideAttrs (oldAttrs: {
|
||||||
|
patches =
|
||||||
|
oldAttrs.patches
|
||||||
|
++ [
|
||||||
|
./rbp-000-add-pi-support.patch
|
||||||
|
];
|
||||||
|
});
|
||||||
|
|
||||||
|
kodiPackage = kodiForkPkgPatched.withPackages (kodiPkgs:
|
||||||
with kodiPkgs; [
|
with kodiPkgs; [
|
||||||
pvr-iptvsimple
|
pvr-iptvsimple
|
||||||
inputstreamhelper
|
inputstreamhelper
|
||||||
|
@ -16,6 +32,12 @@
|
||||||
visualization-spectrum
|
visualization-spectrum
|
||||||
]);
|
]);
|
||||||
in {
|
in {
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(final: _prev: {
|
||||||
|
ffmpeg = final.ffmpeg-pi;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
kodiPackage
|
kodiPackage
|
||||||
];
|
];
|
||||||
|
|
25991
hosts/raspberry-pi5/profiles/rbp-000-add-pi-support.patch
Normal file
25991
hosts/raspberry-pi5/profiles/rbp-000-add-pi-support.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -6,13 +6,6 @@
|
||||||
inherit (lib.lists) flatten forEach;
|
inherit (lib.lists) flatten forEach;
|
||||||
inherit (lib.modules) mkForce;
|
inherit (lib.modules) mkForce;
|
||||||
in {
|
in {
|
||||||
nixpkgs.overlays = [
|
|
||||||
(_final: prev: {
|
|
||||||
makeModulesClosure = x:
|
|
||||||
prev.makeModulesClosure (x // {allowMissing = true;});
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
imports = flatten (with tree; [
|
imports = flatten (with tree; [
|
||||||
users.root
|
users.root
|
||||||
users.chaos
|
users.chaos
|
||||||
|
|
|
@ -51,6 +51,8 @@ in
|
||||||
inherit (pkgs) kitty-terminfo;
|
inherit (pkgs) kitty-terminfo;
|
||||||
inherit (pkgs) linux_rpi5 raspberrypifw raspberrypiWirelessFirmware raspberrypi-utils;
|
inherit (pkgs) linux_rpi5 raspberrypifw raspberrypiWirelessFirmware raspberrypi-utils;
|
||||||
inherit (pkgs) widevine-aarch64-4k widevine-aarch64-16k;
|
inherit (pkgs) widevine-aarch64-4k widevine-aarch64-16k;
|
||||||
|
inherit (pkgs) ffmpeg-pi;
|
||||||
|
|
||||||
inherit (inputs.home-manager-unstable.packages."${system}") home-manager;
|
inherit (inputs.home-manager-unstable.packages."${system}") home-manager;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue