summaryrefslogtreecommitdiff
blob: 018f0b35254fee9e737e44041c75585834b946fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/helixplayer-bin/helixplayer-bin-0.3.0.71.ebuild,v 1.5 2004/07/14 21:44:04 agriffis Exp $

inherit nsplugins

SRC_URI="hxplay-0.3.0.71-linux-2.2-libc6-gcc32-i586.tar.bz2"
S=${WORKDIR}/hxplay-linux-2.2-libc6-gcc32-i586
DESCRIPTION="Helix Player"

DOWNLOAD_URI="http://forms.helixcommunity.org/helixdnaclient/"
HOMEPAGE="https://player.helixcommunity.org"

LICENSE="realsdk"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="virtual/x11
		>=x11-libs/gtk+-2.2.0
		media-libs/libvorbis
		media-libs/libogg
		media-libs/faad2"

RESTRICT="nostrip fetch"

src_unpack() {
	if [ ! -f ${DISTDIR}/${A} ] ; then
		eerror "Please download ${A} from ${DOWNLOAD_URI} to ${DISTDIR}"
		die "Some source files were not found"
	fi
}

src_install () {
	mkdir -p ${D}/opt/HelixPlayer
	cd ${D}/opt/HelixPlayer

	# Install the player
	tar xvjf ${DISTDIR}/${A}
	mkdir -p ${D}/usr/bin
	dosym /opt/HelixPlayer/hxplay /usr/bin/hxplay

	# Install the Mozilla plugin
	inst_plugin /opt/HelixPlayer/mozilla/nphelix.so
	inst_plugin /opt/HelixPlayer/mozilla/nphelix.xpt
}