Advertisement
Guest User

Untitled

a guest
Jan 28th, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.00 KB | None | 0 0
  1. commit 93e4c0958b0aa8467690d95c6a3dc81336dae631
  2. Author: Ross Burton <ross.burton@intel.com>
  3. Date:   Wed Jan 28 16:42:26 2015 +0000
  4.  
  5.     chromium: add PACKAGECONFIG to control libgnome-keyring usage
  6.    
  7.     Add libgnome-keyring to RDEPENDS as it is loaded dynamically by default.
  8.    
  9.     Signed-off-by: Ross Burton <ross.burton@intel.com>
  10.  
  11. diff --git a/recipes-browser/chromium/chromium.inc b/recipes-browser/chromium/chromium.inc
  12. index ad976f9..33608fd 100644
  13. --- a/recipes-browser/chromium/chromium.inc
  14. +++ b/recipes-browser/chromium/chromium.inc
  15. @@ -18,7 +18,7 @@
  16.  
  17.  DESCRIPTION = "Chromium browser"
  18.  LICENSE = "BSD"
  19. -DEPENDS = "xz-native pciutils pulseaudio cairo nss zlib-native libav libgnome-keyring cups ninja-native gconf libexif pango libdrm"
  20. +DEPENDS = "xz-native pciutils pulseaudio cairo nss zlib-native libav cups ninja-native gconf libexif pango libdrm"
  21.  SRC_URI = "\
  22.          http://gsdview.appspot.com/chromium-browser-official/${P}.tar.xz \
  23.          file://include.gypi \
  24. @@ -111,11 +111,12 @@ COMPATIBLE_MACHINE_armv7a = "(.*)"
  25.  
  26.  inherit gettext
  27.  
  28. -PACKAGECONFIG ??= "use-egl"
  29. +PACKAGECONFIG ??= "use-egl gnome-keyring"
  30.  
  31.  # this makes sure the dependencies for the EGL mode are present; otherwise, the configure scripts
  32.  # automatically and silently fall back to GLX
  33.  PACKAGECONFIG[use-egl] = ",,virtual/egl virtual/libgles2"
  34. +PACKAGECONFIG[gnome-keyring] = ",,libgnome-keyring,libgnome-keyring"
  35.  
  36.  EXTRA_OEGYP =  " \
  37.     -Dangle_use_commit_id=0 \
  38. @@ -124,6 +125,7 @@ EXTRA_OEGYP =   " \
  39.     -Ddisable_fatal_linker_warnings=1 \
  40.     ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '', '-Dlinux_use_gold_binary=0', d)} \
  41.     ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '', '-Dlinux_use_gold_flags=0', d)} \
  42. +   ${@base_contains('PACKAGECONFIG', 'gnome-keyring', '-Duse_gnome_keyring=1', '-Duse_gnome_keyring=0', d)} \
  43.     -I ${WORKDIR}/oe-defaults.gypi \
  44.     -I ${WORKDIR}/include.gypi \
  45.     ${@bb.utils.contains('PACKAGECONFIG', 'component-build', '-I ${WORKDIR}/component-build.gypi', '', d)} \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement