diff options
author | Steve Dibb <beandog@gentoo.org> | 2008-06-01 21:32:05 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2008-06-01 21:32:05 +0000 |
commit | ff92e8572ff1e5537c3d835f0c0779d1a0760a6a (patch) | |
tree | 852615de12e115171255e702459a8b6bbb17dc9d /media-video/realplayer | |
parent | p.mask realplayer 11 for testing (diff) | |
download | gentoo-2-ff92e8572ff1e5537c3d835f0c0779d1a0760a6a.tar.gz gentoo-2-ff92e8572ff1e5537c3d835f0c0779d1a0760a6a.tar.bz2 gentoo-2-ff92e8572ff1e5537c3d835f0c0779d1a0760a6a.zip |
Version bump, bug 217429
(Portage version: 2.1.5)
Diffstat (limited to 'media-video/realplayer')
-rw-r--r-- | media-video/realplayer/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/realplayer/realplayer-11.0.0.4028.ebuild | 115 |
2 files changed, 123 insertions, 2 deletions
diff --git a/media-video/realplayer/ChangeLog b/media-video/realplayer/ChangeLog index 3e48397a99c2..37ef512b3ffb 100644 --- a/media-video/realplayer/ChangeLog +++ b/media-video/realplayer/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/realplayer -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/ChangeLog,v 1.66 2007/11/27 11:52:59 zzam Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/ChangeLog,v 1.67 2008/06/01 21:32:05 beandog Exp $ + +*realplayer-11.0.0.4028 (01 Jun 2008) + + 01 Jun 2008; Steve Dibb <beandog@gentoo.org> + +realplayer-11.0.0.4028.ebuild: + Version bump, bug 217429 27 Nov 2007; Matthias Schwarzott <zzam@gentoo.org> realplayer-10.0.9.ebuild: diff --git a/media-video/realplayer/realplayer-11.0.0.4028.ebuild b/media-video/realplayer/realplayer-11.0.0.4028.ebuild new file mode 100644 index 000000000000..1e077b776eab --- /dev/null +++ b/media-video/realplayer/realplayer-11.0.0.4028.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/realplayer-11.0.0.4028.ebuild,v 1.1 2008/06/01 21:32:05 beandog Exp $ + +inherit nsplugins eutils rpm + +MY_PN="RealPlayer" +DESCRIPTION="Real Media Player" +HOMEPAGE="http://www.real.com/ http://player.helixcommunity.org/" +SRC_URI="href=http://forms.real.com/real/player/download.html?f=unix/RealPlayer11GOLD.rpm" +LICENSE="HBRL" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="X nsplugin" +RDEPEND="!amd64? ( + X? ( >=dev-libs/glib-2 + >=x11-libs/pango-1.2 + >=x11-libs/gtk+-2.2 ) + =virtual/libstdc++-3.3* + ) + amd64? ( + X? ( app-emulation/emul-linux-x86-gtklibs ) + app-emulation/emul-linux-x86-compat + )" +RESTRICT="strip test" + +QA_TEXTRELS="opt/RealPlayer/codecs/raac.so + opt/RealPlayer/codecs/colorcvt.so + opt/RealPlayer/codecs/drv2.so + opt/RealPlayer/codecs/drvc.so + opt/RealPlayer/plugins/theorarend.so + opt/RealPlayer/plugins/vorbisrend.so + opt/RealPlayer/plugins/swfrender.so + opt/RealPlayer/plugins/oggfformat.so" + +S="${WORKDIR}/opt/real/${MY_PN}" + +pkg_nofetch() { + einfo "Download RealPlayer manually from Real's website at" + einfo ${HOMEPAGE} + einfo "" + einfo "Choose Linux/x86 Releases: RealPlayer 10.0.9 Gold: RPM" + einfo "https://helixcommunity.org/projects/player/files/download/2479" + einfo "" + einfo "Then place the file ${SRC_URI}" + einfo "into ${DISTDIR} and restart the emerge." +} + +pkg_setup() { + # This is a binary x86 package => ABI=x86 + # Please keep this in future versions + # Danny van Dyk <kugelfang@gentoo.org> 2005/03/26 + has_multilib_profile && ABI="x86" +} + +src_unpack() { + rpm_src_unpack + + dosed -i -e 's:realplay.png:realplay:' "${S}"/share/realplay.desktop +} + +src_install() { + dodir /opt/${MY_PN} + + fperms 644 codecs/* + insinto "/opt/${MY_PN}/codecs" + doins codecs/* + + cd "${S}" + + if use X; then + + rm "${S}/share/distcode" + + insinto "/opt/${MY_PN}/" + doins realplay realplay.bin + for x in common mozilla plugins share; do + doins -r "${S}/${x}" + done; + + domenu "${S}/share/realplay.desktop" + + for res in 16 32 48 192; do + insinto /usr/share/icons/hicolor/${res}x${res}/apps + newins "${S}/share/icons/realplay_${res}x${res}.png" \ + realplay.png + done + + # mozilla plugin + if use nsplugin ; then + exeinto /opt/netscape/plugins + doexe "${S}/mozilla/nphelix.so" + inst_plugin /opt/netscape/plugins/nphelix.so + + insinto /opt/netscape/plugins + doins "${S}/mozilla/nphelix.xpt" + inst_plugin /opt/netscape/plugins/nphelix.xpt + fi + + dodir /usr/bin + dosym "/opt/${MY_PN}/realplay" /usr/bin/realplay + fi + + # Language resources + cd "${D}"/opt/RealPlayer/share/locale + for LC in *; do + mkdir -p "${D}"/usr/share/locale/${LC}/LC_MESSAGES + dosym /opt/RealPlayer/share/locale/${LC}/player.mo /usr/share/locale/${LC}/LC_MESSAGES/realplay.mo + dosym /opt/RealPlayer/share/locale/${LC}/widget.mo /usr/share/locale/${LC}/LC_MESSAGES/libgtkhx.mo + done + + cd "${S}" + dodoc README + dohtml share/hxplay_help.html share/tigris.css +} |