# in the long term directories on the upstream servers
# as the location has been changed by upstream
-# @ECLASS-VARIABLE: K_KDBUS_AVAILABLE
-# @DEFAULT_UNSET
-# @DESCRIPTION:
-# If set, the ebuild contains the option of installing the
-# kdbus patch. This patch is not installed without the 'kdbus'
-# and 'experimental' use flags.
-
# @ECLASS-VARIABLE: H_SUPPORTEDARCH
# @DEFAULT_UNSET
# @DESCRIPTION:
DESCRIPTION="Sources based on the Linux Kernel."
IUSE="symlink build"
- if [[ -n ${K_KDBUS_AVAILABLE} ]]; then
- IUSE="${IUSE} kdbus"
- fi
-
# Bug #266157, deblob for libre support
if [[ -z ${K_PREDEBLOBBED} ]] ; then
# Bug #359865, force a call to detect_version if needed
UNIPATCH_DROP+=" 5000_enable-additional-cpu-optimizations-for-gcc.patch"
fi
fi
-
- # if kdbus use flag is not set, drop the kdbus patch
- if [[ $UNIPATCH_DROP != *"5015_kdbus*.patch"* ]]; then
- if ! has kdbus ${IUSE} || ! use kdbus; then
- UNIPATCH_DROP="${UNIPATCH_DROP} 5015_kdbus*.patch"
- fi
- fi
fi
done