diff options
author | Steve Dibb <beandog@gentoo.org> | 2007-02-18 15:43:29 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2007-02-18 15:43:29 +0000 |
commit | f9482809654e220eb6962b8dbb21ea6b105855cd (patch) | |
tree | 5c6832cddd5ea1c153dbaaa2f3226fe7943187d0 /media-video | |
parent | Dropped ppc-macos keyword, see you in prefix (diff) | |
download | gentoo-2-f9482809654e220eb6962b8dbb21ea6b105855cd.tar.gz gentoo-2-f9482809654e220eb6962b8dbb21ea6b105855cd.tar.bz2 gentoo-2-f9482809654e220eb6962b8dbb21ea6b105855cd.zip |
Cleanup RESTRICT (strip, test), add more documentation, create symlinks of some codecs for mplayer-bin to find them correctly
(Portage version: 2.1.2-r9)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/realplayer/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/realplayer/files/digest-realplayer-10.0.8-r2 | 3 | ||||
-rw-r--r-- | media-video/realplayer/realplayer-10.0.8-r2.ebuild | 104 |
3 files changed, 114 insertions, 1 deletions
diff --git a/media-video/realplayer/ChangeLog b/media-video/realplayer/ChangeLog index 8246d5ef3261..139dd0945571 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.60 2007/02/14 14:38:51 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/ChangeLog,v 1.61 2007/02/18 15:43:29 beandog Exp $ + +*realplayer-10.0.8-r2 (18 Feb 2007) + + 18 Feb 2007; Steve Dibb <beandog@gentoo.org> +realplayer-10.0.8-r2.ebuild: + Cleanup RESTRICT (strip, test), add more documentation, create symlinks of + some codecs for mplayer-bin to find them correctly 14 Feb 2007; Steve Dibb <beandog@gentoo.org> realplayer-10.0.8-r1.ebuild: Fix language resources install, bug 164992 diff --git a/media-video/realplayer/files/digest-realplayer-10.0.8-r2 b/media-video/realplayer/files/digest-realplayer-10.0.8-r2 new file mode 100644 index 000000000000..f11bf8d9d596 --- /dev/null +++ b/media-video/realplayer/files/digest-realplayer-10.0.8-r2 @@ -0,0 +1,3 @@ +MD5 a768c2b90edd29ba005162da2da4e067 RealPlayer-10.0.8.805-20060718.i586.rpm 6649992 +RMD160 0467c73f478f286483d5bd3a71dab3d0afd8dfb8 RealPlayer-10.0.8.805-20060718.i586.rpm 6649992 +SHA256 792422449bc31c990b7a3fb3326ffee248db0813fc264547ec49bc2a547169ff RealPlayer-10.0.8.805-20060718.i586.rpm 6649992 diff --git a/media-video/realplayer/realplayer-10.0.8-r2.ebuild b/media-video/realplayer/realplayer-10.0.8-r2.ebuild new file mode 100644 index 000000000000..7047cd9bdcee --- /dev/null +++ b/media-video/realplayer/realplayer-10.0.8-r2.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/realplayer-10.0.8-r2.ebuild,v 1.1 2007/02/18 15:43:29 beandog Exp $ + +inherit nsplugins eutils rpm + +MY_PN="RealPlayer" +DESCRIPTION="Real Media Player" +HOMEPAGE="https://player.helixcommunity.org/2005/downloads/" +SRC_URI="https://helixcommunity.org/download.php/2152/${MY_PN}-${PV}.805-20060718.i586.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 nomirror test" + +QA_TEXTRELS="opt/RealPlayer/codecs/raac.so + opt/RealPlayer/codecs/cvt1.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/vidsite.so + opt/RealPlayer/plugins/oggfformat.so" + +S="${WORKDIR}/usr/local/${MY_PN}" + +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/* + for x in drvc drv2 atrc sipr; do + dosym ${x}.so /opt/${MY_PN}/codecs/${x}.so.6.0 + done + + cd ${S} + dodoc README + dohtml share/hxplay_help.html share/tigris.css + + if use X; then + for x in common lib mozilla plugins postinst realplay realplay.bin share; do + mv $x ${D}/opt/${MY_PN} + done; + + dodir /usr/bin + dosym /opt/${MY_PN}/realplay /usr/bin/realplay + + cd ${D}/opt/${MY_PN}/share + domenu realplay.desktop + + for res in 16 192 32 48; do + insinto /usr/share/icons/hicolor/${res}x${res}/apps + newins icons/realplay_${res}x${res}.png \ + realplay.png + done + + # mozilla plugin + if use nsplugin ; then + cd ${D}/opt/${MY_PN}/mozilla + exeinto /opt/netscape/plugins + doexe nphelix.so + inst_plugin /opt/netscape/plugins/nphelix.so + + insinto /opt/netscape/plugins + doins nphelix.xpt + inst_plugin /opt/netscape/plugins/nphelix.xpt + 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 + fi +} |