diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-08-08 16:16:17 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-08-08 16:16:17 +0000 |
commit | 2ef4e63aae44faab19fc79a19db1a1699f669494 (patch) | |
tree | da7bfc19bd8901e9a0c7e0dc673e850fafad880a /net-wireless/blueman/blueman-9999.ebuild | |
parent | Version bump. (diff) | |
download | historical-2ef4e63aae44faab19fc79a19db1a1699f669494.tar.gz historical-2ef4e63aae44faab19fc79a19db1a1699f669494.tar.bz2 historical-2ef4e63aae44faab19fc79a19db1a1699f669494.zip |
Add additional deps and kernel checks for USE=network. Bug #487378.
Package-Manager: portage-2.2.20/cvs/Linux x86_64
Manifest-Sign-Key: 0xEFB4464E!
Diffstat (limited to 'net-wireless/blueman/blueman-9999.ebuild')
-rw-r--r-- | net-wireless/blueman/blueman-9999.ebuild | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/net-wireless/blueman/blueman-9999.ebuild b/net-wireless/blueman/blueman-9999.ebuild index dbcf31398bc4..d3b817188b68 100644 --- a/net-wireless/blueman/blueman-9999.ebuild +++ b/net-wireless/blueman/blueman-9999.ebuild @@ -1,17 +1,17 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-9999.ebuild,v 1.11 2015/08/08 15:35:02 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-9999.ebuild,v 1.12 2015/08/08 16:16:09 mgorny Exp $ EAPI="5" PYTHON_COMPAT=( python{2_7,3_4} ) -inherit eutils python-single-r1 gnome2-utils autotools +inherit eutils gnome2-utils linux-info python-single-r1 DESCRIPTION="GTK+ Bluetooth Manager, designed to be simple and intuitive for everyday bluetooth tasks" HOMEPAGE="https://github.com/blueman-project/blueman" if [[ ${PV} == "9999" ]] ; then - inherit git-r3 + inherit autotools git-r3 EGIT_REPO_URI="https://github.com/blueman-project/blueman.git" KEYWORDS="" else @@ -43,9 +43,16 @@ RDEPEND="${COMMON_DEPEND} x11-themes/mate-icon-theme ) appindicator? ( dev-libs/libappindicator:3[introspection] ) - network? ( || ( net-dns/dnsmasq - net-misc/dhcp - >=net-misc/networkmanager-0.8 ) ) + network? ( + net-dns/avahi[autoipd] + net-firewall/iptables + sys-apps/net-tools + || ( + net-dns/dnsmasq + net-misc/dhcp + >=net-misc/networkmanager-0.8 + ) + ) policykit? ( sys-auth/polkit ) pulseaudio? ( media-sound/pulseaudio[bluetooth] ) thunar? ( xfce-base/thunar ) @@ -54,6 +61,19 @@ RDEPEND="${COMMON_DEPEND} REQUIRED_USE="${PYTHON_REQUIRED_USE}" +pkg_pretend() { + if use network; then + local CONFIG_CHECK="~BRIDGE ~IP_NF_IPTABLES + ~IP_NF_NAT ~IP_NF_TARGET_MASQUERADE" + linux-info_pkg_setup + fi +} + +pkg_setup() { + pkg_pretend + python-single-r1_pkg_setup +} + src_prepare() { epatch \ "${FILESDIR}/${PN}-9999-set-codeset-for-gettext-to-UTF-8-always.patch" |