From 9cf6f42ce3ccb50e98c16a27c6d3c1c3983b5df4 Mon Sep 17 00:00:00 2001 From: Steve Dibb Date: Wed, 29 Oct 2008 17:02:03 +0000 Subject: Keep real use flag, drop realplayer dep (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64) --- .../win32codecs/win32codecs-20071007-r4.ebuild | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 media-libs/win32codecs/win32codecs-20071007-r4.ebuild (limited to 'media-libs/win32codecs/win32codecs-20071007-r4.ebuild') diff --git a/media-libs/win32codecs/win32codecs-20071007-r4.ebuild b/media-libs/win32codecs/win32codecs-20071007-r4.ebuild new file mode 100644 index 000000000000..a838185beb75 --- /dev/null +++ b/media-libs/win32codecs/win32codecs-20071007-r4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/win32codecs/win32codecs-20071007-r4.ebuild,v 1.1 2008/10/29 17:02:03 beandog Exp $ + +inherit multilib + +DESCRIPTION="Windows 32-bit 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="real" + +RDEPEND="real? ( =virtual/libstdc++-3.3* )" + +S="${WORKDIR}/all-${PV}" + +RESTRICT="strip binchecks" + +pkg_setup() { + # This is a binary x86 package => ABI=x86 + # Please keep this in future versions + # Daniel Gryniewicz + has_multilib_profile && ABI="x86" +} + +src_install() { + # 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 + + doins *.dll *.ax *.xa *.acm *.vwp *.drv *.DLL + + dodoc README + + dodir /etc/revdep-rebuild + cat - > "${D}/etc/revdep-rebuild/50win32codecs" <