public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-video/realplayer: ChangeLog realplayer-11.0.0.4028-r1.ebuild realplayer-11.0.0.4028.ebuild
@ 2008-08-08 17:33 Matthias Schwarzott (zzam)
  0 siblings, 0 replies; only message in thread
From: Matthias Schwarzott (zzam) @ 2008-08-08 17:33 UTC (permalink / raw
  To: gentoo-commits

zzam        08/08/08 17:33:20

  Modified:             ChangeLog
  Added:                realplayer-11.0.0.4028-r1.ebuild
  Removed:              realplayer-11.0.0.4028.ebuild
  Log:
  Make executable files really executable, Bug #233415.
  (Portage version: 2.2_rc6/cvs/Linux 2.6.25-tuxonice-r6 i686)

Revision  Changes    Path
1.69                 media-video/realplayer/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/realplayer/ChangeLog?rev=1.69&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/realplayer/ChangeLog?rev=1.69&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/realplayer/ChangeLog?r1=1.68&r2=1.69

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/realplayer/ChangeLog,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- ChangeLog	29 Jul 2008 15:04:03 -0000	1.68
+++ ChangeLog	8 Aug 2008 17:33:19 -0000	1.69
@@ -1,6 +1,12 @@
 # ChangeLog for media-video/realplayer
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/ChangeLog,v 1.68 2008/07/29 15:04:03 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/ChangeLog,v 1.69 2008/08/08 17:33:19 zzam Exp $
+
+*realplayer-11.0.0.4028-r1 (08 Aug 2008)
+
+  08 Aug 2008; Matthias Schwarzott <zzam@gentoo.org>
+  -realplayer-11.0.0.4028.ebuild, +realplayer-11.0.0.4028-r1.ebuild:
+  Make executable files really executable, Bug #233415.
 
   29 Jul 2008; Steve Dibb <beandog@gentoo.org>
   realplayer-11.0.0.4028.ebuild:



1.1                  media-video/realplayer/realplayer-11.0.0.4028-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/realplayer/realplayer-11.0.0.4028-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/realplayer/realplayer-11.0.0.4028-r1.ebuild?rev=1.1&content-type=text/plain

Index: realplayer-11.0.0.4028-r1.ebuild
===================================================================
# 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-r1.ebuild,v 1.1 2008/08/08 17:33:19 zzam Exp $

inherit nsplugins eutils rpm

MY_PN="RealPlayer"
DESCRIPTION="Real Media Player"
HOMEPAGE="http://www.real.com/ http://player.helixcommunity.org/"
SRC_URI="http://forms.real.com/real/player/download.html?f=unix/RealPlayer11GOLD.rpm"
RESTRICT="mirror"
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"

		# Make them executable, Bug #233415
		exeinto "/opt/${MY_PN}/"
		doexe realplay realplay.bin

		insinto "/opt/${MY_PN}/"
		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
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-08 17:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-08 17:33 [gentoo-commits] gentoo-x86 commit in media-video/realplayer: ChangeLog realplayer-11.0.0.4028-r1.ebuild realplayer-11.0.0.4028.ebuild Matthias Schwarzott (zzam)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox