nixpkgs/pkgs/development/libraries/libomxil-bellagio/default.nix

30 lines
961 B
Nix
Raw Normal View History

2015-03-28 20:53:20 +00:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "libomxil-bellagio";
2015-03-28 20:53:20 +00:00
version = "0.9.3";
src = fetchurl {
url = "mirror://sourceforge/omxil/omxil/Bellagio%20${version}/${pname}-${version}.tar.gz";
2015-03-28 20:53:20 +00:00
sha256 = "0k6p6h4npn8p1qlgq6z3jbfld6n1bqswzvxzndki937gr0lhfg2r";
};
configureFlags =
stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ "ac_cv_func_malloc_0_nonnull=yes" ];
2015-03-28 20:53:20 +00:00
patches = [ ./fedora-fixes.patch ];
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";
2015-03-28 20:53:20 +00:00
meta = with stdenv.lib; {
homepage = https://sourceforge.net/projects/omxil/;
description = "An opensource implementation of the Khronos OpenMAX Integration Layer API to access multimedia components";
2015-03-28 20:53:20 +00:00
license = licenses.lgpl21;
platforms = platforms.linux;
2015-03-28 20:53:20 +00:00
};
}