summaryrefslogtreecommitdiff
path: root/eclass/kde4-meta.eclass
diff options
context:
space:
mode:
authorTomáš Chvátal <scarabeus@gentoo.org>2009-06-30 11:59:45 +0200
committerTomáš Chvátal <scarabeus@gentoo.org>2009-06-30 12:00:18 +0200
commit5b57b4b7285ac71e887273ee87449f2e16239496 (patch)
tree20d91d7e76f180503fe04b6d2324d4b2bc8df0d7 /eclass/kde4-meta.eclass
parent07d5c53c4bfcf13e8ad703d263a7a1459e86bfb3 (diff)
downloadkde-5b57b4b7285ac71e887273ee87449f2e16239496.tar.gz
kde-5b57b4b7285ac71e887273ee87449f2e16239496.tar.bz2
kde-5b57b4b7285ac71e887273ee87449f2e16239496.zip
[eclasses] move the wrapper to the correct place, it needs to be done before inheriting kde4-base.
Diffstat (limited to 'eclass/kde4-meta.eclass')
-rw-r--r--eclass/kde4-meta.eclass34
1 files changed, 17 insertions, 17 deletions
diff --git a/eclass/kde4-meta.eclass b/eclass/kde4-meta.eclass
index eddb94f2067..719c31ccb11 100644
--- a/eclass/kde4-meta.eclass
+++ b/eclass/kde4-meta.eclass
@@ -12,6 +12,23 @@
# You must define KMNAME to use this eclass, and do so before inheriting it. All other variables are optional.
# Do not include the same item in more than one of KMMODULE, KMMEXTRA, KMCOMPILEONLY, KMEXTRACTONLY.
+# SVN wrapping for various simplifying ebuilds
+case ${BUILD_TYPE} in
+ live)
+ case ${KMNAME} in
+ extragear*|playground*)
+ ESVN_REPO_URI="${ESVN_MIRROR}/trunk/${KMNAME}"
+ ESVN_PROJECT="${KMNAME}${ESVN_PROJECT_SUFFIX}"
+ ;;
+ kdepim-runtime)
+ # for svn the kdepim module is not split
+ # so just override KMNAME when needed.
+ KMNAME="kdepim"
+ ;;
+ esac
+ ;;
+esac
+
inherit kde4-base versionator
EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_configure src_compile src_test src_install pkg_postinst pkg_postrm
@@ -38,23 +55,6 @@ if [[ ${PN} != khelpcenter ]] && has handbook ${IUSE//+}; then
"
fi
-# SVN wrapping for various simplifying ebuilds
-case ${BUILD_TYPE} in
- live)
- case ${KMNAME} in
- extragear*|playground*)
- ESVN_REPO_URI="${ESVN_MIRROR}/trunk/${KMNAME}"
- ESVN_PROJECT="${KMNAME}${ESVN_PROJECT_SUFFIX}"
- ;;
- kdepim-runtime)
- # for svn the kdepim module is not split
- # so just override KMNAME when needed.
- KMNAME="kdepim"
- ;;
- esac
- ;;
-esac
-
# akonadi fix for non-live things
[[ ${KMNAME} = kdepim-runtime && ${BUILD_TYPE} != live ]] && \
KMNOMODULE="true"