mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
lirc:
- move to sysutils/remote
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
if [ "$DEBUG" = yes ]; then
|
||||
DEBUG_CONFIG="--enable-debug"
|
||||
else
|
||||
DEBUG_CONFIG="--disable-debug"
|
||||
fi
|
||||
|
||||
export ac_cv_path_LIBUSB_CONFIG=
|
||||
export ac_cv_func_forkpty=no
|
||||
export ac_cv_lib_util_forkpty=no
|
||||
export MAKEFLAGS=-j1
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-shared \
|
||||
--enable-sandboxed \
|
||||
--without-x \
|
||||
--with-driver=userspace \
|
||||
--with-syslog=LOG_DAEMON \
|
||||
$DEBUG_CONFIG
|
||||
|
||||
make
|
||||
|
||||
$MAKEINSTALL -C tools
|
||||
@@ -1,104 +0,0 @@
|
||||
#
|
||||
# RC-6 config file
|
||||
#
|
||||
# source: http://home.hccnet.nl/m.majoor/projects__remote_control.htm
|
||||
# http://home.hccnet.nl/m.majoor/pronto.pdf
|
||||
#
|
||||
# used by: Philips
|
||||
#
|
||||
#########
|
||||
#
|
||||
# Philips Media Center Edition remote control
|
||||
# For use with the USB MCE ir receiver
|
||||
#
|
||||
# Dan Conti dconti|acm.wwu.edu
|
||||
#
|
||||
# Updated with codes for MCE 2005 Remote additional buttons
|
||||
# *, #, Teletext, Red, Green, Yellow & Blue Buttons
|
||||
# Note: TV power button transmits no code until programmed.
|
||||
# Updated 12th September 2005
|
||||
# Graham Auld - mce|graham.auld.me.uk
|
||||
#
|
||||
# Radio, Print, RecTV are only available on the HP Media Center remote control
|
||||
#
|
||||
|
||||
begin remote
|
||||
|
||||
name mceusb
|
||||
bits 16
|
||||
flags RC6|CONST_LENGTH
|
||||
eps 30
|
||||
aeps 100
|
||||
|
||||
header 2667 889
|
||||
one 444 444
|
||||
zero 444 444
|
||||
pre_data_bits 21
|
||||
pre_data 0x37FF0
|
||||
gap 105000
|
||||
toggle_bit 22
|
||||
rc6_mask 0x100000000
|
||||
|
||||
|
||||
begin codes
|
||||
|
||||
Blue 0x00007ba1
|
||||
Yellow 0x00007ba2
|
||||
Green 0x00007ba3
|
||||
Red 0x00007ba4
|
||||
Teletext 0x00007ba5
|
||||
|
||||
# starts at af
|
||||
Radio 0x00007baf
|
||||
Print 0x00007bb1
|
||||
Videos 0x00007bb5
|
||||
Pictures 0x00007bb6
|
||||
RecTV 0x00007bb7
|
||||
Music 0x00007bb8
|
||||
TV 0x00007bb9
|
||||
# no ba - d8
|
||||
|
||||
Guide 0x00007bd9
|
||||
LiveTV 0x00007bda
|
||||
DVD 0x00007bdb
|
||||
Back 0x00007bdc
|
||||
OK 0x00007bdd
|
||||
Right 0x00007bde
|
||||
Left 0x00007bdf
|
||||
Down 0x00007be0
|
||||
Up 0x00007be1
|
||||
|
||||
Star 0x00007be2
|
||||
Hash 0x00007be3
|
||||
|
||||
Replay 0x00007be4
|
||||
Skip 0x00007be5
|
||||
Stop 0x00007be6
|
||||
Pause 0x00007be7
|
||||
Record 0x00007be8
|
||||
Play 0x00007be9
|
||||
Rewind 0x00007bea
|
||||
Forward 0x00007beb
|
||||
ChanDown 0x00007bec
|
||||
ChanUp 0x00007bed
|
||||
VolDown 0x00007bee
|
||||
VolUp 0x00007bef
|
||||
More 0x00007bf0
|
||||
Mute 0x00007bf1
|
||||
Home 0x00007bf2
|
||||
Power 0x00007bf3
|
||||
Enter 0x00007bf4
|
||||
Clear 0x00007bf5
|
||||
Nine 0x00007bf6
|
||||
Eight 0x00007bf7
|
||||
Seven 0x00007bf8
|
||||
Six 0x00007bf9
|
||||
Five 0x00007bfa
|
||||
Four 0x00007bfb
|
||||
Three 0x00007bfc
|
||||
Two 0x00007bfd
|
||||
One 0x00007bfe
|
||||
Zero 0x00007bff
|
||||
end codes
|
||||
|
||||
end remote
|
||||
@@ -1,18 +0,0 @@
|
||||
# start the LIRC daemon
|
||||
#
|
||||
# runlevels: openelec, textmode
|
||||
|
||||
LIRC_DRIVER="default"
|
||||
LIRC_DEVICE="/dev/lirc0"
|
||||
LIRC_OUTPUT="/dev/lircd"
|
||||
|
||||
(
|
||||
progress "Starting LIRC daemon"
|
||||
|
||||
|
||||
$IONICE mkdir -p /var/run/lirc
|
||||
|
||||
lircd --driver=$LIRC_DRIVER \
|
||||
--device=$LIRC_DEVICE \
|
||||
--output=$LIRC_OUTPUT
|
||||
)&
|
||||
@@ -1,27 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||
|
||||
mkdir -p $INSTALL/usr/sbin
|
||||
cp $PKG_BUILD/daemons/lircd $INSTALL/usr/sbin
|
||||
cp $PKG_BUILD/daemons/lircmd $INSTALL/usr/sbin # do we need this?
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/irpty $INSTALL/usr/bin
|
||||
|
||||
mkdir -p $INSTALL/etc/lirc
|
||||
cp $PKG_DIR/config/lircd_$REMOTE.conf $INSTALL/etc/lirc/lircd.conf
|
||||
|
||||
if [ "$DEVTOOLS" = yes ]; then
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/ircat $INSTALL/usr/bin # do we need this?
|
||||
cp $PKG_BUILD/tools/irexec $INSTALL/usr/bin # do we need this?
|
||||
cp $PKG_BUILD/tools/irsend $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/irw $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/lircrcd $INSTALL/usr/bin # do we need this?
|
||||
cp $PKG_BUILD/tools/mode2 $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/daemons/irrecord $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/irsend $INSTALL/usr/bin # do we need this?
|
||||
fi
|
||||
@@ -1 +0,0 @@
|
||||
http://sources.openelec.tv/svn/lirc-20100408.tar.bz2
|
||||
Reference in New Issue
Block a user