Subject: [PATCH] gnu: libheif: Satisfy 'libheif.pc'.
From: Vinicius Monego <[email-masked]>
To: [email-masked]
Cc: Vinicius Monego <[email-masked]>
Date: Sun, 11 Jul 2021 14:15:10 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/image.scm (libheif)[inputs]: Move dav1d, libaom, libde265, x265
to ...
[propagated-inputs]: ... here.
---
To reproduce the problem, set up an environment with libheif and pkg-config and run "pkg-config --cflags libheif".

 gnu/packages/image.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 1ca89d8e73..225a5c2d10 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -2186,13 +2186,15 @@ by AOM, including with alpha.")
        ("libtool" ,libtool)
        ("pkg-config" ,pkg-config)))
     (inputs
-     `(("dav1d" ,dav1d)
-       ("gdk-pixbuf" ,gdk-pixbuf) ;optional
-       ("libaom" ,libaom)
-       ("libde265" ,libde265)
+     `(("gdk-pixbuf" ,gdk-pixbuf) ;optional
        ("libjpeg" ,libjpeg-turbo)
-       ("libpng" ,libpng)
-       ("x265" ,x265)))
+       ("libpng" ,libpng)))
+     ;; Propagated to satisfy 'libheif.pc'.
+     (propagated-inputs
+      `(("dav1d" ,dav1d)
+        ("libaom" ,libaom)
+        ("libde265" ,libde265)
+        ("x265" ,x265)))
     (home-page "https://github.com/strukturag/libheif")
     (synopsis "HEIF and AVIF file format decoder and encoder")
     (description
-- 
2.32.0