summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/huludesktop/PKGBUILD13
-rw-r--r--abs/extra/huludesktop/huludesktop.install3
-rw-r--r--abs/extra/huludesktop/huludesktop.sh7
-rw-r--r--abs/extra/web-on-linhes/PKGBUILD9
-rw-r--r--abs/extra/web-on-linhes/stop_xss.sh12
-rw-r--r--abs/extra/web-on-linhes/web-on-linhes.install8
6 files changed, 21 insertions, 31 deletions
diff --git a/abs/extra/huludesktop/PKGBUILD b/abs/extra/huludesktop/PKGBUILD
index 0eec9b1..58cd1ca 100644
--- a/abs/extra/huludesktop/PKGBUILD
+++ b/abs/extra/huludesktop/PKGBUILD
@@ -1,22 +1,25 @@
pkgname=huludesktop
-pkgver=0.1
-pkgrel=9
+pkgver=0.2
+pkgrel=3
pkgdesc="Hulu Desktop for Linux"
arch=(i686)
url="http://www.hulu.com/labs/hulu-desktop-linux"
license=('unknown')
makedepends=('deb2targz')
-depends=('glib2' 'gtk2' 'lirc' 'flashplugin')
+depends=('glib2' 'gtk2' 'lirc' 'flashplugin' 'linhes-scripts>=7-29')
install=huludesktop.install
options=('')
-source=('http://download.hulu.com/huludesktop_i386.deb' 'huludesktop')
+source=('http://download.hulu.com/huludesktop_i386.deb' 'huludesktop' 'huludesktop.sh')
build() {
cd $startdir/src
deb2targz huludesktop_i386.deb
tar -xzvf huludesktop_i386.tar.gz -C $pkgdir
mkdir -p $pkgdir/home/mythtv
+ mkdir -p $pkgdir/usr/LH/bin
cp huludesktop $pkgdir/home/mythtv/.huludesktop
+ install -D -m755 huludesktop.sh ${pkgdir}/usr/LH/bin
}
md5sums=('d9b27d1837ab86526100964e80c3cdd1'
- 'fc6048cc2a6ee3b90808e0b757f0fc9b')
+ 'fc6048cc2a6ee3b90808e0b757f0fc9b'
+ '8f7dbf19d6168bc3a5b0c1da1c878693')
diff --git a/abs/extra/huludesktop/huludesktop.install b/abs/extra/huludesktop/huludesktop.install
index d2f72a7..33d3d3c 100644
--- a/abs/extra/huludesktop/huludesktop.install
+++ b/abs/extra/huludesktop/huludesktop.install
@@ -6,12 +6,13 @@ post_install() {
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>Hulu Desktop</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC huludesktop</action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC huludesktop.sh</action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#Hulu-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
echo "</mythmenu>" >> /tmp/is.xml.tmp
mv /tmp/is.xml.tmp /usr/share/mythtv/themes/defaultmenu/is.xml
+ chown mythtv.mythtv /home/mythtv/.huludesktop
}
# arg 1: the new package version
# arg 2: the old package version
diff --git a/abs/extra/huludesktop/huludesktop.sh b/abs/extra/huludesktop/huludesktop.sh
new file mode 100644
index 0000000..9095984
--- /dev/null
+++ b/abs/extra/huludesktop/huludesktop.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+#Stops xscreensaver from running.
+stop_xss.sh &
+#Launches chromium in full screen
+huludesktop
+#Once done, stop stop_xss.sh
+killall stop_xss.sh
diff --git a/abs/extra/web-on-linhes/PKGBUILD b/abs/extra/web-on-linhes/PKGBUILD
index 2c9f185..267dfe1 100644
--- a/abs/extra/web-on-linhes/PKGBUILD
+++ b/abs/extra/web-on-linhes/PKGBUILD
@@ -3,19 +3,18 @@
pkgname=web-on-linhes
pkgver=1.00.0
-pkgrel=1
+pkgrel=3
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')
+depends=('chromium' 'flashplugin' 'linhes-scripts>=7-29')
install=web-on-linhes.install
-source=('stop_xss.sh' 'web-on-linhes.sh')
+source=('web-on-linhes.sh')
build() {
cd ${srcdir}
install -d ${pkgdir}/usr/LH/bin
install -D -m755 *.sh ${pkgdir}/usr/LH/bin
}
-md5sums=('3f5877b4b44b6fddb3b42491318c6441'
- 'bf15498dcbdc3852aca9cccb0aacd913')
+md5sums=('bf15498dcbdc3852aca9cccb0aacd913')
diff --git a/abs/extra/web-on-linhes/stop_xss.sh b/abs/extra/web-on-linhes/stop_xss.sh
deleted file mode 100644
index 5ed0ae1..0000000
--- a/abs/extra/web-on-linhes/stop_xss.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/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-linhes.install b/abs/extra/web-on-linhes/web-on-linhes.install
index 631806a..c5f2c40 100644
--- a/abs/extra/web-on-linhes/web-on-linhes.install
+++ b/abs/extra/web-on-linhes/web-on-linhes.install
@@ -77,14 +77,6 @@ post_install() {
echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
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/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
- echo "<!--#WebOnTV-->" >> /tmp/is.xml.tmp
- 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/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