diff options
author | 2015-08-08 16:16:09 +0000 | |
---|---|---|
committer | 2015-08-08 16:16:09 +0000 | |
commit | 8e0ce7b419a9fb23ba0c3c4d316f0d26339b368a (patch) | |
tree | 8205b7780d3107bd562e7dcc6731fb17b9ea928a | |
parent | Version bump. (diff) | |
download | gentoo-2-8e0ce7b419a9fb23ba0c3c4d316f0d26339b368a.tar.gz gentoo-2-8e0ce7b419a9fb23ba0c3c4d316f0d26339b368a.tar.bz2 gentoo-2-8e0ce7b419a9fb23ba0c3c4d316f0d26339b368a.zip |
Add additional deps and kernel checks for USE=network. Bug #487378.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
-rw-r--r-- | net-wireless/blueman/ChangeLog | 6 | ||||
-rw-r--r-- | net-wireless/blueman/blueman-2.0.ebuild | 32 | ||||
-rw-r--r-- | net-wireless/blueman/blueman-9999.ebuild | 32 |
3 files changed, 57 insertions, 13 deletions
diff --git a/net-wireless/blueman/ChangeLog b/net-wireless/blueman/ChangeLog index 88bbfb22a3e9..effc72829223 100644 --- a/net-wireless/blueman/ChangeLog +++ b/net-wireless/blueman/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-wireless/blueman # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/ChangeLog,v 1.38 2015/08/08 15:42:23 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/ChangeLog,v 1.39 2015/08/08 16:16:09 mgorny Exp $ + + 08 Aug 2015; Michał Górny <mgorny@gentoo.org> blueman-2.0.ebuild, + blueman-9999.ebuild: + Add additional deps and kernel checks for USE=network. Bug #487378. 08 Aug 2015; Michał Górny <mgorny@gentoo.org> -blueman-1.23-r1.ebuild, -blueman-1.23.ebuild, -blueman-1.23_p20140717-r1.ebuild, diff --git a/net-wireless/blueman/blueman-2.0.ebuild b/net-wireless/blueman/blueman-2.0.ebuild index 386a10e8eebe..fbbae262b69a 100644 --- a/net-wireless/blueman/blueman-2.0.ebuild +++ b/net-wireless/blueman/blueman-2.0.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-2.0.ebuild,v 1.1 2015/08/08 15:35:02 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-2.0.ebuild,v 1.2 2015/08/08 16:16:09 mgorny Exp $ EAPI="5" PYTHON_COMPAT=( python2_7 ) -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}/${P}-set-codeset-for-gettext-to-UTF-8-always.patch" 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" |