uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
69
pkgs/development/libraries/libplacebo/default.nix
Normal file
69
pkgs/development/libraries/libplacebo/default.nix
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
{ lib, stdenv
|
||||
, fetchFromGitLab
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, python3Packages
|
||||
, vulkan-headers
|
||||
, vulkan-loader
|
||||
, shaderc
|
||||
, glslang
|
||||
, lcms2
|
||||
, libepoxy
|
||||
, libGL
|
||||
, xorg
|
||||
, libunwind
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libplacebo";
|
||||
version = "4.192.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "code.videolan.org";
|
||||
owner = "videolan";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "13z2f0vwf9fgfzqgkqzvqwa8c8nkymrg5hv7xslfx53dacjfidhy";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
python3Packages.Mako
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
vulkan-headers
|
||||
vulkan-loader
|
||||
shaderc
|
||||
glslang
|
||||
lcms2
|
||||
libepoxy
|
||||
libGL
|
||||
xorg.libX11
|
||||
libunwind
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dvulkan-registry=${vulkan-headers}/share/vulkan/registry/vk.xml"
|
||||
"-Ddemos=false" # Don't build and install the demo programs
|
||||
"-Dd3d11=disabled" # Disable the Direct3D 11 based renderer
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Reusable library for GPU-accelerated video/image rendering primitives";
|
||||
longDescription = ''
|
||||
Reusable library for GPU-accelerated image/view processing primitives and
|
||||
shaders, as well a batteries-included, extensible, high-quality rendering
|
||||
pipeline (similar to mpv's vo_gpu). Supports Vulkan, OpenGL and Metal (via
|
||||
MoltenVK).
|
||||
'';
|
||||
homepage = "https://code.videolan.org/videolan/libplacebo";
|
||||
changelog = "https://code.videolan.org/videolan/libplacebo/-/tags/v${version}";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ primeos tadeokondrak ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue