aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-08-19 23:15:06 +0200
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:45:47 +0200
commit2648f59e0961a51bb1aef521d826a2378d75ca85 (patch)
tree46d0ebb94a4222478878028c8245f908e4e589ce
parent20abe2a27f9025e1553bd64f604955ae0659852b (diff)
downloadguix-2648f59e0961a51bb1aef521d826a2378d75ca85.tar.gz
guix-2648f59e0961a51bb1aef521d826a2378d75ca85.zip
gnu: gupnp-1.4: Patch for meson compatibility.
* gnu/packages/gnome.scm (gupnp-1.4)[arguments]: Add phase 'meson-compatibility to patch section name. Change-Id: Ic33d283b4b8bca36527f17e93be78af216bd05cd
-rw-r--r--gnu/packages/gnome.scm15
1 files changed, 12 insertions, 3 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d8408cd80d..53e5a8f3ea 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1465,9 +1465,18 @@ for creating UPnP devices and control points, written in C using
(sha256
(base32
"0vz3ifs8mi3zaz8zj8v27zfkf6xg82y39mcgqspa38jdp01gn3sr"))))
- (propagated-inputs (modify-inputs (package-propagated-inputs gupnp)
- (replace "libsoup" libsoup-minimal-2)
- (replace "gssdp" gssdp-1.4)))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments gupnp)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'meson-compatibility
+ (lambda _
+ (substitute* "subprojects/gssdp-1.2.wrap"
+ (("provides") "provide"))))))))
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs gupnp)
+ (replace "libsoup" libsoup-minimal-2)
+ (replace "gssdp" gssdp-1.4)))))
(define-public gupnp-dlna
(package