summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2012-02-25 04:02:30 (GMT)
committerCecil <knoppmyth@gmail.com>2012-02-25 04:02:30 (GMT)
commit1368d6f38aea282a5cb8efb6126ebabad8213a9f (patch)
tree106bfda06a9e95c6616d472ad99353a80e0d37b0
parent53392efe0ab854054363b0b1a4b57eacee42d421 (diff)
downloadlinhes_pkgbuild-1368d6f38aea282a5cb8efb6126ebabad8213a9f.zip
linhes_pkgbuild-1368d6f38aea282a5cb8efb6126ebabad8213a9f.tar.gz
linhes_pkgbuild-1368d6f38aea282a5cb8efb6126ebabad8213a9f.tar.bz2
web-on-linhes:Version 1.00.0
-rw-r--r--abs/extra/web-on-linhes/PKGBUILD19
-rw-r--r--abs/extra/web-on-linhes/stop_xss.sh12
-rw-r--r--abs/extra/web-on-linhes/web-on-linhes.install (renamed from abs/extra/web-on-linhes/web-on-tv.install)28
-rw-r--r--abs/extra/web-on-linhes/web-on-linhes.sh11
4 files changed, 49 insertions, 21 deletions
diff --git a/abs/extra/web-on-linhes/PKGBUILD b/abs/extra/web-on-linhes/PKGBUILD
index cfa481c..2c9f185 100644
--- a/abs/extra/web-on-linhes/PKGBUILD
+++ b/abs/extra/web-on-linhes/PKGBUILD
@@ -2,15 +2,20 @@
# Maintainer: Cecil Watson<knoppmyth@gmail.com>
pkgname=web-on-linhes
-pkgver=0.01.0
-pkgrel=14
-pkgdesc="Added multiple websites with 10' UIs to Online Streams."
+pkgver=1.00.0
+pkgrel=1
+pkgdesc="Added multiple websites with 10' UIs to Play Online Streams."
arch=('i686' 'x86_64')
license=('GPL2')
url="http://www.linhes.org/"
depends=('chromium' 'flashplugin')
-install=web-on-tv.install
+install=web-on-linhes.install
+source=('stop_xss.sh' 'web-on-linhes.sh')
-#build() {
-#}
-md5sums=()
+build() {
+ cd ${srcdir}
+ install -d ${pkgdir}/usr/LH/bin
+ install -D -m755 *.sh ${pkgdir}/usr/LH/bin
+}
+md5sums=('3f5877b4b44b6fddb3b42491318c6441'
+ 'bf15498dcbdc3852aca9cccb0aacd913')
diff --git a/abs/extra/web-on-linhes/stop_xss.sh b/abs/extra/web-on-linhes/stop_xss.sh
new file mode 100644
index 0000000..5ed0ae1
--- /dev/null
+++ b/abs/extra/web-on-linhes/stop_xss.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+while [ 1=1 ];
+do
+
+ if [ "$(pidof chromium)" ]
+ then
+ xscreensaver-command -deactivate
+ fi
+ sleep 60
+
+done
diff --git a/abs/extra/web-on-linhes/web-on-tv.install b/abs/extra/web-on-linhes/web-on-linhes.install
index ca0f643..631806a 100644
--- a/abs/extra/web-on-linhes/web-on-tv.install
+++ b/abs/extra/web-on-linhes/web-on-linhes.install
@@ -6,7 +6,7 @@ post_install() {
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>Google Spotlight</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/bin/chromium --no-first-run --kiosk http://www.google.com/tv/spotlight-gallery.html</action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.google.com/tv/spotlight-gallery.html</action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
@@ -14,7 +14,7 @@ post_install() {
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>Blip tv</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/bin/chromium --no-first-run --kiosk http://blip.tv/?skin=googletv</action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://blip.tv/?skin=googletv</action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
@@ -22,7 +22,7 @@ post_install() {
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>Chow</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/bin/chromium --no-first-run --kiosk http://www.chow.com/tv</action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.chow.com/tv</action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
@@ -30,7 +30,7 @@ post_install() {
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>Clicker TV</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/bin/chromium --no-first-run --kiosk http://tv.clicker.com/</action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://tv.clicker.com/</action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
@@ -38,7 +38,7 @@ post_install() {
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>Crackle</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/bin/chromium --no-first-run --kiosk http://www.crackle.com/gtv/</action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.crackle.com/gtv/</action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
@@ -46,7 +46,7 @@ post_install() {
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>Dailymotion</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/bin/chromium --no-first-run --kiosk http://iptv-app.dailymotion.com/dm-front-googletv/dojoroot/app/pages/webkit/index.jsp?&amp;qlang=us</action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://iptv-app.dailymotion.com/dm-front-googletv/dojoroot/app/pages/webkit/index.jsp?&amp;qlang=us</action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
@@ -54,7 +54,7 @@ post_install() {
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>Flixster</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/bin/chromium --no-first-run --kiosk http://www.flixster.com/tv/google</action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.flixster.com/tv/google</action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
@@ -62,7 +62,7 @@ post_install() {
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>Fraboom</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/bin/chromium --no-first-run --kiosk http://fraboom.com/google/tv/ </action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://fraboom.com/google/tv/ </action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
@@ -70,7 +70,7 @@ post_install() {
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>KQED</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/bin/chromium --no-first-run --kiosk http://kqed.tv/</action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://kqed.tv/</action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
@@ -78,7 +78,7 @@ post_install() {
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>NowMov</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/bin/chromium --no-first-run --kiosk http://nowmov.com</action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://nowmov.com</action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
@@ -86,7 +86,7 @@ post_install() {
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>The Onion</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/bin/chromium --no-first-run --kiosk http://www.theonion.com/video/googletv/</action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.theonion.com/video/googletv/</action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
@@ -94,7 +94,7 @@ post_install() {
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>TuneIn </text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/bin/chromium --no-first-run --kiosk http://tv.tunein.com/</action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://tv.tunein.com/</action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
@@ -102,7 +102,7 @@ post_install() {
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>Vimeo</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/bin/chromium --no-first-run --kiosk http://www.vimeo.com/couchmode</action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.vimeo.com/couchmode</action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
@@ -110,7 +110,7 @@ post_install() {
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>YouTube</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/bin/chromium --no-first-run --kiosk http://www.youtube.com/leanback</action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/LH/bin/web-on-linhes.sh --no-first-run --kiosk http://www.youtube.com/leanback</action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
diff --git a/abs/extra/web-on-linhes/web-on-linhes.sh b/abs/extra/web-on-linhes/web-on-linhes.sh
new file mode 100644
index 0000000..11098ba
--- /dev/null
+++ b/abs/extra/web-on-linhes/web-on-linhes.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+#Script to facilitate Web On LinHES
+#Runs irxevent
+irxevent /home/mythtv/.mythtv/wol-lircrc &
+#Stops xscreensaver from running.
+stop_xss.sh &
+#Launches chromium in full screen
+chromium $@
+#Once done, stops irxevent and stop_xss.sh
+killall irxevent
+killall stop_xss.sh