diff options
| author | Jonathan Callen <abcd@gentoo.org> | 2011-06-08 18:37:13 -0400 |
|---|---|---|
| committer | Jonathan Callen <abcd@gentoo.org> | 2011-06-08 18:40:54 -0400 |
| commit | b114c67bc565c9b73dadb34b7c2e8db9939bcc0d (patch) | |
| tree | 35fa9d66fd827d8c7a44860322d572c27758b465 /eclass/kde4-meta-pkg.eclass | |
| parent | 4f0a53adf094ec49f1b6cad0016e0d600dae35f5 (diff) | |
| download | kde-b114c67bc565c9b73dadb34b7c2e8db9939bcc0d.tar.gz kde-b114c67bc565c9b73dadb34b7c2e8db9939bcc0d.tar.bz2 kde-b114c67bc565c9b73dadb34b7c2e8db9939bcc0d.zip | |
[eclass] Don't add IUSE=kdeprefix for kdepim-4.6.0
Diffstat (limited to 'eclass/kde4-meta-pkg.eclass')
| -rw-r--r-- | eclass/kde4-meta-pkg.eclass | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/eclass/kde4-meta-pkg.eclass b/eclass/kde4-meta-pkg.eclass new file mode 100644 index 00000000000..66cbbb052c0 --- /dev/null +++ b/eclass/kde4-meta-pkg.eclass @@ -0,0 +1,28 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta-pkg.eclass,v 1.4 2011/06/07 20:11:04 abcd Exp $ + +# @ECLASS: kde4-meta-pkg.eclass +# @MAINTAINER: +# kde@gentoo.org +# @BLURB: This eclass contains boilerplate for kde 4.X meta packages +# @DESCRIPTION: +# This eclass should only be used for defining meta packages for KDE4. + +inherit kde4-functions + +HOMEPAGE="http://www.kde.org/" + +LICENSE="GPL-2" +IUSE="aqua" + +# Only add the kdeprefix USE flag for older versions, to help +# non-portage package managers handle the upgrade +if [[ ${PV} < 4.6.4 && ( ${PN} != kdepim-meta || ${PV} < 4.6 ) ]]; then + IUSE+=" kdeprefix" +fi + +SLOT=$(get_kde_version) +[[ -z ${SLOT} ]] && die "Unsupported ${PV}" + +RDEPEND="$(block_other_slots)" |
