freebsd-ports/multimedia/linux-huludesktop/files/huludesktop.in
Ion-Mihai Tetcu c33e3b646e Hulu Desktop is a "lean-back viewing experince", providing streaming TV and
movies directly from Hulu to your desktop without the need for a flash enabled
web browser. Hulu Desktop provides full access to the Hulu Library. Signup not
required except for viewing mature content.

Hulu content may not be available outside of the US.

WWW:	http://www.hulu.com/labs/hulu-desktop

PR:		ports/144707
Submitted by:	Joseph S. Atkinson <jsa at wickedmachine.net>
2010-03-13 12:08:33 +00:00

19 lines
476 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# This scripts attempts to locate Flash on behalf of the Hulu Desktop.
# Without this script, Hulu will be unable to find libflashplayer.so causing
# each user to manually configure ~/.huludesktop manually.
#
PREFIX="%%PREFIX%%"
if [ ! -e ~/.huludesktop ]
then
echo -e "[flash]" > ~/.huludesktop
echo -e "flash_location = `find ${PREFIX}/lib/npapi \
-type f -name libflashplayer.so`" >> ~/.huludesktop
fi
${PREFIX}/libexec/huludesktop.bin &