diff options
| author | Jonathan Callen <abcd@gentoo.org> | 2009-09-11 17:14:35 -0400 |
|---|---|---|
| committer | Jonathan Callen <abcd@gentoo.org> | 2009-09-11 23:52:47 -0400 |
| commit | 6658447f57b455e0534415f667137c57691a48ea (patch) | |
| tree | 52a477bfc7f165ee6379b7731085da538e8842cf /kde-base/kdeaccessibility-meta/kdeaccessibility-meta-4.3.0.ebuild | |
| parent | ed65ebc4f4cd1bb5c19ec56f3db9ac01c5e61ab8 (diff) | |
| download | kde-6658447f57b455e0534415f667137c57691a48ea.tar.gz kde-6658447f57b455e0534415f667137c57691a48ea.tar.bz2 kde-6658447f57b455e0534415f667137c57691a48ea.zip | |
Add a new add_kdebase_dep() function, and inject it everywhere
The add_kdebase_dep function takes 1-2 arguments, the first being the
name of the package to depend upon, and the second being (optionally)
extra USE deps.
When given 1 argument, this function will output
!kdeprefix? ( >=kde-base/$1-${PV}[-kdeprefix] )
kdeprefix? ( >=kde-base/$1-${PV}:${SLOT}[kdeprefix] )
And 2 arguments outputs
!kdeprefix? ( >=kde-base/$1-${PV}[-kdeprefix,$2] )
kdeprefix? ( >=kde-base/$1-${PV}:${SLOT}[kdeprefix,$2] )
These are the proper deps to replace
>=kde-base/PKG-${PV}:${SLOT}[kdeprefix=,USEDEPS]
as it does not force an all-at-once upgrade of everything.
Some of the deps (the ones from kde4-base.eclass) were already in
this form, so there was an odd combination of packages that could be
installed in separate slots with -kdeprefix, and packages that couldn't.
Diffstat (limited to 'kde-base/kdeaccessibility-meta/kdeaccessibility-meta-4.3.0.ebuild')
| -rw-r--r-- | kde-base/kdeaccessibility-meta/kdeaccessibility-meta-4.3.0.ebuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kde-base/kdeaccessibility-meta/kdeaccessibility-meta-4.3.0.ebuild b/kde-base/kdeaccessibility-meta/kdeaccessibility-meta-4.3.0.ebuild index 6b98ff98ac4..e296b7c056f 100644 --- a/kde-base/kdeaccessibility-meta/kdeaccessibility-meta-4.3.0.ebuild +++ b/kde-base/kdeaccessibility-meta/kdeaccessibility-meta-4.3.0.ebuild @@ -14,12 +14,12 @@ KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" IUSE="kdeprefix" RDEPEND=" - >=kde-base/kdeaccessibility-colorschemes-${PV}:${SLOT}[kdeprefix=] - >=kde-base/kdeaccessibility-iconthemes-${PV}:${SLOT}[kdeprefix=] - >=kde-base/kmag-${PV}:${SLOT}[kdeprefix=] - >=kde-base/kmousetool-${PV}:${SLOT}[kdeprefix=] - >=kde-base/kmouth-${PV}:${SLOT}[kdeprefix=] - >=kde-base/kttsd-${PV}:${SLOT}[kdeprefix=] + $(add_kdebase_dep kdeaccessibility-colorschemes) + $(add_kdebase_dep kdeaccessibility-iconthemes) + $(add_kdebase_dep kmag) + $(add_kdebase_dep kmousetool) + $(add_kdebase_dep kmouth) + $(add_kdebase_dep kttsd) $(block_other_slots) " # The following are disabled in CMakeLists.txt |
