blob: 65765003d897560dd9d05c1a00e4ee9a6115bd10 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/win32codecs/win32codecs-20050115.ebuild,v 1.4 2005/03/29 04:06:17 chriswhite Exp $
DESCRIPTION="Win32 binary codecs for video and audio playback support"
SRC_URI="http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-${PV}.tar.bz2"
HOMEPAGE="http://www.mplayerhq.hu/"
LICENSE="as-is"
SLOT="0"
KEYWORDS="-* x86"
IUSE="quicktime real"
S=${WORKDIR}/all-${PV}
src_install() {
cd ${S}
mkdir -p ${D}/usr/lib/win32
if use real
then
mkdir -p ${D}/usr/lib/real
mv *so.6.0 ${D}/usr/lib/real
# fix bug #80321
ln -s ${D}/usr/lib/real/* ${D}/usr/lib/win32/
fi
if use quicktime
then
mv *.qtx *.qts qtmlClient.dll ${D}/usr/lib/win32
fi
mv *.dll *.ax *.xa *.acm *.vwp *.drv *.DLL ${D}/usr/lib/win32
}
|