2018-02-24 13:12:44 +00:00
|
|
|
{ fetchurl, stdenv, libGLU_combined }:
|
2011-03-02 17:18:20 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "coin3d-${version}";
|
|
|
|
version = "3.1.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-05-31 08:58:49 +01:00
|
|
|
url = "https://bitbucket.org/Coin3D/coin/downloads/Coin-${version}.tar.gz";
|
2011-03-02 17:18:20 +00:00
|
|
|
sha256 = "05ylhrcglm81dajbk132l1w892634z2i97x10fm64y1ih72phd2q";
|
|
|
|
};
|
|
|
|
|
2013-08-27 10:38:20 +01:00
|
|
|
patches = [
|
|
|
|
(fetchurl {
|
|
|
|
url = http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/coin/files/coin-3.1.3-gcc-4.7.patch;
|
|
|
|
name = "gcc-4.7.patch";
|
|
|
|
sha256 = "076dyc52swk8qc7ylps53fg6iqmd52x8s7m18i80x49dd109yw20";
|
|
|
|
})
|
|
|
|
./gcc-4.8.patch # taken from FC-17 source rpm
|
2017-09-09 19:18:35 +01:00
|
|
|
# see https://bitbucket.org/Coin3D/coin/issues/128/crash-in-cc_memalloc_deallocate
|
|
|
|
# patch adapted from https://bitbucket.org/Coin3D/coin/pull-requests/75/added-fix-for-issue-128-provided-by-fedora/diff
|
|
|
|
./sbhashentry.patch
|
2013-08-27 10:38:20 +01:00
|
|
|
];
|
|
|
|
|
2018-02-24 13:12:44 +00:00
|
|
|
buildInputs = [ libGLU_combined ];
|
2011-03-02 17:18:20 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.coin3d.org/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "High-level, retained-mode toolkit for effective 3D graphics development";
|
2011-03-02 17:18:20 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.viric ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|