Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 236357 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-wireless/bluez/bluez-4.19.ebuild (-23 / +14 lines)
Lines 5-17 Link Here
5
inherit autotools multilib eutils
5
inherit autotools multilib eutils
6
6
7
DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
7
DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
8
HOMEPAGE="http://bluez.sourceforge.net/"
8
HOMEPAGE="http://www.bluez.org/"
9
SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.gz"
9
SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.gz"
10
LICENSE="GPL-2 LGPL-2.1"
10
LICENSE="GPL-2 LGPL-2.1"
11
11
SLOT="0"
12
SLOT="0"
12
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~sparc ~x86"
13
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~sparc ~x86"
13
14
14
IUSE="alsa cups debug doc examples gstreamer old-daemons test-programs usb"
15
IUSE="alsa cups debug doc gstreamer old-daemons test-programs usb"
15
16
16
RDEPEND="alsa? ( media-libs/alsa-lib )
17
RDEPEND="alsa? ( media-libs/alsa-lib )
17
	gstreamer? (
18
	gstreamer? (
Lines 19-30 Link Here
19
		>=media-libs/gst-plugins-base-0.10 )
20
		>=media-libs/gst-plugins-base-0.10 )
20
	usb? ( dev-libs/libusb )
21
	usb? ( dev-libs/libusb )
21
	cups? ( net-print/cups )
22
	cups? ( net-print/cups )
22
	sys-fs/udev
23
	=dev-libs/glib-2*
23
	dev-libs/glib
24
	>=dev-libs/libnl-1.1
24
	sys-apps/dbus
25
	sys-apps/dbus
26
	sys-fs/udev
25
	!net-wireless/bluez-libs
27
	!net-wireless/bluez-libs
26
	!net-wireless/bluez-utils"
28
	!net-wireless/bluez-utils"
27
DEPEND="!<dev-libs/libnl-1.1
29
DEPEND="sys-devel/bison
28
	sys-devel/flex
30
	sys-devel/flex
29
	dev-util/pkgconfig
31
	dev-util/pkgconfig
30
	doc? ( dev-util/gtk-doc )
32
	doc? ( dev-util/gtk-doc )
Lines 42-58 Link Here
42
44
43
src_compile() {
45
src_compile() {
44
	# the order is the same as ./configure --help
46
	# the order is the same as ./configure --help
45
46
	# we don't need the other daemons either with the new
47
	# we don't need the other daemons either with the new
47
	# service architechture
48
	# service architecture
48
49
	econf \
49
	econf \
50
		$(use_enable doc gtk-doc) \
50
		$(use_enable doc gtk-doc) \
51
		--enable-network \
51
		--enable-network \
52
		--enable-serial \
52
		--enable-serial \
53
		--enable-input \
53
		--enable-input \
54
		--enable-audio \
54
		--enable-audio \
55
		--enable-service \
56
		$(use_enable gstreamer) \
55
		$(use_enable gstreamer) \
57
		$(use_enable alsa) \
56
		$(use_enable alsa) \
58
		$(use_enable usb) \
57
		$(use_enable usb) \
Lines 77-94 Link Here
77
}
76
}
78
77
79
src_install() {
78
src_install() {
80
	emake DESTDIR="${D}" install || die "make install failed"
79
	emake DESTDIR="${D}" install || die "emake install failed"
81
80
82
	dodoc AUTHORS ChangeLog README || die
81
	dodoc AUTHORS ChangeLog README || die
83
82
84
	if use test-programs ; then
85
		dobin input/test-input || die
86
87
		# a very simple example daemon
88
		dobin test/passkey-agent || die
89
		dobin test/auth-agent || die
90
	fi
91
92
	newinitd "${FILESDIR}/4.18/bluetooth-init.d" bluetooth || die
83
	newinitd "${FILESDIR}/4.18/bluetooth-init.d" bluetooth || die
93
	newconfd "${FILESDIR}/4.18/bluetooth-conf.d" bluetooth || die
84
	newconfd "${FILESDIR}/4.18/bluetooth-conf.d" bluetooth || die
94
85
Lines 107-116 Link Here
107
	doexe  "${S}/scripts/bluetooth_serial" || die
98
	doexe  "${S}/scripts/bluetooth_serial" || die
108
99
109
	insinto /etc/bluetooth
100
	insinto /etc/bluetooth
110
	doins \
101
	local svc=
111
		input/input.conf \
102
	for svc in audio input network; do
112
		audio/audio.conf \
103
		doins "${S}"/${svc}/${svc}.conf
113
		network/network.conf
104
	done
114
}
105
}
115
106
116
pkg_postinst() {
107
pkg_postinst() {
Lines 125-131 Link Here
125
	elog "for gnome and net-wireless/kdebluetooth for kde."
116
	elog "for gnome and net-wireless/kdebluetooth for kde."
126
	elog ""
117
	elog ""
127
	elog "Since 3.10.1 we don't install the old style daemons any more but rely"
118
	elog "Since 3.10.1 we don't install the old style daemons any more but rely"
128
	elog "on the new service architechture:"
119
	elog "on the new service architecture:"
129
	elog "	http://wiki.bluez.org/wiki/Services"
120
	elog "	http://wiki.bluez.org/wiki/Services"
130
	elog ""
121
	elog ""
131
	elog "3.15 adds support for the audio service. See"
122
	elog "3.15 adds support for the audio service. See"

Return to bug 236357