# 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" DESCRIPTION="Real Player 10 Beta" HOMEPAGE="https://player.helixcommunity.org" LICENSE="helixdna" SLOT="0" KEYWORDS="~x86" IUSE="" 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" S="${WORKDIR}/RealPlayer" src_install () { mkdir -p ${D}/opt cp -a ${S} ${D}/opt 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 insinto /usr/share/pixmaps newins ${S}/share/realplay/icon.xpm realplayer.xpm make_desktop_entry realplay "Real Player" realplayer.xpm AudioVideo }