Lines 2-10
Link Here
|
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.9.0-r4.ebuild,v 1.1 2013/10/06 14:43:06 zzam Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.9.0-r4.ebuild,v 1.1 2013/10/06 14:43:06 zzam Exp $ |
4 |
|
4 |
|
5 |
EAPI=4 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
inherit eutils linux-mod linux-info toolchain-funcs flag-o-matic autotools |
7 |
inherit eutils linux-mod linux-info toolchain-funcs flag-o-matic autotools systemd |
8 |
|
8 |
|
9 |
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls" |
9 |
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls" |
10 |
HOMEPAGE="http://www.lirc.org/" |
10 |
HOMEPAGE="http://www.lirc.org/" |
Lines 20-26
Link Here
|
20 |
LICENSE="GPL-2" |
20 |
LICENSE="GPL-2" |
21 |
SLOT="0" |
21 |
SLOT="0" |
22 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
22 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
23 |
IUSE="debug doc hardware-carrier transmitter static-libs X" |
23 |
IUSE="debug doc hardware-carrier transmitter static-libs systemd X" |
24 |
|
24 |
|
25 |
S="${WORKDIR}/${MY_P}" |
25 |
S="${WORKDIR}/${MY_P}" |
26 |
|
26 |
|
Lines 32-38
Link Here
|
32 |
) |
32 |
) |
33 |
lirc_devices_alsa_usb? ( media-libs/alsa-lib ) |
33 |
lirc_devices_alsa_usb? ( media-libs/alsa-lib ) |
34 |
lirc_devices_audio? ( >media-libs/portaudio-18 ) |
34 |
lirc_devices_audio? ( >media-libs/portaudio-18 ) |
35 |
lirc_devices_irman? ( media-libs/libirman )" |
35 |
lirc_devices_irman? ( media-libs/libirman ) |
|
|
36 |
systemd? ( sys-apps/systemd )" |
36 |
|
37 |
|
37 |
# 2012-07-17, Ian Stakenvicius |
38 |
# 2012-07-17, Ian Stakenvicius |
38 |
# A helper script that scrapes out values for nearly all of the variables below |
39 |
# A helper script that scrapes out values for nearly all of the variables below |
Lines 363-368
Link Here
|
363 |
newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd |
364 |
newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd |
364 |
newinitd "${FILESDIR}"/lircmd lircmd |
365 |
newinitd "${FILESDIR}"/lircmd lircmd |
365 |
newconfd "${FILESDIR}"/lircd.conf.4 lircd |
366 |
newconfd "${FILESDIR}"/lircd.conf.4 lircd |
|
|
367 |
|
368 |
use systemd && systemd_dounit "${FILESDIR}/lircd.service" |
369 |
use systemd && systemd_dounit "${FILESDIR}/irexec.service" |
370 |
use systemd && systemd_newunit "${FILESDIR}/irexec_as_user_AT.service" "irexec_as_user@.service" |
366 |
|
371 |
|
367 |
insinto /etc/modprobe.d/ |
372 |
insinto /etc/modprobe.d/ |
368 |
newins "${FILESDIR}"/modprobed.lirc lirc.conf |
373 |
newins "${FILESDIR}"/modprobed.lirc lirc.conf |
Lines 428-431
Link Here
|
428 |
|
433 |
|
429 |
einfo "The new default location for lircd.conf is inside of" |
434 |
einfo "The new default location for lircd.conf is inside of" |
430 |
einfo "/etc/lirc/ directory" |
435 |
einfo "/etc/lirc/ directory" |
|
|
436 |
|
437 |
if use systemd; then |
438 |
einfo "If you want to start irexec as a systemd service, you MUST" |
439 |
einfo "specify IREXEC_USER in /etc/conf.d/irexec. and use" |
440 |
einfo "Just use the service irexec.service, and NOT the helper" |
441 |
einfo "irexec_as_user@.service !!!" |
442 |
fi |
431 |
} |
443 |
} |