2021-06-23 14:52:35 +02:00
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
2012-10-30 18:53:46 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2021-06-23 14:52:35 +02:00
|
|
|
EAPI=7
|
|
|
|
inherit autotools
|
2012-10-30 18:53:46 +01:00
|
|
|
|
|
|
|
DESCRIPTION="Linux client for programming the Logitech Harmony universal remote"
|
2021-06-23 14:52:35 +02:00
|
|
|
HOMEPAGE="https://www.phildev.net/concordance"
|
|
|
|
SRC_URI="https://github.com/jaymzh/concordance/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
2012-10-30 18:53:46 +01:00
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
2021-06-23 14:52:35 +02:00
|
|
|
KEYWORDS="~amd64"
|
2012-10-30 18:53:46 +01:00
|
|
|
IUSE=""
|
|
|
|
|
2021-06-23 14:52:35 +02:00
|
|
|
DEPEND="=dev-libs/libconcord-${PV}"
|
|
|
|
RDEPEND="${DEPEND}"
|
2012-10-30 18:53:46 +01:00
|
|
|
|
|
|
|
S="${WORKDIR}/${P}/${PN}"
|
|
|
|
|
2021-06-23 14:52:35 +02:00
|
|
|
src_prepare() {
|
|
|
|
default
|
|
|
|
|
|
|
|
eautoreconf
|
2012-10-30 18:53:46 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2021-06-23 14:52:35 +02:00
|
|
|
default
|
|
|
|
|
|
|
|
dodoc ../README.md
|
|
|
|
dodoc ../Changelog ../TODO
|
2012-10-30 18:53:46 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
einfo "Set up your remote by visiting members.harmonyremote.com."
|
|
|
|
einfo "Click 'Update Remote' to receive Connectivity.EZHex, which"
|
|
|
|
einfo "verifies connectivity to the remote. Run it with:"
|
|
|
|
echo
|
|
|
|
einfo " concordance --connectivity-test Connectivity.EZHex"
|
|
|
|
echo
|
|
|
|
einfo "Return to your browser and click to the next screen to receive"
|
|
|
|
einfo "Update.EZHex, which contains the new configuration. Run it with:"
|
|
|
|
echo
|
|
|
|
einfo " concordance --write-config Update.EZHex"
|
|
|
|
}
|