New ebuild for remote control

This commit is contained in:
nemunaire 2015-06-22 19:59:20 +02:00
parent 9648b025b1
commit 264819409e
4 changed files with 44 additions and 0 deletions

View File

@ -3,6 +3,7 @@ Odroid-C1 Gentoo Overlay
This overlay includes ebuilds for the following packages: This overlay includes ebuilds for the following packages:
* `app-misc/odroidc1-remote`: Odroid C1 remote control setup (https://github.com/mdrjr/c1_irremote)
* `dev-embedded/u-boot-tools-odroidc1`: Odroid C1 U-Boot (https://github.com/hardkernel/u-boot) * `dev-embedded/u-boot-tools-odroidc1`: Odroid C1 U-Boot (https://github.com/hardkernel/u-boot)
* `media-libs/aml-odroidc1`: Odroid C1 Amlogic Libraries (https://github.com/mdrjr/c1_aml_libs) * `media-libs/aml-odroidc1`: Odroid C1 Amlogic Libraries (https://github.com/mdrjr/c1_aml_libs)
* `sys-kernel/odroidc1-sources`: Linux source for Odroid devices (https://github.com/hardkernel/linux) * `sys-kernel/odroidc1-sources`: Linux source for Odroid devices (https://github.com/hardkernel/linux)

View File

@ -0,0 +1,2 @@
AUX odroid_remote 414 SHA256 a504ce1bda233c00e95e3e627737b22aba71763ff21ef40a6e9d95dd23005732 SHA512 6aa255d88b3a900262965ca198c4cb04ab35d142176c5e81d5e99f4088fbcd31798d2261b14e0f42fcc2c1036c05434cd7487548b2a060a4cd1ad1d0ca1e4d38 WHIRLPOOL b3ae6c9369c6094c4da3126011d54b3889196c08e9ac95fa38c4fc9a5f6ccc0dc4cb0714f864f588bf8f1504f1deaa41e94b097b25ccffaf8fffaf78586dd88e
EBUILD odroidc1-remote-9999.ebuild 431 SHA256 ae013160ebdd679caca8cbb229bf4d367ae768a19e3a5410bb2c9cd9b4d95897 SHA512 5dfc409afb541c031e80944d34a42c9b71924dd614e58712c948b4159374699f0a077e7d4b87e71f1fa86ceaab748f91d10c4f8d9a167f63f781c16ef8b56756 WHIRLPOOL 2819616591306188b0a71832fad979f44adedf87d7121ab616be25cfb9f7ff0b7e3e5527b57ba77a6fd8a0d858eaa9c2300bf313b29aba4ad870dbfacf367155

View File

@ -0,0 +1,14 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/files/hdparm-init-8,v 1.3 2012/04/29 00:30:18 vapier Exp $
depend() {
use udev
}
start() {
ebegin "Starting odroidc1_remote"
start-stop-daemon --start --exec /usr/bin/odroid_remote -- /etc/odroid_remote.conf
eend $?
}

View File

@ -0,0 +1,27 @@
EAPI=5
inherit git-r3
EGIT_REPO_URI="git://github.com/mdrjr/c1_irremote.git"
DESCRIPTION="ODROID-C1 remote control setup"
HOMEPAGE="https://github.com/mdrjr/c1_irremote.git"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
src_install() {
insinto /etc
doins odroid_remote.conf
insinto /usr/bin
insopts -m0755
doins odroid_remote
insinto /etc/init.d
doins "${FILESDIR}"/odroid_remote
}