# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python3_{6,7} ) inherit eutils flag-o-matic linux-info python-single-r1 systemd xdg-utils DESCRIPTION="decode and send infra-red signals of many commonly used remote controls" HOMEPAGE="http://www.lirc.org/" LIRC_DRIVER_DEVICE="/dev/lirc0" MY_P=${PN}-${PV/_/-} if [[ "${PV/_pre/}" = "${PV}" ]]; then SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2" else SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2" fi LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 ~arm64 ppc ppc64 x86" IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X" REQUIRED_USE=" ${PYTHON_REQUIRED_USE} gtk? ( X ) " S="${WORKDIR}/${MY_P}" COMMON_DEPEND=" ${PYTHON_DEPS} audio? ( >media-libs/portaudio-18 media-libs/alsa-lib )