blob: 9df9d001ee54dc1c282e2499758f43035ba80e78 (
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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/quicktime4linux/quicktime4linux-1.6.2.ebuild,v 1.11 2005/05/02 08:45:26 flameeyes Exp $
inherit flag-o-matic eutils
PATCHLEVEL="2"
DESCRIPTION="quicktime library for linux"
HOMEPAGE="http://heroinewarrior.com/quicktime.php3"
SRC_URI="mirror://sourceforge/heroines/${P}-src.tar.bz2
http://digilander.libero.it/dgp85/${PN}-patches-${PATCHLEVEL}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~amd64"
IUSE=""
DEPEND="media-libs/jpeg
media-libs/libpng
>=media-libs/libmpeg3-1.5.1
!media-libs/libquicktime"
PROVIDE="virtual/quicktime"
src_unpack() {
unpack ${A}
cd ${S}
EPATCH_SUFFIX="patch" epatch ${WORKDIR}/${PV}
if [[ "${ARCH}" == "ppc" ]]; then
find ${S} -name 'Makefile*' -o -name 'configure*' | \
xargs sed -i -e 's:-mno-ieee-fp::g'
fi
}
src_compile() {
append-flags -I${S}/libdv-0.98/libdv -I${S}/libdv-0.98
make || die
make util || die
}
src_install() {
dolib.so `uname -m`/libquicktime.so
dolib.a `uname -m`/libquicktime.a
insinto /usr/include/quicktime
doins *.h
dodoc README
dohtml -r docs
}
|