1 |
drac 08/03/05 19:04:59 |
2 |
|
3 |
Added: moc-2.5.0_alpha3-faad2.patch |
4 |
Log: |
5 |
aac USE for media-libs/faad2 by Hendrik Iben, bug 211805. |
6 |
(Portage version: 2.1.4.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-sound/moc/files/moc-2.5.0_alpha3-faad2.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/moc/files/moc-2.5.0_alpha3-faad2.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/moc/files/moc-2.5.0_alpha3-faad2.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: moc-2.5.0_alpha3-faad2.patch |
15 |
=================================================================== |
16 |
--- configure.in.orig 2008-03-04 16:45:23.000000000 +0100 |
17 |
+++ configure.in 2008-03-04 16:34:10.000000000 +0100 |
18 |
@@ -276,12 +276,17 @@ |
19 |
AC_ARG_WITH(aac, AS_HELP_STRING(--without-aac,Compile without AAC support (libfaad2))) |
20 |
if test "x$with_aac" != "xno" |
21 |
then |
22 |
- AC_CHECK_LIB(faad, faacDecInit, [ |
23 |
- AC_CHECK_HEADER([faad.h], , |
24 |
- AC_MSG_ERROR([You need libfaad2 header file (libfaad2 devel package).])) |
25 |
- ]) |
26 |
+ faad2_OK="no" |
27 |
+ AC_CHECK_LIB(faad, faacDecInit, [faad2_OK="yes"], [ |
28 |
+ AC_CHECK_LIB(faad, NeAACDecInit, [faad2_OK="yes"], []) |
29 |
+ ]) |
30 |
+ |
31 |
+ if test "x$faad2_OK" = "xyes"; then |
32 |
+ AC_CHECK_HEADER([faad.h], , |
33 |
+ AC_MSG_ERROR([You need libfaad2 header file (libfaad2 devel package).])) |
34 |
+ fi |
35 |
|
36 |
- if test "$ac_cv_lib_faad_faacDecInit" = "yes" -a "$HAVE_ID3TAG" = "yes" |
37 |
+ if test "x$faad2_OK" = "xyes" -a "$HAVE_ID3TAG" = "yes" |
38 |
then |
39 |
FAAD2_LIBS="-lfaad" |
40 |
AC_SUBST([FAAD2_CFLAGS]) |
41 |
|
42 |
|
43 |
|
44 |
-- |
45 |
gentoo-commits@l.g.o mailing list |