Merge pull request #260988 from trofi/lilv-update

lilv: 0.24.12 -> 0.24.20
This commit is contained in:
Mario Rodas 2023-10-23 06:32:35 -05:00 committed by GitHub
commit 5bf4e462ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 18 deletions

View File

@ -1,4 +1,16 @@
{ lib, stdenv, fetchurl, lv2, pkg-config, python3, serd, sord, sratom, wafHook
{ lib
, stdenv
, fetchurl
, lv2
, meson
, ninja
, pkg-config
, python3
, libsndfile
, serd
, sord
, sratom
, gitUpdater
# test derivations
, pipewire
@ -6,24 +18,29 @@
stdenv.mkDerivation rec {
pname = "lilv";
version = "0.24.12";
version = "0.24.20";
outputs = [ "out" "dev" ];
outputs = [ "out" "dev" "man" ];
src = fetchurl {
url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
sha256 = "sha256-JqN3kIkMnB+DggO0f1sjIDNP6SwCpNJuu+Jmnb12kGE=";
url = "https://download.drobilla.net/${pname}-${version}.tar.xz";
hash = "sha256-T7CCubiyhuqSu7cb3mt1Ykzsq23wzGOe51oqCWIS7rw=";
};
patches = [ ./lilv-pkgconfig.patch ];
nativeBuildInputs = [ pkg-config python3 wafHook ];
buildInputs = [ serd sord sratom ];
nativeBuildInputs = [ meson ninja pkg-config python3 ];
buildInputs = [ libsndfile serd sord sratom ];
propagatedBuildInputs = [ lv2 ];
dontAddWafCrossFlags = true;
passthru.tests = {
inherit pipewire;
mesonFlags = [ "-Ddocs=disabled" ];
passthru = {
tests = {
inherit pipewire;
};
updateScript = gitUpdater {
url = "https://gitlab.com/lv2/lilv.git";
rev-prefix = "v";
};
};
meta = with lib; {

View File

@ -1,6 +0,0 @@
--- a/lilv.pc.in
+++ b/lilv.pc.in
@@ -9 +9,2 @@ Description: Simple C library for hosting LV2 plugins
-Requires: @LILV_PKG_DEPS@
+Requires: lv2
+Requires.private: @LILV_PKG_DEPS@