2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2015-03-28 20:53:20 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libomxil-bellagio";
|
2015-03-28 20:53:20 +00:00
|
|
|
version = "0.9.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/omxil/omxil/Bellagio%20${version}/${pname}-${version}.tar.gz";
|
2015-03-28 20:53:20 +00:00
|
|
|
sha256 = "0k6p6h4npn8p1qlgq6z3jbfld6n1bqswzvxzndki937gr0lhfg2r";
|
|
|
|
};
|
2017-12-16 04:38:45 +00:00
|
|
|
|
|
|
|
configureFlags =
|
2021-01-21 17:00:13 +00:00
|
|
|
lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ "ac_cv_func_malloc_0_nonnull=yes" ];
|
2017-12-16 04:38:45 +00:00
|
|
|
|
2015-03-28 20:53:20 +00:00
|
|
|
patches = [ ./fedora-fixes.patch ];
|
|
|
|
|
2018-04-25 03:20:18 +00:00
|
|
|
doCheck = false; # fails
|
|
|
|
|
2018-05-09 15:00:06 +00:00
|
|
|
# Fix for #40213, probably permanent, because upstream doesn't seem to be
|
|
|
|
# developed anymore. Alternatively, gcc7Stdenv could be used.
|
2020-06-08 10:14:17 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=array-bounds -Wno-error=stringop-overflow=8";
|
2018-05-09 15:00:06 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://sourceforge.net/projects/omxil/";
|
2016-06-20 10:53:46 +00:00
|
|
|
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;
|
2016-08-12 03:38:00 +00:00
|
|
|
platforms = platforms.linux;
|
2015-03-28 20:53:20 +00:00
|
|
|
};
|
|
|
|
}
|