summaryrefslogtreecommitdiffstats
path: root/abs/extra/huludesktop
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/huludesktop')
-rw-r--r--abs/extra/huludesktop/PKGBUILD29
-rw-r--r--abs/extra/huludesktop/huludesktop10
-rw-r--r--abs/extra/huludesktop/huludesktop.install2
-rw-r--r--abs/extra/huludesktop/huludesktop_is.conf11
4 files changed, 28 insertions, 24 deletions
diff --git a/abs/extra/huludesktop/PKGBUILD b/abs/extra/huludesktop/PKGBUILD
index d47f165..c896f7e 100644
--- a/abs/extra/huludesktop/PKGBUILD
+++ b/abs/extra/huludesktop/PKGBUILD
@@ -1,30 +1,31 @@
pkgname=huludesktop
-pkgver=0.2
-pkgrel=6
+pkgver=0.9.8
+pkgrel=1
pkgdesc="Hulu Desktop for Linux"
-arch=(i686 'x86_64')
+arch=('x86_64')
url="http://www.hulu.com/labs/hulu-desktop-linux"
-license=('unknown')
-makedepends=('deb2targz')
-depends=('glib2' 'gtk2' 'lirc' 'flashplugin' 'linhes-scripts>=7-29' )
+license=('custom')
+depends=('glib2' 'gtk2' 'lirc' 'flashplugin')
backup=('home/mythtv/.huludesktop')
install=huludesktop.install
options=('')
-source=('http://download.hulu.com/huludesktop_i386.deb' 'huludesktop' 'huludesktop.sh' 'huludesktop_is.conf')
+source=('http://download.hulu.com/huludesktop_amd64.deb' 'huludesktop' 'huludesktop.sh' 'huludesktop_is.conf')
. /usr/MythVantage/bin/install_functions.sh
home_check
-build() {
- cd $startdir/src
- deb2targz huludesktop_i386.deb
- tar -xzvf huludesktop_i386.tar.gz -C $pkgdir
+
+package() {
+ cd $srcdir
+ ar p huludesktop_amd64.deb data.tar.gz | (cd $pkgdir; bsdtar xf -)
mkdir -p $pkgdir/$MYTHHOME
mkdir -p $pkgdir/usr/LH/bin
cp huludesktop $pkgdir/$MYTHHOME/.huludesktop
install -D -m755 huludesktop.sh ${pkgdir}/usr/LH/bin
+
#add in file for gen_is.xml
install -D -m0744 ${srcdir}/huludesktop_is.conf ${pkgdir}/etc/gen_is_xml.d/huludesktop_is.conf
}
-md5sums=('d9b27d1837ab86526100964e80c3cdd1'
- '935d923b90abaa4b1838a5e6b23e704e'
+
+md5sums=('bccc94d7f327989dab2653d254f40869'
+ '77b7241a4ec8402ba37f1f1811336ea3'
'8f7dbf19d6168bc3a5b0c1da1c878693'
- '36fb8d9af1ff8a0b8634e7dbddaf975f')
+ '224ed61a3ecfd6aa37d27d1c71426a3c')
diff --git a/abs/extra/huludesktop/huludesktop b/abs/extra/huludesktop/huludesktop
index c3fc9a5..dee8778 100644
--- a/abs/extra/huludesktop/huludesktop
+++ b/abs/extra/huludesktop/huludesktop
@@ -1,9 +1,9 @@
[display]
fullscreen = TRUE
-width = 1024
-height = 576
-pos_x = 201
-pos_y = 179
+width = 1920
+height = 1080
+pos_x = 0
+pos_y = 0
[remote]
lirc_device = /var/run/lirc/lircd
@@ -22,4 +22,4 @@ flash_location = /usr/lib/mozilla/plugins/libflashplayer.so
[version]
latest = (null)
-eula_version = 0
+eula_version = 1
diff --git a/abs/extra/huludesktop/huludesktop.install b/abs/extra/huludesktop/huludesktop.install
index e567a48..abe069f 100644
--- a/abs/extra/huludesktop/huludesktop.install
+++ b/abs/extra/huludesktop/huludesktop.install
@@ -2,11 +2,13 @@
post_install() {
gen_is_xml.py
chown mythtv.mythtv $MYTHHOME/.huludesktop
+ echo "Set your screen width and height in ~/.huludesktop to avoid a segfault."
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
gen_is_xml.py
+ echo "Set your screen width and height in ~/.huludesktop to avoid a segfault."
}
post_remove() {
gen_is_xml.py
diff --git a/abs/extra/huludesktop/huludesktop_is.conf b/abs/extra/huludesktop/huludesktop_is.conf
index dba4076..2a83db7 100644
--- a/abs/extra/huludesktop/huludesktop_is.conf
+++ b/abs/extra/huludesktop/huludesktop_is.conf
@@ -1,8 +1,9 @@
<!--#Hulu-->
- <button>
- <type>STREAM</type>
- <text>Hulu Desktop</text>
- <action>EXEC huludesktop.sh</action>
- </button>
+ <button>
+ <type>STREAM</type>
+ <text>Hulu Desktop</text>
+ <description>Open Hulu Desktop</description>
+ <action>EXEC huludesktop.sh</action>
+ </button>
<!--#Hulu-->