2021-04-05 15:23:46 +00:00
|
|
|
{ stdenv, lib, fetchurl, gtk2, lv2, pkg-config, python3, serd, sord, sratom
|
2020-04-24 23:36:52 +00:00
|
|
|
, wafHook
|
2022-12-17 10:02:37 +00:00
|
|
|
, withQt5 ? true, qt5 ? null
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "suil";
|
|
|
|
version = "0.10.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "0z4v01pjw4wh65x38w6icn28wdwxz13ayl8hvn4p1g9kmamp1z06";
|
|
|
|
};
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wafHook python3 ];
|
|
|
|
buildInputs = [ gtk2 lv2 serd sord sratom ]
|
2022-12-17 10:02:37 +00:00
|
|
|
++ lib.optionals withQt5 (with qt5; [ qtbase qttools ]);
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-19 19:06:45 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://drobilla.net/software/suil";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Lightweight C library for loading and wrapping LV2 plugin UIs";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ goibhniu ];
|
2021-12-19 01:06:50 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|