2010-07-30 16:47:23 +02:00
|
|
|
{ stdenv, fetchurl, zlib, guile, libart_lgpl, pkgconfig, intltool
|
2016-09-11 23:24:51 +02:00
|
|
|
, gtk2, glib, libogg, libvorbis, libgnomecanvas, gettext, perl }:
|
2010-07-30 16:47:23 +02:00
|
|
|
|
2015-09-20 11:25:49 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2008-08-18 12:50:16 +02:00
|
|
|
name = "beast-0.7.1";
|
|
|
|
|
2010-07-30 16:47:23 +02:00
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://ftp.gtk.org/pub/beast/v0.7/${name}.tar.bz2";
|
2008-08-18 12:50:16 +02:00
|
|
|
sha256 = "0jyl1i1918rsn4296w07fsf6wx3clvad522m3bzgf8ms7gxivg5l";
|
|
|
|
};
|
|
|
|
|
2010-07-30 16:47:23 +02:00
|
|
|
buildInputs =
|
2016-09-11 23:24:51 +02:00
|
|
|
[ zlib guile libart_lgpl pkgconfig intltool gtk2 glib
|
2008-08-18 12:50:16 +02:00
|
|
|
libogg libvorbis libgnomecanvas gettext
|
2010-07-30 16:47:23 +02:00
|
|
|
];
|
2008-08-18 12:50:16 +02:00
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
unset patchPhase; patchPhase
|
|
|
|
sed 's=-DG_DISABLE_DEPRECATED==g' -i `find -type f` # the patches didn't remove all occurences
|
2010-07-30 16:47:23 +02:00
|
|
|
sed 's=/bin/bash=/${stdenv.shell}=g' -i `find -type f`
|
|
|
|
sed 's=/usr/bin/perl=/${perl}/bin/perl=g' -i `find -type f`
|
2008-08-18 12:50:16 +02:00
|
|
|
'';
|
|
|
|
|
2010-07-30 16:47:23 +02:00
|
|
|
patches =
|
|
|
|
[ (fetchurl {
|
|
|
|
url = mirror://gentoo/distfiles/beast-0.7.1-guile-1.8.diff.bz2;
|
|
|
|
sha256 = "dc5194deff4b0a0eec368a69090db682d0c3113044ce2c2ed017ddfec9d3814e";
|
|
|
|
})
|
|
|
|
./patch.patch # patches taken from gentoo
|
|
|
|
];
|
2008-08-18 12:50:16 +02:00
|
|
|
|
2015-05-27 21:56:04 +02:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "A music composition and modular synthesis application";
|
2010-07-30 16:47:23 +02:00
|
|
|
homepage = http://beast.gtk.org;
|
2015-05-27 21:56:04 +02:00
|
|
|
license = with licenses; [ gpl2 lgpl21 ];
|
2017-03-03 16:44:02 +01:00
|
|
|
broken = true;
|
2008-08-18 12:50:16 +02:00
|
|
|
};
|
|
|
|
}
|