summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/multilib-xlibs.eclass')
-rw-r--r--eclass/multilib-xlibs.eclass19
1 files changed, 17 insertions, 2 deletions
diff --git a/eclass/multilib-xlibs.eclass b/eclass/multilib-xlibs.eclass
index 48d5e67fd..b86890a64 100644
--- a/eclass/multilib-xlibs.eclass
+++ b/eclass/multilib-xlibs.eclass
@@ -19,10 +19,10 @@ inherit base multilib
case "${EAPI:-0}" in
2)
- EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install pkg_postinst
+ EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_compile src_install pkg_postinst
;;
*)
- EXPORT_FUNCTIONS src_compile src_install pkg_postinst
+ EXPORT_FUNCTIONS pkg_setup src_compile src_install pkg_postinst
;;
esac
@@ -31,6 +31,13 @@ EMULTILIB_OCXXFLAGS=""
EMULTILIB_OCHOST=""
EMULTILIB_OSPATH=""
+# @FUNCTION: multilib-xlibs_pkg_setup
+# @USAGE:
+# @DESCRIPTION:
+multilib-xlibs_pkg_setup() {
+ multilib-xlibs_src_generic pkg_setup
+}
+
# @FUNCTION: multilib-xlibs_src_prepare
# @USAGE:
# @DESCRIPTION:
@@ -198,6 +205,14 @@ multilib-xlibs_check_inherited_funcs() {
echo ${declared_func}
}
+# @FUNCTION: multilib-xlibs_pkg_setup_internal
+# @USAGE: override this function if you arent using x-modules eclass and want to use a custom pkg_setup.
+# @DESCRIPTION: needed for gnome2
+multilib-xlibs_pkg_setup_internal() {
+ [[ "${ECLASS_DEBUG}" == "yes" ]] && einfo "Using $(multilib-xlibs_check_inherited_funcs pkg_setup) ..."
+ $(multilib-xlibs_check_inherited_funcs pkg_setup)
+}
+
# @FUNCTION: multilib-xlibs_src_prepare_internal
# @USAGE: override this function if you arent using x-modules eclass and want to use a custom src_configure.
# @DESCRIPTION: