# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "gnome-layer"
BBFILE_PATTERN_gnome-layer := "^${LAYERDIR}/"
BBFILE_PRIORITY_gnome-layer = "5"

# auto-pack gnome help files
IMAGE_LINGUAS_COMPLEMENTARY:append = " ${@bb.utils.contains('DISTRO_FEATURES','helpfiles','*-help-%s','',d)}"

# This should only be incremented on significant changes that will
# cause compatibility issues with other layers
LAYERVERSION_gnome-layer = "1"

LAYERDEPENDS_gnome-layer = "core openembedded-layer networking-layer meta-python"

LAYERSERIES_COMPAT_gnome-layer = "whinlatter wrynose"

SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += "\
  faenza-icon-theme->gdk-pixbuf \
  faenza-icon-theme->gtk+3 \
"

BBFILES_DYNAMIC += " \
    virtualization-layer:${LAYERDIR}/dynamic-layers/meta-virtualization/*/*/*.bb \
    virtualization-layer:${LAYERDIR}/dynamic-layers/meta-virtualization/*/*/*.bbappend \
    security:${LAYERDIR}/dynamic-layers/meta-security/*/*/*.bb \
"

# List of known non-reproducible package of the meta-gnome layer
# Please keep this list sorted
OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES += " \
    geary \
    geary-dbg \
    gegl-dev \
    gimp \
    gimp-dbg \
    gnome-terminal-src \
    grilo-src \
    gtk-vnc-src \
    ibus \
"
