2013-08-11 05:15:07 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libvisual-0.4.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/libvisual/${name}.tar.gz";
|
|
|
|
sha256 = "1my1ipd5k1ixag96kwgf07bgxkjlicy9w22jfxb2kq95f6wgsk8b";
|
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib ];
|
2013-08-11 05:15:07 +02:00
|
|
|
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2015-12-23 02:59:47 +01:00
|
|
|
|
2020-03-07 23:12:03 +01:00
|
|
|
configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
|
|
|
"ac_cv_func_malloc_0_nonnull=yes"
|
|
|
|
"ac_cv_func_realloc_0_nonnull=yes"
|
|
|
|
];
|
|
|
|
|
2013-08-11 05:15:07 +02:00
|
|
|
meta = {
|
|
|
|
description = "An abstraction library for audio visualisations";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://sourceforge.net/projects/libvisual/";
|
2013-08-11 05:15:07 +02:00
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
2019-06-21 17:28:56 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-08-11 05:15:07 +02:00
|
|
|
};
|
|
|
|
}
|