Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/libquicktime-1.2.3.ebuild,v 1.1 2011/07/05 21:37:10 aballier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/libquicktime-1.2.3.ebuild,v 1.1 2011/07/05 21:37:10 aballier Exp $ |
4 |
|
4 |
|
5 |
EAPI=1 |
5 |
EAPI=4 |
6 |
|
6 |
|
7 |
inherit libtool eutils |
7 |
inherit libtool eutils |
8 |
|
8 |
|
Lines 49-63
Link Here
|
49 |
|
49 |
|
50 |
S=${WORKDIR}/${MY_P} |
50 |
S=${WORKDIR}/${MY_P} |
51 |
|
51 |
|
52 |
src_unpack() { |
52 |
src_prepare() { |
53 |
unpack ${A} |
|
|
54 |
cd "${S}" |
55 |
|
56 |
# Needed for sane .so versionning on g/fbsd |
53 |
# Needed for sane .so versionning on g/fbsd |
57 |
elibtoolize |
54 |
elibtoolize |
58 |
} |
55 |
} |
59 |
|
56 |
|
60 |
src_compile() { |
57 |
src_configure() { |
61 |
local MY_OPTS="" |
58 |
local MY_OPTS="" |
62 |
if use !encode || use !aac; then |
59 |
if use !encode || use !aac; then |
63 |
MY_OPTS="--without-faac" |
60 |
MY_OPTS="--without-faac" |
Lines 82-95
Link Here
|
82 |
$(use_with opengl) \ |
79 |
$(use_with opengl) \ |
83 |
$(use_with schroedinger) \ |
80 |
$(use_with schroedinger) \ |
84 |
${MY_OPTS} \ |
81 |
${MY_OPTS} \ |
85 |
--without-cpuflags || die "econf failed" |
82 |
--without-cpuflags |
86 |
|
|
|
87 |
emake || die "emake failed" |
88 |
} |
83 |
} |
89 |
|
84 |
|
90 |
src_install() { |
85 |
src_install() { |
91 |
emake DESTDIR="${D}" install || die "emake install failed" |
86 |
default |
92 |
|
|
|
93 |
dodoc README TODO ChangeLog |
87 |
dodoc README TODO ChangeLog |
94 |
# Compatibility with software that uses quicktime prefix, but |
88 |
# Compatibility with software that uses quicktime prefix, but |
95 |
# don't do that when building for Darwin/MacOS |
89 |
# don't do that when building for Darwin/MacOS |