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>
19 lines
476 B
Bash
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 &
|