dleyna-connector-dbus: Fix build with meson 1.2

ERROR: Unexpected "[provides]" section, did you mean "[provide]"?
This commit is contained in:
Bobby Rong 2023-08-05 20:28:22 +08:00
parent 20bc75e188
commit 03e1c7f006
No known key found for this signature in database

View file

@ -4,6 +4,7 @@
, ninja
, pkg-config
, fetchFromGitHub
, fetchpatch
, dleyna-core
, glib
}:
@ -19,6 +20,17 @@ stdenv.mkDerivation rec {
sha256 = "WDmymia9MD3BRU6BOCzCIMrz9V0ACRzmEGqjbbuUmlA=";
};
patches = [
# Fix build with meson 1.2. We use the gentoo patch intead of the
# usptream one because the latter only applies on the libsoup_3 based
# merged dLeyna project.
# https://gitlab.gnome.org/World/dLeyna/-/merge_requests/6
(fetchpatch {
url = "https://github.com/gentoo/gentoo/raw/4a0982b49a1d94aa785b05d9b7d256c26c499910/net-libs/dleyna-connector-dbus/files/meson-1.2.0.patch";
sha256 = "sha256-/p2OaPO5ghWtPotwIir2TtcFF5IDFN9FFuyqPHevuFI=";
})
];
nativeBuildInputs = [
meson
ninja