From 3d0a6fbb272494dd0f44d36c27443636044799bd Mon Sep 17 00:00:00 2001 From: Johannes Huber Date: Thu, 2 Aug 2012 12:17:41 +0200 Subject: [eclass] Remove obsolete koffice handling. --- eclass/kde4-base.eclass | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) (limited to 'eclass/kde4-base.eclass') diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index c0c73e3294f..a5e31774ae5 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -66,9 +66,6 @@ case ${KDEBASE} in SLOT=4 KDE_MINIMAL="${PV}" ;; - koffice) - SLOT="2" - ;; kdevelop) if [[ ${KDE_BUILD_TYPE} = live ]]; then # @ECLASS-VARIABLE: KDEVELOP_VERSION @@ -190,10 +187,6 @@ case ${KDEBASE} in ;; esac ;; - koffice) - HOMEPAGE="http://www.koffice.org/" - LICENSE="GPL-2" - ;; kdevelop) HOMEPAGE="http://www.kdevelop.org/" LICENSE="GPL-2" @@ -421,7 +414,7 @@ RDEPEND+=" ${COMMONDEPEND}" unset COMMONDEPEND # Fetch section - If the ebuild's category is not 'kde-base' and if it is not a -# koffice ebuild, the URI should be set in the ebuild itself +# kdevelop ebuild, the URI should be set in the ebuild itself _calculate_src_uri() { debug-print-function ${FUNCNAME} "$@" @@ -464,12 +457,6 @@ _calculate_src_uri() { SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.xz" ;; esac ;; - koffice) - case ${PV} in - 2.[1234].[6-9]*) SRC_URI="mirror://kde/unstable/${_kmname_pv}/${_kmname_pv}.tar.bz2" ;; - *) SRC_URI="mirror://kde/stable/${_kmname_pv}/${_kmname_pv}.tar.bz2" ;; - esac - ;; kdevelop|kdevelop-php*|kdevplatform) case ${KDEVELOP_VERSION} in 4.[12].[6-9]*) SRC_URI="mirror://kde/unstable/kdevelop/${KDEVELOP_VERSION}/src/${P}.tar.bz2" ;; @@ -537,9 +524,6 @@ _calculate_live_repo() { ESVN_REPO_URI="${ESVN_MIRROR}/trunk/${KMNAME}/${KMMODULE}" ESVN_PROJECT="${PN}${ESVN_PROJECT_SUFFIX}" ;; - koffice) - ESVN_REPO_URI="${ESVN_MIRROR}/trunk/${KMNAME}" - ;; *) ESVN_REPO_URI="${ESVN_MIRROR}/trunk/${KMNAME}/${KMMODULE}" ;; @@ -552,9 +536,9 @@ _calculate_live_repo() { # @ECLASS-VARIABLE: ESVN_UP_FREQ # @DESCRIPTION: # This variable is used for specifying the timeout between svn synces - # for kde-base and koffice modules. Does not affect misc apps. + # for kde-base modules. Does not affect misc apps. # Default value is 1 hour. - [[ ${KDEBASE} = kde-base || ${KDEBASE} = koffice ]] && ESVN_UP_FREQ=${ESVN_UP_FREQ:-1} + [[ ${KDEBASE} = kde-base ]] && ESVN_UP_FREQ=${ESVN_UP_FREQ:-1} ;; git) local _kmname @@ -735,7 +719,7 @@ kde4-base_src_prepare() { load_library_dependencies fi - # Hack for manuals relying on outdated DTD, only outside kde-base/koffice/... + # Hack for manuals relying on outdated DTD, only outside kde-base/... if [[ -z ${KDEBASE} ]]; then find "${S}" -name "*.docbook" \ -exec sed -i -r \ -- cgit v1.2.3