From: Steve Dibb Date: Mon, 8 Jan 2007 02:16:50 +0000 (+0000) Subject: Remove old version, cleanup ebuilds, add optional X use flag in new ebuild X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=44535ff0cbaaea44f152b57f60c1cdfdafbfff02;p=gentoo.git Remove old version, cleanup ebuilds, add optional X use flag in new ebuild Package-Manager: portage-2.1.2_rc4-r6 --- diff --git a/media-video/realplayer/ChangeLog b/media-video/realplayer/ChangeLog index 79a61ccba04e..11c353dc8d1a 100644 --- a/media-video/realplayer/ChangeLog +++ b/media-video/realplayer/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-video/realplayer -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/ChangeLog,v 1.57 2006/12/14 18:34:13 welp Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/ChangeLog,v 1.58 2007/01/08 02:16:50 beandog Exp $ + +*realplayer-10.0.8-r1 (08 Jan 2007) + + 08 Jan 2007; Steve Dibb metadata.xml, + -realplayer-10.0.7.ebuild, realplayer-10.0.8.ebuild, + +realplayer-10.0.8-r1.ebuild: + Remove old version, cleanup ebuilds, add optional X use flag in new ebuild 14 Dec 2006; Peter Weller realplayer-10.0.8.ebuild: Added amd64 keyword wrt bug #158041 diff --git a/media-video/realplayer/files/digest-realplayer-10.0.8-r1 b/media-video/realplayer/files/digest-realplayer-10.0.8-r1 new file mode 100644 index 000000000000..f11bf8d9d596 --- /dev/null +++ b/media-video/realplayer/files/digest-realplayer-10.0.8-r1 @@ -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-r1.ebuild b/media-video/realplayer/realplayer-10.0.8-r1.ebuild new file mode 100644 index 000000000000..d5a27e7804c7 --- /dev/null +++ b/media-video/realplayer/realplayer-10.0.8-r1.ebuild @@ -0,0 +1,96 @@ +# 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-r1.ebuild,v 1.1 2007/01/08 02:16:50 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="nostrip nomirror" + +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 + + sed -i -e 's:realplay.png:realplay:' ${S}/share/realplay.desktop +} + +src_install() { + dodir /opt/${MY_PN} + mv codecs ${D}/opt/${MY_PN} + + dodoc README + + 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 + 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 +} diff --git a/media-video/realplayer/realplayer-10.0.8.ebuild b/media-video/realplayer/realplayer-10.0.8.ebuild index 14a4350e16ea..96031a35af6b 100644 --- a/media-video/realplayer/realplayer-10.0.8.ebuild +++ b/media-video/realplayer/realplayer-10.0.8.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# 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.ebuild,v 1.5 2006/12/14 18:34:13 welp Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/realplayer-10.0.8.ebuild,v 1.6 2007/01/08 02:16:50 beandog Exp $ inherit nsplugins eutils rpm @@ -29,12 +29,18 @@ RDEPEND="!amd64? ( DEPEND="${RDEPEND}" RESTRICT="nostrip nomirror" -QA_TEXTRELS="" -for f in codecs/{raac,cvt1,colorcvt,drv2,drvc}.so plugins/{theorarend,vorbisrend,swfrender,vidsite,oggfformat}.so ; do - QA_TEXTRELS="${QA_TEXTRELS} opt/RealPlayer/${f}" -done +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} +S="${WORKDIR}/usr/local/${MY_PN}" pkg_setup() { # This is a binary x86 package => ABI=x86