Explorar el Código

libmms: drop obsolete "Requires:glib-2.0" from pkg-config file

Signed-off-by: Max Kellermann <max.kellermann@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Max Kellermann hace 5 años
padre
commit
a064c0d1a1
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  1. 8 0
      meta-oe/recipes-multimedia/libmms/libmms_0.6.4.bb

+ 8 - 0
meta-oe/recipes-multimedia/libmms/libmms_0.6.4.bb

@@ -10,3 +10,11 @@ SRC_URI[md5sum] = "d6b665b335a6360e000976e770da7691"
 SRC_URI[sha256sum] = "3c05e05aebcbfcc044d9e8c2d4646cd8359be39a3f0ba8ce4e72a9094bee704f"
 
 inherit autotools pkgconfig
+
+do_install_append() {
+    # The GLib dependency was removed in libmms 0.6.3, but the
+    # "Requires" was not removed from the pkg-config file.  Since we
+    # don't have (and don't want) the RDEPENDS on GLib, we should
+    # remove the "Requires" line.
+    sed -i '/^Requires: glib-2\.0$/d' ${D}${libdir}/pkgconfig/libmms.pc
+}