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/kdebindings-csharp/kdebindings-csharp-4.3.9999.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/kdebindings-csharp/kdebindings-csharp-4.3.9999.ebuild')
| -rw-r--r-- | kde-base/kdebindings-csharp/kdebindings-csharp-4.3.9999.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kde-base/kdebindings-csharp/kdebindings-csharp-4.3.9999.ebuild b/kde-base/kdebindings-csharp/kdebindings-csharp-4.3.9999.ebuild index a3e12015a82..c15a898f529 100644 --- a/kde-base/kdebindings-csharp/kdebindings-csharp-4.3.9999.ebuild +++ b/kde-base/kdebindings-csharp/kdebindings-csharp-4.3.9999.ebuild @@ -11,11 +11,11 @@ inherit kde4-meta mono DESCRIPTION="C# bindings for KDE and Qt" KEYWORDS="" -IUSE="akonadi +phonon plasma qscintilla" +IUSE="akonadi +phonon plasma qscintilla webkit" COMMON_DEPEND=" dev-lang/mono - >=kde-base/smoke-${PV}:${SLOT}[akonadi?,kdeprefix=,phonon?,qscintilla?,webkit?] + $(add_kdebase_dep smoke "akonadi?,phonon?,qscintilla?,webkit?") " DEPEND="${COMMON_DEPEND}" |
