1 |
commit: 932447c160072a0e793425751255b57488edd8af |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 4 12:55:52 2015 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 4 12:56:09 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=932447c1 |
7 |
|
8 |
net-wireless/blueman: gnome-bluetooth blocker is no longer needed as the colliding file was fixed by upstream |
9 |
|
10 |
Package-Manager: portage-2.2.22 |
11 |
|
12 |
net-wireless/blueman/blueman-2.0-r1.ebuild | 115 +++++++++++++++++++++++++++++ |
13 |
1 file changed, 115 insertions(+) |
14 |
|
15 |
diff --git a/net-wireless/blueman/blueman-2.0-r1.ebuild b/net-wireless/blueman/blueman-2.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..f84849c |
18 |
--- /dev/null |
19 |
+++ b/net-wireless/blueman/blueman-2.0-r1.ebuild |
20 |
@@ -0,0 +1,115 @@ |
21 |
+# Copyright 1999-2015 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI="5" |
26 |
+ |
27 |
+PYTHON_COMPAT=( python2_7 ) |
28 |
+inherit eutils gnome2-utils linux-info python-single-r1 |
29 |
+ |
30 |
+DESCRIPTION="GTK+ Bluetooth Manager, designed to be simple and intuitive for everyday bluetooth tasks" |
31 |
+HOMEPAGE="https://github.com/blueman-project/blueman" |
32 |
+ |
33 |
+if [[ ${PV} == "9999" ]] ; then |
34 |
+ inherit autotools git-r3 |
35 |
+ EGIT_REPO_URI="https://github.com/blueman-project/blueman.git" |
36 |
+ KEYWORDS="" |
37 |
+else |
38 |
+ SRC_URI="https://github.com/blueman-project/${PN}/releases/download/${PV}/${P}.tar.xz" |
39 |
+ KEYWORDS="~amd64 ~x86" |
40 |
+fi |
41 |
+ |
42 |
+LICENSE="GPL-3" |
43 |
+SLOT="0" |
44 |
+IUSE="appindicator network nls policykit pulseaudio thunar" |
45 |
+ |
46 |
+COMMON_DEPEND=" |
47 |
+ dev-python/pygobject:3 |
48 |
+ >=net-wireless/bluez-4.61:= |
49 |
+ ${PYTHON_DEPS}" |
50 |
+DEPEND="${COMMON_DEPEND} |
51 |
+ dev-python/cython[${PYTHON_USEDEP}] |
52 |
+ virtual/pkgconfig |
53 |
+ nls? ( dev-util/intltool sys-devel/gettext )" |
54 |
+RDEPEND="${COMMON_DEPEND} |
55 |
+ dev-python/dbus-python[${PYTHON_USEDEP}] |
56 |
+ dev-python/pycairo[${PYTHON_USEDEP}] |
57 |
+ sys-apps/dbus |
58 |
+ x11-libs/gtk+:3[introspection] |
59 |
+ x11-libs/libnotify[introspection] |
60 |
+ || ( |
61 |
+ x11-themes/faenza-icon-theme |
62 |
+ x11-themes/gnome-icon-theme |
63 |
+ x11-themes/mate-icon-theme |
64 |
+ ) |
65 |
+ appindicator? ( dev-libs/libappindicator:3[introspection] ) |
66 |
+ network? ( |
67 |
+ net-dns/avahi[autoipd] |
68 |
+ net-firewall/iptables |
69 |
+ sys-apps/net-tools |
70 |
+ || ( |
71 |
+ net-dns/dnsmasq |
72 |
+ net-misc/dhcp |
73 |
+ >=net-misc/networkmanager-0.8 |
74 |
+ ) |
75 |
+ ) |
76 |
+ policykit? ( sys-auth/polkit ) |
77 |
+ pulseaudio? ( media-sound/pulseaudio[bluetooth] ) |
78 |
+ thunar? ( xfce-base/thunar ) |
79 |
+" |
80 |
+ |
81 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
82 |
+ |
83 |
+pkg_pretend() { |
84 |
+ if use network; then |
85 |
+ local CONFIG_CHECK="~BRIDGE ~IP_NF_IPTABLES |
86 |
+ ~IP_NF_NAT ~IP_NF_TARGET_MASQUERADE" |
87 |
+ linux-info_pkg_setup |
88 |
+ fi |
89 |
+} |
90 |
+ |
91 |
+pkg_setup() { |
92 |
+ pkg_pretend |
93 |
+ python-single-r1_pkg_setup |
94 |
+} |
95 |
+ |
96 |
+src_prepare() { |
97 |
+ epatch \ |
98 |
+ "${FILESDIR}/${P}-set-codeset-for-gettext-to-UTF-8-always.patch" |
99 |
+ [[ ${PV} == 9999 ]] && eautoreconf |
100 |
+} |
101 |
+ |
102 |
+src_configure() { |
103 |
+ econf \ |
104 |
+ --docdir=/usr/share/doc/${PF} \ |
105 |
+ --disable-runtime-deps-check \ |
106 |
+ --disable-static \ |
107 |
+ $(use_enable policykit polkit) \ |
108 |
+ $(use_enable nls) \ |
109 |
+ $(use_enable thunar thunar-sendto) |
110 |
+} |
111 |
+ |
112 |
+src_install() { |
113 |
+ default |
114 |
+ |
115 |
+ python_fix_shebang "${D}" |
116 |
+ rm "${D}"/$(python_get_sitedir)/*.la || die |
117 |
+ |
118 |
+ use appindicator || { rm "${D}"/$(python_get_sitedir)/${PN}/plugins/applet/AppIndicator.py* || die; } |
119 |
+ use pulseaudio || { rm "${D}"/$(python_get_sitedir)/${PN}/{main/Pulse*.py*,plugins/manager/Pulse*.py*} || die; } |
120 |
+} |
121 |
+ |
122 |
+pkg_preinst() { |
123 |
+ gnome2_icon_savelist |
124 |
+ gnome2_schemas_savelist |
125 |
+} |
126 |
+ |
127 |
+pkg_postinst() { |
128 |
+ gnome2_icon_cache_update |
129 |
+ gnome2_schemas_update |
130 |
+} |
131 |
+ |
132 |
+pkg_postrm() { |
133 |
+ gnome2_icon_cache_update |
134 |
+ gnome2_schemas_update |
135 |
+} |