# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 inherit eutils DESCRIPTION="IR remote control for Ardour" HOMEPAGE="" SRC_URI="http://www.aperiplus.co.uk/downloads/src/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="app-misc/lirc dev-lang/perl dev-perl/Audio-Ardour-Irc dev-perl/Class-Accessor dev-perl/File-Path-Expand dev-perl/Lirc-Client media-libs/liblo" DEPEND="${RDEPEND}" confdir=/etc/ardour-irc src_unpack() { unpack ${A} } src_install() { insinto /usr/bin/ doins "${S}/usr/bin/aircd" insinto /etc doins -r "${S}/etc/ardour-irc" } pkg_postinst() { chmod +x /usr/bin/aircd elog "" elog "(1) See http://en.gentoo-wiki.com/wiki/LIRC for info on setting up LIRC." elog "" elog "(2) You need to create a valid "${confdir}"lirc.conf for your remote." elog " Instructions are in the file." elog "" elog "(3) OSC is not enabled by default in Ardour - see menu: Options/Misc Options." elog "" elog "(4) Start the Ardour-Irc daemon from the command line:" elog "" elog " $ aircd" elog "" elog " ...Ardour will now be able to hear commands from your remote." elog "" }