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

Collapse All | Expand All

(-)lirc-0.8.7_pre1.ebuild (-4 / +16 lines)
Lines 1-13 Link Here
1
# Copyright 1999-2010 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.7_pre1.ebuild,v 1.2 2010/11/01 09:00:14 fauli Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.9.0_pre1.ebuild,v 1.3 2010/11/16 21:45:00 hwoarang Exp $
4
4
5
inherit eutils linux-mod flag-o-matic autotools
5
inherit eutils flag-o-matic autotools linux-info linux-mod
6
6
7
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
7
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
8
HOMEPAGE="http://www.lirc.org/"
8
HOMEPAGE="http://www.lirc.org/"
9
9
10
MY_P=${PN}-${PV/_/}
10
MY_P=${PN}-${PV/_/-}
11
11
12
if [[ "${PV/_pre/}" = "${PV}" ]]; then
12
if [[ "${PV/_pre/}" = "${PV}" ]]; then
13
	SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
13
	SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
Lines 137-142 Link Here
137
	MY_OPTS=""
137
	MY_OPTS=""
138
	LIRC_DRIVER_DEVICE="/dev/lirc0"
138
	LIRC_DRIVER_DEVICE="/dev/lirc0"
139
139
140
	if !(linux_chkconfig_present LIRC_STAGING) && kernel_is -ge 2 6 36; then
141
		ewarn "You have a kernel greater than or equal to 2.6.36, lirc modules"
142
		ewarn "are now bundled with your kernel, please configure your kernel"
143
		ewarn "to enable staging drivers and select the respective lirc devices"
144
		die
145
	fi
146
140
	if use lirc_devices_all; then
147
	if use lirc_devices_all; then
141
		# compile in drivers for a lot of devices
148
		# compile in drivers for a lot of devices
142
		add_device all "a lot of devices"
149
		add_device all "a lot of devices"
Lines 231-241 Link Here
231
					--with-syslog=LOG_DAEMON
238
					--with-syslog=LOG_DAEMON
232
					--enable-sandboxed
239
					--enable-sandboxed
233
					--with-kerneldir=${KV_DIR}
240
					--with-kerneldir=${KV_DIR}
234
					--with-moduledir=/lib/modules/${KV_FULL}/misc
235
					$(use_enable debug)
241
					$(use_enable debug)
236
					$(use_with X x)
242
					$(use_with X x)
237
					${MY_OPTS}"
243
					${MY_OPTS}"
238
244
245
	if kernel_is -lt 2 6 36; then
246
		ECONF_PARAMS=${ECONF_PARAMS}" --with-moduledir=/lib/modules/${KV_FULL}/misc"
247
	else
248
		ECONF_PARAMS=${ECONF_PARAMS}" --with-moduledir=."
249
	fi
250
239
	einfo
251
	einfo
240
	einfo "lirc-configure-opts: ${MY_OPTS}"
252
	einfo "lirc-configure-opts: ${MY_OPTS}"
241
	elog  "Setting default lirc-device to ${LIRC_DRIVER_DEVICE}"
253
	elog  "Setting default lirc-device to ${LIRC_DRIVER_DEVICE}"

Return to bug 345833