diff options
author | Cecil <knoppmyth@gmail.com> | 2012-02-28 00:39:22 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2012-02-28 00:39:22 (GMT) |
commit | 080719adc31ac11a362f14b26b1c3e55d4a32469 (patch) | |
tree | 7758ecaf033fdbb3da9f236a89bfe522c527488a /abs/extra | |
parent | 8bb6db55e2e19cbf441de77fc4616531afe717df (diff) | |
download | linhes_pkgbuild-080719adc31ac11a362f14b26b1c3e55d4a32469.zip linhes_pkgbuild-080719adc31ac11a362f14b26b1c3e55d4a32469.tar.gz linhes_pkgbuild-080719adc31ac11a362f14b26b1c3e55d4a32469.tar.bz2 |
huludesktop:Ensure .huludesktop is owned by mythtv. Runs hulu desktop from a script that also stops xscreensaver from starting.
Diffstat (limited to 'abs/extra')
-rw-r--r-- | abs/extra/huludesktop/PKGBUILD | 13 | ||||
-rw-r--r-- | abs/extra/huludesktop/huludesktop.install | 3 | ||||
-rw-r--r-- | abs/extra/huludesktop/huludesktop.sh | 7 |
3 files changed, 17 insertions, 6 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 |