summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-12-07 16:41:21 +0000
committerMike Frysinger <vapier@gentoo.org>2009-12-07 16:41:21 +0000
commit76c1305f81c05530f07056de0f63c6a5db5d9db5 (patch)
tree1fff17275c507d2cba793f1873756cd9df780b91 /media-tv
parenthulu (diff)
downloadgentoo-2-76c1305f81c05530f07056de0f63c6a5db5d9db5.tar.gz
gentoo-2-76c1305f81c05530f07056de0f63c6a5db5d9db5.tar.bz2
gentoo-2-76c1305f81c05530f07056de0f63c6a5db5d9db5.zip
New package #288372.
(Portage version: 2.2_rc55/cvs/Linux x86_64)
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/huludesktop/ChangeLog10
-rwxr-xr-xmedia-tv/huludesktop/files/huludesktop8
-rw-r--r--media-tv/huludesktop/huludesktop-0.9.6.ebuild44
-rw-r--r--media-tv/huludesktop/metadata.xml8
4 files changed, 70 insertions, 0 deletions
diff --git a/media-tv/huludesktop/ChangeLog b/media-tv/huludesktop/ChangeLog
new file mode 100644
index 000000000000..2ad45590c3c1
--- /dev/null
+++ b/media-tv/huludesktop/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-tv/huludesktop
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/huludesktop/ChangeLog,v 1.1 2009/12/07 16:41:20 vapier Exp $
+
+*huludesktop-0.9.6 (07 Dec 2009)
+
+ 07 Dec 2009; Mike Frysinger <vapier@gentoo.org> +huludesktop-0.9.6.ebuild,
+ +files/huludesktop, +metadata.xml:
+ New package #288372.
+
diff --git a/media-tv/huludesktop/files/huludesktop b/media-tv/huludesktop/files/huludesktop
new file mode 100755
index 000000000000..b36fbaa143ad
--- /dev/null
+++ b/media-tv/huludesktop/files/huludesktop
@@ -0,0 +1,8 @@
+#!/bin/sh
+if [ ! -e ~/.huludesktop ] ; then
+ cat <<-EOF > ~/.huludesktop
+ [flash]
+ flash_location = /opt/netscape/plugins/libflashplayer.so
+ EOF
+fi
+exec /opt/bin/huludesktop.bin "$@"
diff --git a/media-tv/huludesktop/huludesktop-0.9.6.ebuild b/media-tv/huludesktop/huludesktop-0.9.6.ebuild
new file mode 100644
index 000000000000..b5d73ca2c299
--- /dev/null
+++ b/media-tv/huludesktop/huludesktop-0.9.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/huludesktop/huludesktop-0.9.6.ebuild,v 1.1 2009/12/07 16:41:20 vapier Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="Hulu desktop"
+HOMEPAGE="http://www.hulu.com/labs/hulu-desktop-linux"
+SRC_URI="amd64? ( http://download.hulu.com/${PN}_amd64.deb -> ${P}_amd64.deb )
+ x86? ( http://download.hulu.com/${PN}_i386.deb -> ${P}_i386.deb )"
+
+LICENSE="Hulu-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="lirc"
+RESTRICT="mirror strip"
+
+RDEPEND="sys-libs/glibc
+ sys-libs/zlib
+ www-plugins/adobe-flash
+ x11-libs/gtk+:2
+ dev-libs/glib:2
+ lirc? ( app-misc/lirc )"
+
+QA_EXECSTACK="opt/bin/huludesktop.bin"
+
+src_unpack() {
+ unpack ${A} ./data.tar.gz
+}
+
+src_install() {
+ insinto /etc/${PN}
+ doins etc/${PN}/hd_keymap.ini || die
+
+ dobin "${FILESDIR}"/${PN} || die
+ into /opt
+ newbin usr/bin/${PN} ${PN}.bin || die
+
+ domenu usr/share/applications/${PN}.desktop || die
+ doicon usr/share/pixmaps/${PN}.png || die
+ dodoc usr/share/doc/${PN}/README || die
+}
diff --git a/media-tv/huludesktop/metadata.xml b/media-tv/huludesktop/metadata.xml
new file mode 100644
index 000000000000..04cfecd9dc9b
--- /dev/null
+++ b/media-tv/huludesktop/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>vapier@gentoo.org</email>
+</maintainer>
+</pkgmetadata>