From b524c30530ced5fec431f772a2addb60d2ffc629 Mon Sep 17 00:00:00 2001 From: Steve Dibb Date: Sun, 18 Feb 2007 15:43:29 +0000 Subject: [PATCH] Cleanup RESTRICT (strip, test), add more documentation, create symlinks of some codecs for mplayer-bin to find them correctly Package-Manager: portage-2.1.2-r9 --- media-video/realplayer/ChangeLog | 8 +- media-video/realplayer/Manifest | 15 ++- .../files/digest-realplayer-10.0.8-r2 | 3 + .../realplayer/realplayer-10.0.8-r2.ebuild | 104 ++++++++++++++++++ 4 files changed, 125 insertions(+), 5 deletions(-) create mode 100644 media-video/realplayer/files/digest-realplayer-10.0.8-r2 create mode 100644 media-video/realplayer/realplayer-10.0.8-r2.ebuild 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 +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 realplayer-10.0.8-r1.ebuild: Fix language resources install, bug 164992 diff --git a/media-video/realplayer/Manifest b/media-video/realplayer/Manifest index db14445e2737..970e0d806066 100644 --- a/media-video/realplayer/Manifest +++ b/media-video/realplayer/Manifest @@ -7,14 +7,18 @@ EBUILD realplayer-10.0.8-r1.ebuild 2600 RMD160 5e478ff6c30c440312bd5a18703b91906 MD5 f7e09470636a54856d26d581bf91d35a realplayer-10.0.8-r1.ebuild 2600 RMD160 5e478ff6c30c440312bd5a18703b91906b7a0869 realplayer-10.0.8-r1.ebuild 2600 SHA256 d16fe7ee6a577feaf873cb8e776aa43d26fc734f80471dcaab33313047682255 realplayer-10.0.8-r1.ebuild 2600 +EBUILD realplayer-10.0.8-r2.ebuild 2791 RMD160 87b02c8bf3e63644764904f9a0f4e8767ff1fca6 SHA1 74e1aea8c839ad019c39f69e0bc40d10a81d6096 SHA256 8aa4289e5b04668403e45f901196e204b78da53e0024a8ff5f625348320bbb00 +MD5 d047d5e2a5c73ace5eaea149f80be307 realplayer-10.0.8-r2.ebuild 2791 +RMD160 87b02c8bf3e63644764904f9a0f4e8767ff1fca6 realplayer-10.0.8-r2.ebuild 2791 +SHA256 8aa4289e5b04668403e45f901196e204b78da53e0024a8ff5f625348320bbb00 realplayer-10.0.8-r2.ebuild 2791 EBUILD realplayer-10.0.8.ebuild 2536 RMD160 e4d8518bfca42ca7c623269ca2cc3121671ce543 SHA1 7d2a47c8a41cb9815f955b1863443ea38f44fbe2 SHA256 3e46e2a96ab001fad5a56db69a3eaa778e3dfe5f90f9b05d82c190a4fdcbe87b MD5 075999d38a4bf9a82889d91e9b51250d realplayer-10.0.8.ebuild 2536 RMD160 e4d8518bfca42ca7c623269ca2cc3121671ce543 realplayer-10.0.8.ebuild 2536 SHA256 3e46e2a96ab001fad5a56db69a3eaa778e3dfe5f90f9b05d82c190a4fdcbe87b realplayer-10.0.8.ebuild 2536 -MISC ChangeLog 9366 RMD160 f8492c731f9ec8174ec96ecfed98046246c09f5c SHA1 e5c89ac69320c94def7e4ebe47184b7fc7fcd70d SHA256 5fbebf1c37f1d534d03d92e3dc700d904db92bf5b8488d1e4df1639a613b949f -MD5 b14f8e8845fb25e85dffbae5056d04ad ChangeLog 9366 -RMD160 f8492c731f9ec8174ec96ecfed98046246c09f5c ChangeLog 9366 -SHA256 5fbebf1c37f1d534d03d92e3dc700d904db92bf5b8488d1e4df1639a613b949f ChangeLog 9366 +MISC ChangeLog 9611 RMD160 40bb824b6fac8f6a7e2c43574212e7ac18f3c272 SHA1 578cda149a5dd2f0d9e5cff943271266528b5fba SHA256 8dc3057ce147698d8cd8e7d3659d6c284bec8aae21c03c93534415dcea28b4c3 +MD5 3d010ecf0729218d0ba8b382897f7f55 ChangeLog 9611 +RMD160 40bb824b6fac8f6a7e2c43574212e7ac18f3c272 ChangeLog 9611 +SHA256 8dc3057ce147698d8cd8e7d3659d6c284bec8aae21c03c93534415dcea28b4c3 ChangeLog 9611 MISC metadata.xml 223 RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 SHA1 ea8c387229caaf4b0d3c9fbef9143b70dcae0b0d SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812 MD5 0338bfb24d7bfb6450aac4dd025c0096 metadata.xml 223 RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 metadata.xml 223 @@ -25,3 +29,6 @@ SHA256 2405161f83904932af5083062ce417bf25b0eab74249e4464f1fad5b485c0a43 files/di MD5 1685ed0bfcb471c60f73664f5e9f82ff files/digest-realplayer-10.0.8-r1 301 RMD160 17fb6a2a96a255e3452ce769c892f051584d517e files/digest-realplayer-10.0.8-r1 301 SHA256 2405161f83904932af5083062ce417bf25b0eab74249e4464f1fad5b485c0a43 files/digest-realplayer-10.0.8-r1 301 +MD5 1685ed0bfcb471c60f73664f5e9f82ff files/digest-realplayer-10.0.8-r2 301 +RMD160 17fb6a2a96a255e3452ce769c892f051584d517e files/digest-realplayer-10.0.8-r2 301 +SHA256 2405161f83904932af5083062ce417bf25b0eab74249e4464f1fad5b485c0a43 files/digest-realplayer-10.0.8-r2 301 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 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 +} -- 2.26.2