summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Erculiani <lxnay@gentoo.org>2013-12-18 18:33:51 +0000
committerFabio Erculiani <lxnay@gentoo.org>2013-12-18 18:33:51 +0000
commit19b2ac4ba885944c2f89da5fd438e8f6aca70b0b (patch)
treead25ced57e77c4978aa14a109bfd6cc355df0dda /app-admin
parentinitial commit (diff)
downloadgentoo-2-19b2ac4ba885944c2f89da5fd438e8f6aca70b0b.tar.gz
gentoo-2-19b2ac4ba885944c2f89da5fd438e8f6aca70b0b.tar.bz2
gentoo-2-19b2ac4ba885944c2f89da5fd438e8f6aca70b0b.zip
add conditional bash completion support, fix #494644, thanks to Sander Sweers
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key ADC916E5)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/packagekit-base/ChangeLog6
-rw-r--r--app-admin/packagekit-base/packagekit-base-0.8.15.ebuild9
2 files changed, 10 insertions, 5 deletions
diff --git a/app-admin/packagekit-base/ChangeLog b/app-admin/packagekit-base/ChangeLog
index 526cf53e9376..be87ce449495 100644
--- a/app-admin/packagekit-base/ChangeLog
+++ b/app-admin/packagekit-base/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/packagekit-base
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/ChangeLog,v 1.32 2013/12/18 05:12:15 lxnay Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/ChangeLog,v 1.33 2013/12/18 18:33:51 lxnay Exp $
+
+ 18 Dec 2013; Fabio Erculiani <lxnay@gentoo.org>
+ packagekit-base-0.8.15.ebuild:
+ add conditional bash completion support, fix #494644, thanks to Sander Sweers
*packagekit-base-0.8.15 (18 Dec 2013)
diff --git a/app-admin/packagekit-base/packagekit-base-0.8.15.ebuild b/app-admin/packagekit-base/packagekit-base-0.8.15.ebuild
index cf148290dcfb..aa1f07a63f29 100644
--- a/app-admin/packagekit-base/packagekit-base-0.8.15.ebuild
+++ b/app-admin/packagekit-base/packagekit-base-0.8.15.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/packagekit-base-0.8.15.ebuild,v 1.1 2013/12/18 05:12:15 lxnay Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/packagekit-base-0.8.15.ebuild,v 1.2 2013/12/18 18:33:51 lxnay Exp $
EAPI="5"
@@ -20,9 +20,10 @@ SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
-IUSE="connman cron command-not-found doc +introspection networkmanager nsplugin entropy static-libs systemd udev"
+IUSE="bash-completion connman cron command-not-found doc +introspection networkmanager nsplugin entropy static-libs systemd udev"
-CDEPEND="connman? ( net-misc/connman )
+CDEPEND="bash-completion? ( >=app-shells/bash-completion-2.0 )
+ connman? ( net-misc/connman )
introspection? ( >=dev-libs/gobject-introspection-0.9.9[${PYTHON_USEDEP}] )
networkmanager? ( >=net-misc/networkmanager-0.6.4 )
nsplugin? (
@@ -79,7 +80,7 @@ src_configure() {
$(test -n "${LINGUAS}" && echo -n "--enable-nls" || echo -n "--disable-nls") \
--enable-introspection=$(use introspection && echo -n "yes" || echo -n "no") \
--localstatedir=/var \
- --enable-bash-completion \
+ $(use_enable bash-completion) \
--disable-dependency-tracking \
--enable-option-checking \
--enable-libtool-lock \