comparison multimedia/ffmpeg/ffmpeg.sh @ 902:a133976e0783

vanilla: remove all origins, closes #2203
author David Demelier <markand@malikania.fr>
date Mon, 26 Aug 2019 12:14:53 +0200
parents 1c0d1dafdec5
children 25a95c53d800
comparison
equal deleted inserted replaced
901:e2de15b7d2b1 902:a133976e0783
102 : ${X:=no} 102 : ${X:=no}
103 : ${XML:=no} 103 : ${XML:=no}
104 : ${ZLIB:=no} 104 : ${ZLIB:=no}
105 105
106 if [ "$ALSA" = "yes" ]; then 106 if [ "$ALSA" = "yes" ]; then
107 PKGDEPENDS="audio/alsa-lib $PKGDEPENDS" 107 PKGDEPENDS="alsa-lib $PKGDEPENDS"
108 with_alsa="--enable-alsa" 108 with_alsa="--enable-alsa"
109 else 109 else
110 with_alsa="--disable-alsa" 110 with_alsa="--disable-alsa"
111 fi 111 fi
112 112
113 if [ "$BLURAY" = "yes" ]; then 113 if [ "$BLURAY" = "yes" ]; then
114 PKGDEPENDS="multimedia/libbluray $PKGDEPENDS" 114 PKGDEPENDS="libbluray $PKGDEPENDS"
115 with_bluray="--enable-libbluray" 115 with_bluray="--enable-libbluray"
116 else 116 else
117 with_bluray="--disable-libbluray" 117 with_bluray="--disable-libbluray"
118 fi 118 fi
119 119
120 if [ "$BZIP2" = "yes" ]; then 120 if [ "$BZIP2" = "yes" ]; then
121 PKGDEPENDS="compression/bzip2 $PKGDEPENDS" 121 PKGDEPENDS="bzip2 $PKGDEPENDS"
122 with_bzip2="--enable-bzlib" 122 with_bzip2="--enable-bzlib"
123 else 123 else
124 with_bzip2="--disable-bzlib" 124 with_bzip2="--disable-bzlib"
125 fi 125 fi
126 126
127 if [ "$CRYPTO" = "yes" ]; then 127 if [ "$CRYPTO" = "yes" ]; then
128 PKGDEPENDS="crypto/libgcrypt $PKGDEPENDS" 128 PKGDEPENDS="libgcrypt $PKGDEPENDS"
129 with_crypto="--enable-gcrypt" 129 with_crypto="--enable-gcrypt"
130 else 130 else
131 with_crypto="--disable-gcrypt" 131 with_crypto="--disable-gcrypt"
132 fi 132 fi
133 133
134 if [ "$FONTCONFIG" = "yes" ]; then 134 if [ "$FONTCONFIG" = "yes" ]; then
135 PKGDEPENDS="fonts/fontconfig $PKGDEPENDS" 135 PKGDEPENDS="fontconfig $PKGDEPENDS"
136 with_fontconfig="--enable-fontconfig" 136 with_fontconfig="--enable-fontconfig"
137 else 137 else
138 with_fontconfig="--disable-fontconfig" 138 with_fontconfig="--disable-fontconfig"
139 fi 139 fi
140 140
141 if [ "$FREETYPE" = "yes" ]; then 141 if [ "$FREETYPE" = "yes" ]; then
142 PKGDEPENDS="fonts/freetype $PKGDEPENDS" 142 PKGDEPENDS="freetype $PKGDEPENDS"
143 with_freetype="--enable-libfreetype" 143 with_freetype="--enable-libfreetype"
144 else 144 else
145 with_freetype="--disable-libfreetype" 145 with_freetype="--disable-libfreetype"
146 fi 146 fi
147 147
151 else 151 else
152 with_fribidi="--disable-libfribidi" 152 with_fribidi="--disable-libfribidi"
153 fi 153 fi
154 154
155 if [ "$GMP" = "yes" ]; then 155 if [ "$GMP" = "yes" ]; then
156 PKGDEPENDS="lib/gmp $PKGDEPENDS" 156 PKGDEPENDS="gmp $PKGDEPENDS"
157 with_gmp="--enable-gmp" 157 with_gmp="--enable-gmp"
158 else 158 else
159 with_gmp="--disable-gmp" 159 with_gmp="--disable-gmp"
160 fi 160 fi
161 161
165 else 165 else
166 with_jack="--disable-libjack" 166 with_jack="--disable-libjack"
167 fi 167 fi
168 168
169 if [ "$LZMA" = "yes" ]; then 169 if [ "$LZMA" = "yes" ]; then
170 PKGDEPENDS="compression/xz $PKGDEPENDS" 170 PKGDEPENDS="xz $PKGDEPENDS"
171 with_lzma="--enable-lzma" 171 with_lzma="--enable-lzma"
172 else 172 else
173 with_lzma="--disable-lzma" 173 with_lzma="--disable-lzma"
174 fi 174 fi
175 175
176 if [ "$MP3" = "yes" ]; then 176 if [ "$MP3" = "yes" ]; then
177 PKGDEPENDS="audio/lame $PKGDEPENDS" 177 PKGDEPENDS="lame $PKGDEPENDS"
178 with_mp3="--enable-libmp3lame" 178 with_mp3="--enable-libmp3lame"
179 else 179 else
180 with_mp3="--disable-libmp3lame" 180 with_mp3="--disable-libmp3lame"
181 fi 181 fi
182 182
183 if [ "$OPENGL" = "yes" ]; then 183 if [ "$OPENGL" = "yes" ]; then
184 PKGDEPENDS="graphics/mesa $PKGDEPENDS" 184 PKGDEPENDS="mesa $PKGDEPENDS"
185 with_opengl="--enable-opengl" 185 with_opengl="--enable-opengl"
186 else 186 else
187 with_opengl="--disable-opengl" 187 with_opengl="--disable-opengl"
188 fi 188 fi
189 189
190 if [ "$OPUS" = "yes" ]; then 190 if [ "$OPUS" = "yes" ]; then
191 PKGDEPENDS="audio/opus $PKGDEPENDS" 191 PKGDEPENDS="opus $PKGDEPENDS"
192 with_opus="--enable-libopus" 192 with_opus="--enable-libopus"
193 else 193 else
194 with_opus="--disable-libopus" 194 with_opus="--disable-libopus"
195 fi 195 fi
196 196
197 if [ "$PULSEAUDIO" = "yes" ]; then 197 if [ "$PULSEAUDIO" = "yes" ]; then
198 PKGDEPENDS="audio/pulseaudio $PKGDEPENDS" 198 PKGDEPENDS="pulseaudio $PKGDEPENDS"
199 with_pulseaudio="--enable-libpulse" 199 with_pulseaudio="--enable-libpulse"
200 else 200 else
201 with_pulseaudio="--disable-libpulse" 201 with_pulseaudio="--disable-libpulse"
202 fi 202 fi
203 203
204 if [ "$SPEEX" = "yes" ]; then 204 if [ "$SPEEX" = "yes" ]; then
205 PKGDEPENDS="audio/speex $PKGDEPENDS" 205 PKGDEPENDS="speex $PKGDEPENDS"
206 with_speex="--enable-libspeex" 206 with_speex="--enable-libspeex"
207 else 207 else
208 with_speex="--disable-libspeex" 208 with_speex="--disable-libspeex"
209 fi 209 fi
210 210
211 if [ "$SSH" = "yes" ]; then 211 if [ "$SSH" = "yes" ]; then
212 PKGDEPENDS="network/libssh $PKGDEPENDS" 212 PKGDEPENDS="libssh $PKGDEPENDS"
213 with_ssh="--enable-libssh" 213 with_ssh="--enable-libssh"
214 else 214 else
215 with_ssh="--disable-libssh" 215 with_ssh="--disable-libssh"
216 fi 216 fi
217 217
218 if [ "$SSL" = "yes" ] || [ "$SSL" = "libressl" ]; then 218 if [ "$SSL" = "yes" ] || [ "$SSL" = "libressl" ]; then
219 PKGDEPENDS="crypto/libressl $PKGDEPENDS" 219 PKGDEPENDS="libressl $PKGDEPENDS"
220 with_ssl="--enable-libtls" 220 with_ssl="--enable-libtls"
221 elif [ "$SSL" = "gnutls" ]; then 221 elif [ "$SSL" = "gnutls" ]; then
222 PKGDEPENDS="crypto/gnutls $PKGDEPENDS" 222 PKGDEPENDS="gnutls $PKGDEPENDS"
223 with_ssl="--enable-gnutls" 223 with_ssl="--enable-gnutls"
224 else 224 else
225 with_ssl="--disable-gnutls --disable-libtls --disable-openssl --disable-mbedtls" 225 with_ssl="--disable-gnutls --disable-libtls --disable-openssl --disable-mbedtls"
226 fi 226 fi
227 227
228 if [ "$SVG" = "yes" ]; then 228 if [ "$SVG" = "yes" ]; then
229 PKGDEPENDS="graphics/librsvg $PKGDEPENDS" 229 PKGDEPENDS="librsvg $PKGDEPENDS"
230 with_svg="--enable-librsvg" 230 with_svg="--enable-librsvg"
231 else 231 else
232 with_svg="--disable-librsvg" 232 with_svg="--disable-librsvg"
233 fi 233 fi
234 234
235 if [ "$THEORA" = "yes" ]; then 235 if [ "$THEORA" = "yes" ]; then
236 PKGDEPENDS="multimedia/libtheora $PKGDEPENDS" 236 PKGDEPENDS="libtheora $PKGDEPENDS"
237 with_theora="--enable-libtheora" 237 with_theora="--enable-libtheora"
238 else 238 else
239 with_theora="--disable-libtheora" 239 with_theora="--disable-libtheora"
240 fi 240 fi
241 241
242 if [ "$VORBIS" = "yes" ]; then 242 if [ "$VORBIS" = "yes" ]; then
243 PKGDEPENDS="audio/libvorbis $PKGDEPENDS" 243 PKGDEPENDS="libvorbis $PKGDEPENDS"
244 with_vorbis="--enable-libvorbis" 244 with_vorbis="--enable-libvorbis"
245 else 245 else
246 with_vorbis="--disable-libvorbis" 246 with_vorbis="--disable-libvorbis"
247 fi 247 fi
248 248
249 if [ "$WEBP" = "yes" ]; then 249 if [ "$WEBP" = "yes" ]; then
250 PKGDEPENDS="graphics/libwebp $PKGDEPENDS" 250 PKGDEPENDS="libwebp $PKGDEPENDS"
251 with_webp="--enable-libwebp" 251 with_webp="--enable-libwebp"
252 else 252 else
253 with_webp="--disable-libwebp" 253 with_webp="--disable-libwebp"
254 fi 254 fi
255 255
256 if [ "$X265" = "yes" ]; then 256 if [ "$X265" = "yes" ]; then
257 PKGDEPENDS="multimedia/x265 $PKGDEPENDS" 257 PKGDEPENDS="x265 $PKGDEPENDS"
258 with_x265="--enable-libx265" 258 with_x265="--enable-libx265"
259 else 259 else
260 with_x265="--disable-libx265" 260 with_x265="--disable-libx265"
261 fi 261 fi
262 262
263 if [ "$X" = "yes" ]; then 263 if [ "$X" = "yes" ]; then
264 PKGDEPENDS="x11/libx11 x11/libxcb $PKGDEPENDS" 264 PKGDEPENDS="libx11 libxcb $PKGDEPENDS"
265 with_x="--enable-xlib" 265 with_x="--enable-xlib"
266 with_x="--enable-libxcb $with_x" 266 with_x="--enable-libxcb $with_x"
267 with_x="--enable-libxcb-shm $with_x" 267 with_x="--enable-libxcb-shm $with_x"
268 with_x="--enable-libxcb-xfixes $with_x" 268 with_x="--enable-libxcb-xfixes $with_x"
269 with_x="--enable-libxcb-shape $with_x" 269 with_x="--enable-libxcb-shape $with_x"
274 with_x="--disable-libxcb-xfixes $with_x" 274 with_x="--disable-libxcb-xfixes $with_x"
275 with_x="--disable-libxcb-shape $with_x" 275 with_x="--disable-libxcb-shape $with_x"
276 fi 276 fi
277 277
278 if [ "$XML" = "yes" ]; then 278 if [ "$XML" = "yes" ]; then
279 PKGDEPENDS="text/libxml2 $PKGDEPENDS" 279 PKGDEPENDS="libxml2 $PKGDEPENDS"
280 with_xml="--enable-libxml2" 280 with_xml="--enable-libxml2"
281 else 281 else
282 with_xml="--disable-libxml2" 282 with_xml="--disable-libxml2"
283 fi 283 fi
284 284
285 if [ "$ZLIB" = "yes" ]; then 285 if [ "$ZLIB" = "yes" ]; then
286 PKGDEPENDS="compression/zlib $PKGDEPENDS" 286 PKGDEPENDS="zlib $PKGDEPENDS"
287 with_zlib="--enable-zlib" 287 with_zlib="--enable-zlib"
288 else 288 else
289 with_zlib="--disable-zlib" 289 with_zlib="--disable-zlib"
290 fi 290 fi
291 291