[OE-core] [PATCH v2 2/3] libsoup-2.4: prevent PACKAGECONFIG dependant package renaming

Andre McCurdy armccurdy at gmail.com
Fri Feb 19 01:30:50 UTC 2016


When built without gnome support, libsoup-2.4 will contain only one
shared lib and will therefore become subject to renaming by
debian.bbclass.

Prevent renaming in order to keep the package name consistent
regardless of whether gnome support is enabled or disabled.

Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
 meta/recipes-support/libsoup/libsoup-2.4_2.52.2.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.52.2.bb b/meta/recipes-support/libsoup/libsoup-2.4_2.52.2.bb
index 865c1d7..a9d8050 100644
--- a/meta/recipes-support/libsoup/libsoup-2.4_2.52.2.bb
+++ b/meta/recipes-support/libsoup/libsoup-2.4_2.52.2.bb
@@ -25,5 +25,11 @@ PACKAGECONFIG[gnome] = "--with-gnome,--without-gnome"
 
 EXTRA_OECONF = "--disable-vala"
 
+# When built without gnome support, libsoup-2.4 will contain only one shared lib
+# and will therefore become subject to renaming by debian.bbclass. Prevent
+# renaming in order to keep the package name consistent regardless of whether
+# gnome support is enabled or disabled.
+DEBIAN_NOAUTONAME_${PN} = "1"
+
 # glib-networking is needed for SSL, proxies, etc.
 RRECOMMENDS_${PN} = "glib-networking"
-- 
1.9.1




More information about the Openembedded-core mailing list