Lines 1-6
Link Here
|
1 |
# Copyright 1999-2005 Gentoo Foundation |
1 |
# Copyright 1999-2005 Gentoo Foundation |
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-video/transcode/transcode-0.6.14.ebuild,v 1.9 2005/01/23 22:23:03 luckyduck Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-0.6.14.ebuild,v 1.7 2005/01/22 03:18:15 eradicator Exp $ |
4 |
|
4 |
|
5 |
inherit libtool flag-o-matic eutils |
5 |
inherit libtool flag-o-matic eutils |
6 |
|
6 |
|
Lines 31-37
Link Here
|
31 |
lzo? ( >=dev-libs/lzo-1.08 ) |
31 |
lzo? ( >=dev-libs/lzo-1.08 ) |
32 |
fame? ( >=media-libs/libfame-0.9.1 ) |
32 |
fame? ( >=media-libs/libfame-0.9.1 ) |
33 |
imagemagick? ( >=media-gfx/imagemagick-5.5.6.0 ) |
33 |
imagemagick? ( >=media-gfx/imagemagick-5.5.6.0 ) |
34 |
media-libs/netpbm |
34 |
>=media-libs/netpbm-10.20 |
35 |
media-libs/libexif |
35 |
media-libs/libexif |
36 |
X? ( virtual/x11 ) |
36 |
X? ( virtual/x11 ) |
37 |
avi? ( >=media-video/avifile-0.7.41.20041001 ) |
37 |
avi? ( >=media-video/avifile-0.7.41.20041001 ) |
Lines 66-76
Link Here
|
66 |
[ -f ${ROOT}/usr/include/postproc/postprocess.h ] && \ |
66 |
[ -f ${ROOT}/usr/include/postproc/postprocess.h ] && \ |
67 |
myconf="${myconf} --with-libpostproc-builddir=${ROOT}/usr/$(get_libdir)" |
67 |
myconf="${myconf} --with-libpostproc-builddir=${ROOT}/usr/$(get_libdir)" |
68 |
|
68 |
|
|
|
69 |
#This is a kludge until 3dnow and sse2 work for other amd64 packages too |
70 |
# see also the !amd64 use in the econf section |
71 |
use amd64 \ |
72 |
&& myconf="${myconf} --enable-3dnow --enable-sse2" |
73 |
|
69 |
append-flags -DDCT_YUV_PRECISION=1 |
74 |
append-flags -DDCT_YUV_PRECISION=1 |
70 |
econf \ |
75 |
econf \ |
71 |
--with-mod-path=/usr/$(get_libdir)/transcode \ |
76 |
--with-mod-path=/usr/$(get_libdir)/transcode \ |
72 |
$(use_enable X x) \ |
77 |
$(use_enable X x) \ |
73 |
$(use_enable 3dnow) \ |
78 |
$(useq !amd64 && use_enable 3dnow) \ |
74 |
$(use_enable a52) \ |
79 |
$(use_enable a52) \ |
75 |
$(use_enable altivec) \ |
80 |
$(use_enable altivec) \ |
76 |
$(use_enable avi avifile) \ |
81 |
$(use_enable avi avifile) \ |
Lines 92-98
Link Here
|
92 |
$(use_enable quicktime libquicktime) \ |
97 |
$(use_enable quicktime libquicktime) \ |
93 |
$(use_enable sdl) \ |
98 |
$(use_enable sdl) \ |
94 |
$(use_enable sse) \ |
99 |
$(use_enable sse) \ |
95 |
$(use_enable sse2) \ |
100 |
$(useq !amd64 && use_enable sse2) \ |
96 |
$(use_enable theora) \ |
101 |
$(use_enable theora) \ |
97 |
$(use_enable v4l) \ |
102 |
$(use_enable v4l) \ |
98 |
$(use_enable static) \ |
103 |
$(use_enable static) \ |
Lines 113-116
Link Here
|
113 |
install || die |
118 |
install || die |
114 |
|
119 |
|
115 |
dodoc AUTHORS COPYING ChangeLog README TODO |
120 |
dodoc AUTHORS COPYING ChangeLog README TODO |
|
|
121 |
|
116 |
} |
122 |
} |