summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-01-03 18:20:00 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-01-03 18:20:00 +0000
commitb2dc7afa87fe10a20f91b22e5035f633587ba16f (patch)
tree2c241bb09e03f812d0f8764870e69e1a115bc6d9 /eclass/kde4-meta.eclass
parentQA: Cleanup, fixed dependencies (bug 239996) (diff)
downloadhistorical-b2dc7afa87fe10a20f91b22e5035f633587ba16f.tar.gz
historical-b2dc7afa87fe10a20f91b22e5035f633587ba16f.tar.bz2
historical-b2dc7afa87fe10a20f91b22e5035f633587ba16f.zip
Add kde4-{base,meta}_src_prepare functions. Actualy does only one "echo", for enabling transition to new eclass which uses src_prepare heavily.
NOTE: every package you spot in tree using kde4 eclasses and not calling src_prepare will seriously break if we miss them, so if you yourself have such package just add the function call. Thankies.
Diffstat (limited to 'eclass/kde4-meta.eclass')
-rw-r--r--eclass/kde4-meta.eclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/kde4-meta.eclass b/eclass/kde4-meta.eclass
index 219e7e9d3237..a905d89770db 100644
--- a/eclass/kde4-meta.eclass
+++ b/eclass/kde4-meta.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.7 2008/10/02 06:49:02 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.8 2009/01/03 18:20:00 scarabeus Exp $
#
# @ECLASS: kde4-meta.eclass
# @MAINTAINER:
@@ -19,7 +19,7 @@ inherit multilib kde4-functions kde4-base
case "${EAPI}" in
2)
- EXPORT_FUNCTIONS pkg_setup src_unpack src_configure src_compile src_test src_install pkg_postinst pkg_postrm
+ EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_configure src_compile src_test src_install pkg_postinst pkg_postrm
;;
*)
EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_test src_install pkg_postinst pkg_postrm
@@ -513,6 +513,11 @@ kde4-meta_change_cmakelists() {
popd > /dev/null
}
+# transition function so we will work with soon to come eclasses.
+kde4-meta_src_prepare() {
+ kde4-base_src_prepare
+}
+
# @FUNCTION: kde4-meta_src_configure
# @DESCRIPTION:
# Currently just calls its equivalent in kde4-base.eclass(5). Use this in split