new package:

- add initial lcdproc support
This commit is contained in:
Stephan Raue 2010-04-23 08:43:21 +02:00
parent 1fd85e592c
commit 04aba781e2
8 changed files with 101 additions and 0 deletions

View File

@ -129,5 +129,6 @@ mkdir -p $INSTALL/usr/share/xbmc/addons
# other programs needed to run
$SCRIPTS/install alsa
$SCRIPTS/install lirc
[ ! "$LCD_DRIVER" = none ] && $SCRIPTS/install lcdproc
$SCRIPTS/install autoupdate

19
packages/sysutils/lcdproc/build Executable file
View File

@ -0,0 +1,19 @@
#!/bin/sh
. config/options
$SCRIPTS/build toolchain
$SCRIPTS/build libusb
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--enable-libusb \
--enable-drivers="$LCD_DRIVER,!curses,!svga"
make
sed -i -e "s|^DriverPath=.*$|DriverPath=/usr/lib/lcdproc/|" LCDd.conf
sed -i -e "s|^Driver=.*$|Driver=lirc|" LCDd.conf

View File

@ -0,0 +1,20 @@
# start the LCD daemon
#
# runlevels: openelec, textmode
(
progress "Starting LCD daemon"
LCD_USERCONF="/storage/.config/LCDd.conf"
LCD_DEFCONF="/etc/LCDd.conf"
LCD_ARG=""
if [ -f $LCD_USERCONF ]; then
LCD_ARG="$LCD_ARG -c $LCD_USERCONF"
else
LCD_ARG="$LCD_ARG -c $LCD_DEFCONF"
fi
LCDd $LCD_ARG > /dev/null 2>&1
)&

View File

@ -0,0 +1,24 @@
#!/bin/sh
. config/options
$SCRIPTS/install libusb
PKG_DIR=`find $PACKAGES -type d -name $1`
mkdir -p $INSTALL/usr/sbin
cp $PKG_BUILD/server/LCDd $INSTALL/usr/sbin
mkdir -p $INSTALL/usr/bin
cp $PKG_BUILD/clients/lcdproc/lcdproc $INSTALL/usr/bin
mkdir -p $INSTALL/usr/lib/lcdproc
cp $PKG_BUILD/server/drivers/*.so $INSTALL/usr/lib/lcdproc
mkdir -p $INSTALL/etc
cp $PKG_BUILD/LCDd.conf $INSTALL/etc
cp $PKG_BUILD/clients/lcdproc/lcdproc.conf $INSTALL/etc
mkdir -p $INSTALL/usr/config
cp $PKG_BUILD/LCDd.conf $INSTALL/usr/config/LCDd.conf.sample
cp $PKG_BUILD/clients/lcdproc/lcdproc.conf $INSTALL/usr/config/lcdproc.conf.sample

View File

@ -0,0 +1 @@
http://sources.openelec.tv/svn/lcdproc-20100423.tar.bz2

View File

@ -98,6 +98,18 @@
# tosh-vt76f/flytv-prime/Medion-X10/imonknob/ultrax/dvico/MCE-X10)
REMOTE="mceusb"
# LCD driver to Use - Possible drivers are ( Comma seperated:
# bayrad,CFontz,CFontz633,CFontzPacket,CwLnx,ea65,
# EyeboxOne,g15,glcdlib,glk,hd44780,i2500vfd,icp_a106,imon,imonlcd,
# IOWarrior,irman,irtrans,joy,lb216,lcdm001,lcterm,lirc,lis,
# MD8800,ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD,picolcd,
# pyramid,sed1330,sed1520,serialPOS,serialVFD,shuttleVFD,sli,
# stv5730,SureElec,t6963,text,tyan,ula200,xosd
# 'all' compiles all drivers;
# 'all,!xxx,!yyy' de-selects previously selected drivers
# "none" for disable LCD support
LCD_DRIVER="none"
# Firmware to use (iwl1000, iwl3945, iwl4965, iwl5000, iwl5150, iwl6000)
# Space separated list is supported,
# e.g. FIRMWARE="iwl3945 iwl5000"

View File

@ -98,6 +98,18 @@
# tosh-vt76f/flytv-prime/Medion-X10/imonknob/ultrax/dvico/MCE-X10)
REMOTE="mceusb"
# LCD driver to Use - Possible drivers are ( Comma seperated:
# bayrad,CFontz,CFontz633,CFontzPacket,CwLnx,ea65,
# EyeboxOne,g15,glcdlib,glk,hd44780,i2500vfd,icp_a106,imon,imonlcd,
# IOWarrior,irman,irtrans,joy,lb216,lcdm001,lcterm,lirc,lis,
# MD8800,ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD,picolcd,
# pyramid,sed1330,sed1520,serialPOS,serialVFD,shuttleVFD,sli,
# stv5730,SureElec,t6963,text,tyan,ula200,xosd
# 'all' compiles all drivers;
# 'all,!xxx,!yyy' de-selects previously selected drivers
# "none" for disable LCD support
LCD_DRIVER="all"
# Firmware to use (iwl1000, iwl3945, iwl4965, iwl5000, iwl5150, iwl6000)
# Space separated list is supported,
# e.g. FIRMWARE="iwl3945 iwl5000"

View File

@ -98,6 +98,18 @@
# tosh-vt76f/flytv-prime/Medion-X10/imonknob/ultrax/dvico/MCE-X10)
REMOTE="mceusb"
# LCD driver to Use - Possible drivers are ( Comma seperated:
# bayrad,CFontz,CFontz633,CFontzPacket,CwLnx,ea65,
# EyeboxOne,g15,glcdlib,glk,hd44780,i2500vfd,icp_a106,imon,imonlcd,
# IOWarrior,irman,irtrans,joy,lb216,lcdm001,lcterm,lirc,lis,
# MD8800,ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD,picolcd,
# pyramid,sed1330,sed1520,serialPOS,serialVFD,shuttleVFD,sli,
# stv5730,SureElec,t6963,text,tyan,ula200,xosd
# 'all' compiles all drivers;
# 'all,!xxx,!yyy' de-selects previously selected drivers
# "none" for disable LCD support
LCD_DRIVER="all"
# Firmware to use (iwl1000, iwl3945, iwl4965, iwl5000, iwl5150, iwl6000)
# Space separated list is supported,
# e.g. FIRMWARE="iwl3945 iwl5000"