summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2008-11-04 00:06:05 +0000
committerSteve Dibb <beandog@gentoo.org>2008-11-04 00:06:05 +0000
commit8502b7635f08b54369d760e5bc84b233ece98111 (patch)
tree171919eecded0f6a6484e5a691e16bab272299f5 /media-libs
parentNew version for GNOME 2.24. Make use of libcanberra for system sounds, migrat... (diff)
downloadgentoo-2-8502b7635f08b54369d760e5bc84b233ece98111.tar.gz
gentoo-2-8502b7635f08b54369d760e5bc84b233ece98111.tar.bz2
gentoo-2-8502b7635f08b54369d760e5bc84b233ece98111.zip
Make win32codecs an optional dependency, in order to play older streams
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/realcodecs/ChangeLog8
-rw-r--r--media-libs/realcodecs/realcodecs-11.0.1.1056-r1.ebuild49
2 files changed, 56 insertions, 1 deletions
diff --git a/media-libs/realcodecs/ChangeLog b/media-libs/realcodecs/ChangeLog
index 82509d02dee9..652d236cd0b0 100644
--- a/media-libs/realcodecs/ChangeLog
+++ b/media-libs/realcodecs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/realcodecs
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/realcodecs/ChangeLog,v 1.3 2008/10/30 20:56:05 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/realcodecs/ChangeLog,v 1.4 2008/11/04 00:06:05 beandog Exp $
+
+*realcodecs-11.0.1.1056-r1 (04 Nov 2008)
+
+ 04 Nov 2008; Steve Dibb <beandog@gentoo.org>
+ +realcodecs-11.0.1.1056-r1.ebuild:
+ Make win32codecs an optional dependency, in order to play older streams
30 Oct 2008; Zac Medico <zmedico@gentoo.org>
realcodecs-11.0.1.1056.ebuild:
diff --git a/media-libs/realcodecs/realcodecs-11.0.1.1056-r1.ebuild b/media-libs/realcodecs/realcodecs-11.0.1.1056-r1.ebuild
new file mode 100644
index 000000000000..fdaaf6493507
--- /dev/null
+++ b/media-libs/realcodecs/realcodecs-11.0.1.1056-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/realcodecs/realcodecs-11.0.1.1056-r1.ebuild,v 1.1 2008/11/04 00:06:05 beandog Exp $
+
+inherit eutils rpm multilib
+
+EAPI="2"
+DESCRIPTION="Real Player audio and video binary codecs"
+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 strip test binchecks"
+LICENSE="HBRL"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE="win32codecs"
+RDEPEND="win32codecs? ( >=media-libs/win32codecs-20071007-r4[real] )
+ x86? ( =virtual/libstdc++-3.3* )
+ amd64? ( app-emulation/emul-linux-x86-compat )
+ !<media-video/realplayer-11.0.1.1056-r2"
+
+S="${WORKDIR}/opt/real/RealPlayer"
+
+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_install() {
+ dodir /opt/RealPlayer/
+
+ fperms 644 codecs/*
+ insinto "/opt/RealPlayer/codecs"
+ doins codecs/*
+
+ if use win32codecs; then
+ # We need symlinks to older codecs so that RealPlayer
+ # can play some streams, bug 240417
+ dosym /usr/$(get_libdir)/real/ddnt.so.6.0 \
+ /opt/RealPlayer/codecs/ddnt.so.6.0
+ dosym /usr/$(get_libdir)/real/dnet.so.6.0 \
+ /opt/RealPlayer/codecs/dnet.so.6.0
+ dosym /opt/RealPlayer/codecs/ddnt.so.6.0 \
+ /opt/RealPlayer/codecs/ddnt.so
+ dosym /opt/RealPlayer/codecs/dnet.so.6.0 \
+ /opt/RealPlayer/codecs/dnet.so
+ fi
+}