diff options
| author | Jonathan Callen <abcd@gentoo.org> | 2009-09-11 17:14:35 -0400 |
|---|---|---|
| committer | Jonathan Callen <abcd@gentoo.org> | 2009-09-13 06:17:33 -0400 |
| commit | ddb2705dd14e730e5910bcadd11715cc3fc363f1 (patch) | |
| tree | 7d4f2eec4c82d4bda99cf8d20bafc81230a07d14 /eclass/gitsvn.eclass | |
| parent | ca89910744bc9dbfb352fdb3c65c279511d10884 (diff) | |
| download | kde-ddb2705dd14e730e5910bcadd11715cc3fc363f1.tar.gz kde-ddb2705dd14e730e5910bcadd11715cc3fc363f1.tar.bz2 kde-ddb2705dd14e730e5910bcadd11715cc3fc363f1.zip | |
[eclass] Add a new add_kdebase_dep() function
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 'eclass/gitsvn.eclass')
0 files changed, 0 insertions, 0 deletions
