# @BLURB: Eclass for Qt5 split ebuilds.
# @DESCRIPTION:
# This eclass contains various functions that are used when building Qt5.
-# Requires EAPI 5.
+# Requires EAPI 5 or 6.
case ${EAPI} in
5|6) : ;;
inherit eutils flag-o-matic toolchain-funcs versionator virtualx
-if [[ ${EAPI} == 5 ]] ; then
+if [[ ${EAPI} == 5 ]]; then
inherit multilib
fi
fi
if [[ ${EAPI} == 5 ]]; then
- # apply patches
[[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
epatch_user
else
- default_src_prepare
+ default
fi
}
# disable obsolete/unused X11-related flags
# (not shown in ./configure -help output)
- -no-mitshm -no-xcursor -no-xfixes -no-xinerama -no-xinput
- -no-xrandr -no-xshape -no-xsync -no-xvideo
+ -no-mitshm -no-xcursor -no-xfixes -no-xrandr -no-xshape -no-xsync
# always enable session management support: it doesn't need extra deps
# at configure time and turning it off is dangerous, see bug 518262