Unverified Commit 5bf4e462 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #260988 from trofi/lilv-update

lilv: 0.24.12 -> 0.24.20
parents 4cfb1435 dc4f98c0
Loading
Loading
Loading
Loading
+29 −12
Original line number Diff line number Diff line
{ 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,25 +18,30 @@

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 = {
  mesonFlags = [ "-Ddocs=disabled" ];

  passthru = {
    tests = {
      inherit pipewire;
    };
    updateScript = gitUpdater {
      url = "https://gitlab.com/lv2/lilv.git";
      rev-prefix = "v";
    };
  };

  meta = with lib; {
    homepage = "http://drobilla.net/software/lilv";
+0 −6
Original line number Diff line number Diff line
--- 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@