Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2010 23:15:52 GMT
From:      "Joseph S. Atkinson" <jsa@wickedmachine.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/144707: NEW PORT: multimedia/linux-huludesktop
Message-ID:  <201003122315.o2CNFq3x096145@www.freebsd.org>
Resent-Message-ID: <201003122320.o2CNK1pJ039705@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         144707
>Category:       ports
>Synopsis:       NEW PORT: multimedia/linux-huludesktop
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 12 23:20:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Joseph S. Atkinson
>Release:        
>Organization:
>Environment:
>Description:
Hulu Desktop is an application that streams content from the "Hulu Library" (http://www.hulu.com/) to your desktop without the need for a flash enabled web browser.
>How-To-Repeat:

>Fix:
This shar contains LEGAL.diff which should be applied to ${PORTSDIR}/LEGAL due to license restrictions on the software.

All other contents belong in ${PORTSDIR}/mulitmedia.

Thanks to gcooper@ and nox@ for the ${CLUE}.
Thanks to itetcu@ for the preliminary review and feedback.
Thanks to my wife for putting up with me.

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	LEGAL.diff
#	linux-huludesktop/Makefile
#	linux-huludesktop/distinfo
#	linux-huludesktop/files/huludesktop.in
#	linux-huludesktop/pkg-descr
#	linux-huludesktop/pkg-plist
#
echo x - LEGAL.diff
sed 's/^X//' >LEGAL.diff << 'd45f707a434934f14def816f12a864da'
X--- /usr/ports/LEGAL	2010-02-13 04:18:17.000000000 -0500
X+++ LEGAL	2010-03-12 17:58:15.000000000 -0500
X@@ -279,6 +279,9 @@
X 						resale
X httprint_freebsd_*.zip	security/httprint	No cost for personal, education
X 						and non-commercial use
X+huludesktop-i386.rpm	multimedia/linux-huludesktop No redistribution allowed,
X+						not for commercial use, export
X+						controlled
X HyperSpec-*.tar.gz	devel/clisp-hyperspec	Commercial redistribution
X 						prohibited
X ICON-AquaFusion.*	x11-themes/gnome-icons-aqua-fusion Author rights unclear
d45f707a434934f14def816f12a864da
echo x - linux-huludesktop/Makefile
sed 's/^X//' >linux-huludesktop/Makefile << 'b8e0b5e6feae342eecae5704162cbe3b'
X# New ports collection makefile for:	multimedia/linux-huludesktop
X# Date created:			2010-02-22
X# Whom:				Joseph S. Atkinson <jsa@wickedmachine.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	huludesktop
XPORTVERSION=	0.9.7
XCATEGORIES=	multimedia linux
XMASTER_SITES=	http://download.hulu.com/
XPKGNAMEPREFIX=	linux-
XDISTNAME=	${PORTNAME}-${LINUX_RPM_ARCH}
XEXTRACT_SUFX=	.rpm
X
XMAINTAINER=	jsa@wickedmachine.net
XCOMMENT=	Streaming video client for TV and movies on Hulu.com
X
XONLY_FOR_ARCHS=	i386 amd64
XLINUX_RPM_ARCH=	i386
X
XUSE_LINUX=	f10
XNO_BUILD=	yes
X
XRPM2CPIO?=	${LOCALBASE}/bin/rpm2cpio
XFLASHPLUGIN=	linux-${USE_LINUX}-flashplugin
XFLASHPATH=	${LOCALBASE}/lib/npapi/${FLASHPLUGIN}/libflashplayer.so
XEXTRACT_DEPENDS+=	${RPM2CPIO}:${PORTSDIR}/archivers/rpm
XRUN_DEPENDS+=	${FLASHPATH}:${PORTSDIR}/www/${FLASHPLUGIN}10
X
XRESTRICTED=	Non-redistributable, non-commercial, export controlled
X
XSUB_FILES=	${PORTNAME}
X
X.include <bsd.port.pre.mk>
X
Xdo-extract:
X	${MKDIR} ${WRKSRC}
X	${RPM2CPIO} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
X		${TAR} xf - -C ${WRKSRC}
X
Xdo-install:
X	${MKDIR} ${PREFIX}/etc/${PORTNAME} \
X		${PREFIX}/share/applications
X	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
X	${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/${PORTNAME} \
X		${PREFIX}/libexec/${PORTNAME}.bin
X	${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}/hd_keymap.ini \
X		${PREFIX}/etc/${PORTNAME}
X.	for FILE in applications/${PORTNAME}.desktop pixmaps/${PORTNAME}.png
X		${INSTALL_DATA} ${WRKSRC}/usr/share/${FILE} \
X			${PREFIX}/share/${FILE}
X.	endfor
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.	for FILE in EULA LICENSE README
X		${INSTALL_DATA} ${WRKSRC}/usr/share/doc/${PORTNAME}/${FILE} \
X			${DOCSDIR}
X.	endfor
X.endif
X
X.include <bsd.port.post.mk>
b8e0b5e6feae342eecae5704162cbe3b
echo x - linux-huludesktop/distinfo
sed 's/^X//' >linux-huludesktop/distinfo << '31f9e2fdd645ece4e9ae4d6192db9459'
XMD5 (huludesktop-i386.rpm) = a16f2fb4cf9dc80ac8dfbe9396002b98
XSHA256 (huludesktop-i386.rpm) = 5d44e8098cd0ba0544ac57d42f19b82ef2303d6c56c8982bd42d872bc9bde08f
XSIZE (huludesktop-i386.rpm) = 557823
31f9e2fdd645ece4e9ae4d6192db9459
echo x - linux-huludesktop/files/huludesktop.in
sed 's/^X//' >linux-huludesktop/files/huludesktop.in << '8b79dacbfa0e5ba0670b5e58462ec8bf'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X# This scripts attempts to locate Flash on behalf of the Hulu Desktop.
X# Without this script, Hulu will be unable to find libflashplayer.so causing
X# each user to manually configure ~/.huludesktop manually.
X#
X
XPREFIX="%%PREFIX%%"
X
Xif [ ! -e ~/.huludesktop ]
X	then
X	echo -e "[flash]" > ~/.huludesktop
X	echo -e "flash_location = `find ${PREFIX}/lib/npapi \
X		-type f -name libflashplayer.so`" >> ~/.huludesktop 
Xfi
X
X${PREFIX}/libexec/huludesktop.bin &
8b79dacbfa0e5ba0670b5e58462ec8bf
echo x - linux-huludesktop/pkg-descr
sed 's/^X//' >linux-huludesktop/pkg-descr << 'ef3a140b199db575bfcb4d4c637994a3'
XHulu Desktop is a "lean-back viewing experince", providing streaming TV and
Xmovies directly from Hulu to your desktop without the need for a flash enabled
Xweb browser. Hulu Desktop provides full access to the Hulu Library. Signup not
Xrequired except for viewing mature content.
X
XHulu content may not be available outside of the US.
X
XWWW:	http://www.hulu.com/labs/hulu-desktop
ef3a140b199db575bfcb4d4c637994a3
echo x - linux-huludesktop/pkg-plist
sed 's/^X//' >linux-huludesktop/pkg-plist << '4d73d9502be47bb70092282704b2a4fb'
Xbin/huludesktop
Xetc/huludesktop/hd_keymap.ini
Xlibexec/huludesktop.bin
Xshare/applications/huludesktop.desktop
Xshare/pixmaps/huludesktop.png
X%%PORTDOCS%%%%DOCSDIR%%/EULA
X%%PORTDOCS%%%%DOCSDIR%%/LICENSE
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@dirrmtry share/applications
X@dirrm etc/huludesktop
4d73d9502be47bb70092282704b2a4fb
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003122315.o2CNFq3x096145>