From 82f61611029e26c55b6e3da46be931926ba288fc Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Tue, 16 May 2023 23:40:13 +0200 Subject: [PATCH] kodiPackages.visualization-pictureit: init at 20.2.0 Signed-off-by: Florian Brandes --- .../visualization-pictureit/default.nix | 25 +++++++++++++++++++ pkgs/top-level/kodi-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/applications/video/kodi/addons/visualization-pictureit/default.nix diff --git a/pkgs/applications/video/kodi/addons/visualization-pictureit/default.nix b/pkgs/applications/video/kodi/addons/visualization-pictureit/default.nix new file mode 100644 index 000000000000..121850542a91 --- /dev/null +++ b/pkgs/applications/video/kodi/addons/visualization-pictureit/default.nix @@ -0,0 +1,25 @@ +{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub, pkg-config, glm, libGL }: + +buildKodiBinaryAddon rec { + pname = "visualization-pictureit"; + namespace = "visualization.pictureit"; + version = "20.2.0"; + + src = fetchFromGitHub { + owner = "xbmc"; + repo = namespace; + rev = "${version}-${rel}"; + hash = "sha256-mQDPjpsxStU01H2XJKnX183KAHG+O1CH8JOmApMmwMc="; + }; + + extraBuildInputs = [ pkg-config libGL ]; + + propagatedBuildInputs = [ glm ]; + meta = with lib; { + homepage = "https://github.com/xbmc/visualization.pictureit"; + description = "PictureIt visualization for kodi"; + platforms = platforms.all; + license = licenses.gpl2Only; + maintainers = teams.kodi.members; + }; +} diff --git a/pkgs/top-level/kodi-packages.nix b/pkgs/top-level/kodi-packages.nix index 596ca53a44d3..899a358fe89d 100644 --- a/pkgs/top-level/kodi-packages.nix +++ b/pkgs/top-level/kodi-packages.nix @@ -100,6 +100,8 @@ let self = rec { vfs-libarchive = callPackage ../applications/video/kodi/addons/vfs-libarchive { }; + visualization-pictureit = callPackage ../applications/video/kodi/addons/visualization-pictureit { }; + visualization-projectm = callPackage ../applications/video/kodi/addons/visualization-projectm { }; visualization-shadertoy = callPackage ../applications/video/kodi/addons/visualization-shadertoy { };