# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit nsplugins eutils SRC_URI="https://helixcommunity.org/beula/download?loc=/download.php/394/realplay-${PV}-linux-2.2-libc6-gcc32-i586.tar.bz2" S=${WORKDIR}/realplay-linux-2.2-libc6-gcc32-i586 DESCRIPTION="Real Player 10 Alpha" HOMEPAGE="https://player.helixcommunity.org" LICENSE="helixdna" SLOT="0" KEYWORDS="~x86" IUSE="kde gnome" DEPEND="virtual/x11 >=x11-libs/gtk+-2.2.0 media-libs/libvorbis media-libs/libogg media-libs/faad2 !media-video/helixplayer-bin" RESTRICT="nostrip fetch" src_unpack () { echo unpack noop } src_compile () { echo compile noop } src_install () { mkdir -p ${D}/opt/RealPlayer cd ${D}/opt/RealPlayer # Install the player tar xvjf ${DISTDIR}/${A} mkdir -p ${D}/usr/bin dosym /opt/RealPlayer/realplay /usr/bin/realplay # Install the Mozilla plugin inst_plugin /opt/RealPlayer/mozilla/nphelix.so inst_plugin /opt/RealPlayer/mozilla/nphelix.xpt # Desktop menu entry cp share/realplay/icon.png realplayer.png insinto /usr/share/pixmaps doins realplayer.png make_desktop_entry realplay "Real Player" realplayer.png AudioVideo }