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