summaryrefslogtreecommitdiff
blob: 261a6681c0896c216c72d848019a303bf490e96b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/win32codecs/win32codecs-20050216.ebuild,v 1.7 2006/07/21 00:36:06 flameeyes Exp $


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="-* x86"
IUSE="quicktime real"

RDEPEND="real? ( =virtual/libstdc++-3.3* )"

S=${WORKDIR}/all-${PV}

src_install() {
	cd ${S}

	# see #83221
	insopts -m0644
	dodir /usr/lib/win32

	if use real
	then
		dodir /usr/lib/real
		insinto /usr/lib/real
		doins *so.6.0

		# copy newly introduced codecs from realplayer10
		# see the ChangeLog online
		doins *.so

		# fix bug #80321
		ln -s ${D}/usr/lib/real/* ${D}/usr/lib/win32/
	fi

	insinto /usr/lib/win32
	if use quicktime
	then
		doins *.qtx *.qts qtmlClient.dll
	fi

	doins *.dll *.ax *.xa *.acm *.vwp *.drv *.DLL

	dodoc README
}