Mercurial > vanilla
comparison multimedia/ffmpeg/ffmpeg.sh @ 1216:6710613b88b9
misc: remove build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 29 Sep 2021 13:49:32 +0200 |
parents | 297b5eef115e |
children | 337f950c30f5 |
comparison
equal
deleted
inserted
replaced
1215:3214f7fed454 | 1216:6710613b88b9 |
---|---|
303 : ${CXX:=clang++} | 303 : ${CXX:=clang++} |
304 : ${CXXFLAGS:=-O2} | 304 : ${CXXFLAGS:=-O2} |
305 : ${LDFLAGS:=} | 305 : ${LDFLAGS:=} |
306 : ${LIBS:=} | 306 : ${LIBS:=} |
307 | 307 |
308 build() | 308 rm -rf $PKGNAME-$PKGVERSION |
309 { | 309 tar xvf $PKGNAME-$PKGVERSION.tar.bz2 |
310 rm -rf $PKGNAME-$PKGVERSION | 310 cd $PKGNAME-$PKGVERSION |
311 tar xvf $PKGNAME-$PKGVERSION.tar.bz2 | 311 |
312 cd $PKGNAME-$PKGVERSION | 312 sed -i -e 's|prefix_default="/usr/local"|prefix_default=|' configure |
313 | 313 CC="$CC" \ |
314 sed -i -e 's|prefix_default="/usr/local"|prefix_default=|' configure | 314 CFLAGS="$CFLAGS" \ |
315 CC="$CC" \ | 315 CXX="$CXX" \ |
316 CFLAGS="$CFLAGS" \ | 316 CXXFLAGS="$CXXFLAGS" \ |
317 CXX="$CXX" \ | 317 LDFLAGS="$LDFLAGS" \ |
318 CXXFLAGS="$CXXFLAGS" \ | 318 LIBS="$LIBS" \ |
319 LDFLAGS="$LDFLAGS" \ | 319 ./configure \ |
320 LIBS="$LIBS" \ | 320 --enable-shared \ |
321 ./configure \ | 321 --logfile=/dev/null \ |
322 --enable-shared \ | 322 $with_alsa \ |
323 --logfile=/dev/null \ | 323 $with_bluray \ |
324 $with_alsa \ | 324 $with_bzip2 \ |
325 $with_bluray \ | 325 $with_crypto \ |
326 $with_bzip2 \ | 326 $with_fontconfig \ |
327 $with_crypto \ | 327 $with_fribidi \ |
328 $with_fontconfig \ | 328 $with_gmp \ |
329 $with_fribidi \ | 329 $with_jack \ |
330 $with_gmp \ | 330 $with_lzma \ |
331 $with_jack \ | 331 $with_mp3 \ |
332 $with_lzma \ | 332 $with_opengl \ |
333 $with_mp3 \ | 333 $with_opus \ |
334 $with_opengl \ | 334 $with_pulseaudio \ |
335 $with_opus \ | 335 $with_sdl \ |
336 $with_pulseaudio \ | 336 $with_speex \ |
337 $with_sdl \ | 337 $with_ssh \ |
338 $with_speex \ | 338 $with_ssl \ |
339 $with_ssh \ | 339 $with_svg \ |
340 $with_ssl \ | 340 $with_theora \ |
341 $with_svg \ | 341 $with_ttf \ |
342 $with_theora \ | 342 $with_vorbis \ |
343 $with_ttf \ | 343 $with_webp \ |
344 $with_vorbis \ | 344 $with_x265 \ |
345 $with_webp \ | 345 $with_x \ |
346 $with_x265 \ | 346 $with_xml \ |
347 $with_x \ | 347 $with_zlib |
348 $with_xml \ | 348 make |
349 $with_zlib | 349 make install DESTDIR=$DESTDIR |
350 make | 350 |
351 make install DESTDIR=$DESTDIR | 351 cd .. |
352 | 352 rm -rf $PKGNAME-$PKGVERSION |
353 cd .. | |
354 rm -rf $PKGNAME-$PKGVERSION | |
355 } |