mirror of
https://github.com/libretro/Lakka.git
synced 2024-12-04 14:18:33 +00:00
new package:
- add initial lcdproc support
This commit is contained in:
parent
1fd85e592c
commit
04aba781e2
@ -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
19
packages/sysutils/lcdproc/build
Executable 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
|
20
packages/sysutils/lcdproc/init.d/33_lcdproc
Executable file
20
packages/sysutils/lcdproc/init.d/33_lcdproc
Executable 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
|
||||
|
||||
)&
|
24
packages/sysutils/lcdproc/install
Executable file
24
packages/sysutils/lcdproc/install
Executable 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
|
1
packages/sysutils/lcdproc/url
Normal file
1
packages/sysutils/lcdproc/url
Normal file
@ -0,0 +1 @@
|
||||
http://sources.openelec.tv/svn/lcdproc-20100423.tar.bz2
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user