Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 504324
Collapse All | Expand All

(-)bluez-5.15.ebuild (-5 / +13 lines)
Lines 14-32 Link Here
14
LICENSE="GPL-2+ LGPL-2.1+"
14
LICENSE="GPL-2+ LGPL-2.1+"
15
SLOT="0/3"
15
SLOT="0/3"
16
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86"
16
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86"
17
IUSE="cups debug +obex readline selinux systemd test"
17
IUSE="cups debug +obex readline selinux systemd test +udev"
18
REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
18
REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
19
19
20
RDEPEND="
20
RDEPEND="
21
	>=dev-libs/glib-2.28:2
21
	>=dev-libs/glib-2.28:2
22
	>=sys-apps/dbus-1.6:=
22
	>=sys-apps/dbus-1.6:=
23
	>=sys-apps/hwids-20121202.2
23
	>=sys-apps/hwids-20121202.2
24
	>=virtual/udev-171
25
	cups? ( net-print/cups:= )
24
	cups? ( net-print/cups:= )
26
	obex? ( dev-libs/libical )
25
	obex? ( dev-libs/libical )
27
	readline? ( sys-libs/readline:= )
26
	readline? ( sys-libs/readline:= )
28
	selinux? ( sec-policy/selinux-bluetooth )
27
	selinux? ( sec-policy/selinux-bluetooth )
29
	systemd? ( sys-apps/systemd )
28
	systemd? ( sys-apps/systemd )
29
	udev? ( >=virtual/udev-171 )
30
"
30
"
31
DEPEND="${RDEPEND}
31
DEPEND="${RDEPEND}
32
	virtual/pkgconfig
32
	virtual/pkgconfig
Lines 46-51 Link Here
46
pkg_setup() {
46
pkg_setup() {
47
	enewgroup plugdev
47
	enewgroup plugdev
48
	use test && python-any-r1_pkg_setup
48
	use test && python-any-r1_pkg_setup
49
50
	if ! use udev; then
51
		ewarn
52
		ewarn "You are installing ${PN} with USE=-udev. This means various bluetooth"
53
		ewarn "devices and adapters from Apple, Dell, Logitech etc. will not work,"
54
		ewarn "and hid2hci will not be available."
55
		ewarn
56
	fi
49
}
57
}
50
58
51
src_prepare() {
59
src_prepare() {
Lines 92-104 Link Here
92
		$(use_enable test) \
100
		$(use_enable test) \
93
		--enable-tools \
101
		--enable-tools \
94
		--enable-monitor \
102
		--enable-monitor \
95
		--enable-udev \
103
		$(use_enable udev) \
96
		$(use_enable cups) \
104
		$(use_enable cups) \
97
		$(use_enable obex) \
105
		$(use_enable obex) \
98
		--enable-client \
106
		--enable-client \
99
		$(use_enable systemd) \
107
		$(use_enable systemd) \
100
		$(systemd_with_unitdir) \
108
		$(systemd_with_unitdir) \
101
		--enable-sixaxis
109
		$(use_enable udev sixaxis)
102
}
110
}
103
111
104
src_install() {
112
src_install() {
Lines 134-140 Link Here
134
pkg_postinst() {
142
pkg_postinst() {
135
	readme.gentoo_print_elog
143
	readme.gentoo_print_elog
136
144
137
	udev_reload
145
	use udev && udev_reload
138
146
139
	has_version net-dialup/ppp || elog "To use dial up networking you must install net-dialup/ppp."
147
	has_version net-dialup/ppp || elog "To use dial up networking you must install net-dialup/ppp."
140
148

Return to bug 504324