|
Lines 43-48
Link Here
|
| 43 |
#WITH_SDL= yes |
43 |
#WITH_SDL= yes |
| 44 |
#.endif |
44 |
#.endif |
| 45 |
|
45 |
|
|
|
46 |
.if exists(${LOCALBASE}/lib/libfaac.so.0) |
| 47 |
WITH_FAAC= yes |
| 48 |
.endif |
| 49 |
|
| 46 |
.if exists(${LOCALBASE}/lib/libfaad.so.0) |
50 |
.if exists(${LOCALBASE}/lib/libfaad.so.0) |
| 47 |
WITH_FAAD= yes |
51 |
WITH_FAAD= yes |
| 48 |
.endif |
52 |
.endif |
|
Lines 82-87
Link Here
|
| 82 |
USE_SDL+= sdl |
86 |
USE_SDL+= sdl |
| 83 |
.endif |
87 |
.endif |
| 84 |
|
88 |
|
|
|
89 |
.if defined(WITH_FAAC) |
| 90 |
LIB_DEPENDS+= faac.0:${PORTSDIR}/audio/faac |
| 91 |
.endif |
| 92 |
|
| 85 |
.if defined(WITH_FAAD) |
93 |
.if defined(WITH_FAAD) |
| 86 |
LIB_DEPENDS+= faad.0:${PORTSDIR}/audio/faad |
94 |
LIB_DEPENDS+= faad.0:${PORTSDIR}/audio/faad |
| 87 |
.endif |
95 |
.endif |
|
Lines 103-110
Link Here
|
| 103 |
@${ECHO_MSG} "To enable SDL support define WITH_SDL." |
111 |
@${ECHO_MSG} "To enable SDL support define WITH_SDL." |
| 104 |
.endif |
112 |
.endif |
| 105 |
|
113 |
|
|
|
114 |
.if !defined(WITH_FAAC) |
| 115 |
@${ECHO_MSG} "To enable FAAC (mpeg4/aac encoder) support define WITH_FAAC." |
| 116 |
.endif |
| 117 |
|
| 106 |
.if !defined(WITH_FAAD) |
118 |
.if !defined(WITH_FAAD) |
| 107 |
@${ECHO_MSG} "To enable FAAD (mpeg4/aac) support define WITH_FAAD." |
119 |
@${ECHO_MSG} "To enable FAAD (mpeg4/aac decoder) support define WITH_FAAD." |
| 108 |
.endif |
120 |
.endif |
| 109 |
|
121 |
|
| 110 |
post-patch: |
122 |
post-patch: |