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
36
pkgs/development/libraries/libomxil-bellagio/default.nix
Normal file
36
pkgs/development/libraries/libomxil-bellagio/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libomxil-bellagio";
|
||||
version = "0.9.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/omxil/omxil/Bellagio%20${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "0k6p6h4npn8p1qlgq6z3jbfld6n1bqswzvxzndki937gr0lhfg2r";
|
||||
};
|
||||
|
||||
configureFlags =
|
||||
lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ "ac_cv_func_malloc_0_nonnull=yes" ];
|
||||
|
||||
patches = [
|
||||
./fedora-fixes.patch
|
||||
./fno-common.patch
|
||||
];
|
||||
|
||||
# Disable parallel build as it fails as:
|
||||
# ld: cannot find -lomxil-bellagio
|
||||
enableParallelBuilding = false;
|
||||
|
||||
doCheck = false; # fails
|
||||
|
||||
# Fix for #40213, probably permanent, because upstream doesn't seem to be
|
||||
# developed anymore. Alternatively, gcc7Stdenv could be used.
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=array-bounds -Wno-error=stringop-overflow=8";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://sourceforge.net/projects/omxil/";
|
||||
description = "An opensource implementation of the Khronos OpenMAX Integration Layer API to access multimedia components";
|
||||
license = licenses.lgpl21;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue