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