diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-01-03 18:20:00 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-01-03 18:20:00 +0000 |
commit | b2dc7afa87fe10a20f91b22e5035f633587ba16f (patch) | |
tree | 2c241bb09e03f812d0f8764870e69e1a115bc6d9 | |
parent | QA: Cleanup, fixed dependencies (bug 239996) (diff) | |
download | historical-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.
-rw-r--r-- | eclass/kde4-base.eclass | 10 | ||||
-rw-r--r-- | eclass/kde4-meta.eclass | 9 |
2 files changed, 15 insertions, 4 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index c5958586202e..ab79a906bce9 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -1,6 +1,6 @@ # Copyright 2007-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.19 2008/12/07 11:39:32 jmbsvicetto Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.20 2009/01/03 18:20:00 scarabeus Exp $ # @ECLASS: kde4-base.eclass # @MAINTAINER: @@ -18,7 +18,7 @@ inherit base cmake-utils eutils kde4-functions multilib 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 @@ -533,6 +533,12 @@ kde4-base_src_unpack() { fi } + +# transition function so we will be compatible with soon to come eclasses +kde4-base_src_prepare() { + echo +} + # @FUNCTION: kde4-base_src_compile # @DESCRIPTION: # General function for compiling KDE4 applications. 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 |