summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2007-01-12 05:48:10 +0000
committerSteve Dibb <beandog@gentoo.org>2007-01-12 05:48:10 +0000
commit324741a4be9ae9839ec9688e6db16213f7fc1585 (patch)
tree821de8f35a0f8154bcd2a5dea78d36eff636e780
parentRemove mplayer-bin 'real' flag (diff)
downloadgentoo-2-324741a4be9ae9839ec9688e6db16213f7fc1585.tar.gz
gentoo-2-324741a4be9ae9839ec9688e6db16213f7fc1585.tar.bz2
gentoo-2-324741a4be9ae9839ec9688e6db16213f7fc1585.zip
Add realplayer support / dep for amd64
(Portage version: 2.1.2_rc4-r7)
-rw-r--r--media-libs/win32codecs/ChangeLog9
-rw-r--r--media-libs/win32codecs/files/digest-win32codecs-20060611-r13
-rw-r--r--media-libs/win32codecs/files/digest-win32codecs-20061022-r13
-rw-r--r--media-libs/win32codecs/win32codecs-20060611-r1.ebuild64
-rw-r--r--media-libs/win32codecs/win32codecs-20061022-r1.ebuild68
5 files changed, 146 insertions, 1 deletions
diff --git a/media-libs/win32codecs/ChangeLog b/media-libs/win32codecs/ChangeLog
index 6044dc8e5210..62daa5a29d6e 100644
--- a/media-libs/win32codecs/ChangeLog
+++ b/media-libs/win32codecs/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/win32codecs
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/win32codecs/ChangeLog,v 1.41 2007/01/06 20:23:59 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/win32codecs/ChangeLog,v 1.42 2007/01/12 05:48:09 beandog Exp $
+
+*win32codecs-20061022-r1 (12 Jan 2007)
+*win32codecs-20060611-r1 (12 Jan 2007)
+
+ 12 Jan 2007; Steve Dibb <beandog@gentoo.org>
+ +win32codecs-20060611-r1.ebuild, +win32codecs-20061022-r1.ebuild:
+ Add realplayer support / dep for amd64
06 Jan 2007; Steve Dibb <beandog@gentoo.org> win32codecs-20061022.ebuild:
Fix QA_TEXTRELS, strip
diff --git a/media-libs/win32codecs/files/digest-win32codecs-20060611-r1 b/media-libs/win32codecs/files/digest-win32codecs-20060611-r1
new file mode 100644
index 000000000000..6634298f6cbd
--- /dev/null
+++ b/media-libs/win32codecs/files/digest-win32codecs-20060611-r1
@@ -0,0 +1,3 @@
+MD5 0f2f5adfb539ef0a40fc72a2b46a0349 all-20060611.tar.bz2 13806629
+RMD160 5ff7cd67cf37323bafcbf361afd72b4526f1449b all-20060611.tar.bz2 13806629
+SHA256 7eae86ca5565fc93030a9f4299bd0d45ff195bf11e4ed24916c3f58b4102b589 all-20060611.tar.bz2 13806629
diff --git a/media-libs/win32codecs/files/digest-win32codecs-20061022-r1 b/media-libs/win32codecs/files/digest-win32codecs-20061022-r1
new file mode 100644
index 000000000000..2592179b3429
--- /dev/null
+++ b/media-libs/win32codecs/files/digest-win32codecs-20061022-r1
@@ -0,0 +1,3 @@
+MD5 cb4bb06ebc804f5dc4ec0ed516dc20d9 all-20061022.tar.bz2 13808014
+RMD160 4afd4e3d9265a74eb1f32280293484b22bf53e6c all-20061022.tar.bz2 13808014
+SHA256 01fcfbf635a0291f42f8ed0578b88c1ecfff3f17b176c3749e3a4c28bf1cb8e6 all-20061022.tar.bz2 13808014
diff --git a/media-libs/win32codecs/win32codecs-20060611-r1.ebuild b/media-libs/win32codecs/win32codecs-20060611-r1.ebuild
new file mode 100644
index 000000000000..94e425cff6d8
--- /dev/null
+++ b/media-libs/win32codecs/win32codecs-20060611-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/win32codecs/win32codecs-20060611-r1.ebuild,v 1.1 2007/01/12 05:48:09 beandog Exp $
+
+inherit multilib
+
+DESCRIPTION="Win32 binary codecs for video and audio playback support"
+SRC_URI="mirror://mplayer/releases/codecs/all-${PV}.tar.bz2"
+HOMEPAGE="http://www.mplayerhq.hu/"
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
+IUSE="quicktime real"
+
+RDEPEND="real? ( =virtual/libstdc++-3.3*
+ amd64? ( media-video/realplayer ) )"
+
+S="${WORKDIR}/all-${PV}"
+
+RESTRICT="strip"
+
+pkg_setup() {
+ # This is a binary x86 package => ABI=x86
+ # Please keep this in future versions
+ # Daniel Gryniewicz <dang@gentoo.org>
+ has_multilib_profile && ABI="x86"
+}
+
+src_install() {
+ cd ${S}
+
+ # see #83221
+ insopts -m0644
+ dodir /usr/$(get_libdir)/win32
+
+ if use real && !use amd64
+ then
+ dodir /usr/$(get_libdir)/real
+ insinto /usr/$(get_libdir)/real
+ doins *so.6.0
+
+ # copy newly introduced codecs from realplayer10
+ # see the ChangeLog online
+ doins *.so
+
+ # fix bug #80321
+ ln -s ${D}/usr/$(get_libdir)/real/* ${D}/usr/$(get_libdir)/win32/
+ fi
+
+ insinto /usr/$(get_libdir)/win32
+ if use quicktime
+ then
+ doins *.qtx *.qts qtmlClient.dll
+ fi
+
+ doins *.dll *.ax *.xa *.acm *.vwp *.drv *.DLL
+
+ dodoc README
+
+ dodir /etc/revdep-rebuild
+ cat - > "${D}/etc/revdep-rebuild/50win32codecs" <<EOF
+SEARCH_DIRS_MASK="/usr/$(get_libdir)/real /usr/$(get_libdir)/win32"
+EOF
+}
diff --git a/media-libs/win32codecs/win32codecs-20061022-r1.ebuild b/media-libs/win32codecs/win32codecs-20061022-r1.ebuild
new file mode 100644
index 000000000000..e82f706b39c0
--- /dev/null
+++ b/media-libs/win32codecs/win32codecs-20061022-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/win32codecs/win32codecs-20061022-r1.ebuild,v 1.1 2007/01/12 05:48:09 beandog Exp $
+
+inherit multilib
+
+DESCRIPTION="Win32 binary codecs for video and audio playback support"
+SRC_URI="mirror://mplayer/releases/codecs/all-${PV}.tar.bz2"
+HOMEPAGE="http://www.mplayerhq.hu/"
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
+IUSE="quicktime real"
+
+RDEPEND="real? ( =virtual/libstdc++-3.3*
+ amd64? ( media-video/realplayer ) )"
+
+S="${WORKDIR}/all-${PV}"
+
+RESTRICT="strip"
+
+QA_TEXTRELS="usr/$(get_libdir)/real/drvc.so
+ usr/$(get_libdir)/real/drv[34].so.6.0
+ usr/$(get_libdir)/win32/vid_*.xa"
+
+pkg_setup() {
+ # This is a binary x86 package => ABI=x86
+ # Please keep this in future versions
+ # Daniel Gryniewicz <dang@gentoo.org>
+ has_multilib_profile && ABI="x86"
+}
+
+src_install() {
+ cd ${S}
+
+ # see #83221
+ insopts -m0644
+ dodir /usr/$(get_libdir)/win32
+
+ if use real
+ then
+ dodir /usr/$(get_libdir)/real
+ insinto /usr/$(get_libdir)/real
+ doins *so.6.0
+
+ # copy newly introduced codecs from realplayer10
+ # see the ChangeLog online
+ doins *.so
+
+ # fix bug #80321
+ ln -s ${D}/usr/$(get_libdir)/real/* ${D}/usr/$(get_libdir)/win32/
+ fi
+
+ insinto /usr/$(get_libdir)/win32
+ if use quicktime
+ then
+ doins *.qtx *.qts qtmlClient.dll
+ fi
+
+ doins *.dll *.ax *.xa *.acm *.vwp *.drv *.DLL
+
+ dodoc README
+
+ dodir /etc/revdep-rebuild
+ cat - > "${D}/etc/revdep-rebuild/50win32codecs" <<EOF
+SEARCH_DIRS_MASK="/usr/$(get_libdir)/real /usr/$(get_libdir)/win32"
+EOF
+}