2018-11-11 21:20:41 +00:00
|
|
|
{ stdenv, fetchurl, boost, gtkmm2, lv2, pkgconfig, python, wafHook }:
|
2014-03-09 21:12:17 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "lvtk";
|
2014-04-25 23:21:08 +00:00
|
|
|
version = "1.2.0";
|
2014-03-09 21:12:17 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-04-25 23:21:08 +00:00
|
|
|
url = "https://github.com/lvtk/lvtk/archive/${version}.tar.gz";
|
|
|
|
sha256 = "03nbj2cqcklqwh50zj2gwm07crh5iwqbpxbpzwbg5hvgl4k4rnjd";
|
2014-03-09 21:12:17 +00:00
|
|
|
};
|
|
|
|
|
2018-11-11 21:20:41 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig python wafHook ];
|
2016-09-11 21:24:51 +00:00
|
|
|
buildInputs = [ boost gtkmm2 lv2 ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2015-09-03 17:52:30 +00:00
|
|
|
|
|
|
|
# Fix including the boost libraries during linking
|
|
|
|
postPatch = ''
|
|
|
|
sed -i '/target[ ]*= "ttl2c"/ ilib=["boost_system"],' tools/wscript_build
|
|
|
|
'';
|
2014-03-09 21:12:17 +00:00
|
|
|
|
2019-04-10 03:44:37 +00:00
|
|
|
wafConfigureFlags = [
|
2018-11-11 21:20:41 +00:00
|
|
|
"--boost-includes=${boost.dev}/include"
|
|
|
|
"--boost-libs=${boost.out}/lib"
|
|
|
|
];
|
2014-03-09 21:12:17 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A set C++ wrappers around the LV2 C API";
|
|
|
|
homepage = http://lvtoolkit.org;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|