From ca9627e70852f6b2e835660df870fe3ab405882d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 1 Sep 2019 00:00:32 +0200 Subject: Initial import --- .../win32codecs/win32codecs-20071007-r5.ebuild | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 media-libs/win32codecs/win32codecs-20071007-r5.ebuild (limited to 'media-libs/win32codecs/win32codecs-20071007-r5.ebuild') diff --git a/media-libs/win32codecs/win32codecs-20071007-r5.ebuild b/media-libs/win32codecs/win32codecs-20071007-r5.ebuild new file mode 100644 index 0000000..b00d51a --- /dev/null +++ b/media-libs/win32codecs/win32codecs-20071007-r5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2013 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.6 2013/05/03 15:35:03 ulm 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 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-linux" +IUSE="real" + +RDEPEND="real? ( =virtual/libstdc++-3.3* )" + +S="${WORKDIR}/all-${PV}" + +RESTRICT="mirror 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() { + use prefix || EPREFIX= + + insinto /usr/$(get_libdir)/win32 + doins *.dll *.ax *.xa *.acm *.vwp *.drv *.DLL || die "Failed to install win32 codecs" + + if use real + then + insinto /usr/$(get_libdir)/real + doins *so.6.0 || die "Failed to install realplayer codecs" + + # copy newly introduced codecs from realplayer10 + # see the ChangeLog online + doins *.so || die "Failed to install realplayer10 codecs" + + # fix bug #80321 + local x + for x in *so.6.0 *.so; do + dosym ../real/$x /usr/$(get_libdir)/win32 || die "Failed to make symlink to $x" + done + fi + + dodoc README + + cat > "${T}/50${PN}" <