Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=0140408463b9647bf8eeb42b54f913f135d7bac9
commit 0140408463b9647bf8eeb42b54f913f135d7bac9 Author: DeX77 <[email protected]> Date: Fri Jul 28 18:57:10 2017 +0200 ffmpeg-3.3.2-3-x86_64 + add 32-bit package diff --git a/source/xmultimedia/ffmpeg/FrugalBuild b/source/xmultimedia/ffmpeg/FrugalBuild index 2f28f6c..5be2b10 100644 --- a/source/xmultimedia/ffmpeg/FrugalBuild +++ b/source/xmultimedia/ffmpeg/FrugalBuild @@ -3,7 +3,7 @@ pkgname=ffmpeg pkgver=3.3.2 -pkgrel=2 +pkgrel=3 pkgdesc="FFMpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix." url="http://ffmpeg.sourceforge.net/" depends=('alsa-lib>=1.1.2-2' 'a52dec>=0.7.4-6' 'faac>=1.28-5' 'lame>=3.99.5-5' \ @@ -19,49 +19,71 @@ up2date="Flasttar http://www.ffmpeg.org/releases/" source=(http://www.ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2) signatures=("${source[0]}.asc") -build() { - - set -e - Fcd - ## dons't use F* here - ./configure \ - --prefix='/usr' \ - --docdir="/usr/share/doc/ffmpeg-$pkgver" \ - --mandir='/usr/share/man' \ - --enable-gpl \ - --enable-nonfree \ - --enable-postproc \ - --enable-runtime-cpudetect \ - --enable-libmp3lame \ - --enable-libvorbis \ - --enable-libtheora \ - --enable-libvpx \ - --enable-libx264 \ +Fconfopts=" --prefix='/usr' \ + --docdir="/usr/share/doc/ffmpeg-$pkgver" \ + --mandir='/usr/share/man' \ + --enable-gpl \ + --enable-nonfree \ + --enable-postproc \ + --enable-runtime-cpudetect \ + --enable-libmp3lame \ + --enable-libvorbis \ + --enable-libtheora \ + --enable-libvpx \ + --enable-libx264 \ --enable-libx265 \ - --enable-libxvid \ - --enable-libdc1394 \ - --enable-libopencore-amrnb \ - --enable-libopencore-amrwb \ - --enable-libspeex \ - --enable-libopenjpeg \ - --enable-librtmp \ - --enable-libv4l2 \ - --enable-libpulse \ + --enable-libxvid \ + --enable-libdc1394 \ + --enable-libspeex \ + --enable-libopenjpeg \ + --enable-librtmp \ + --enable-libv4l2 \ + --enable-libpulse \ --enable-version3 \ - --enable-libgsm \ - --enable-shared \ - --disable-static \ - --enable-pthreads \ - --enable-vaapi \ - --enable-vdpau \ - --enable-avresample \ - --enable-libass \ - --enable-libcaca \ - --enable-libbluray || Fdie - make SHARED_PP="yes" || Fdie - make DESTDIR=$Fdestdir install || Fdie + --enable-shared \ + --disable-static \ + --disable-stripping \ + --disable-debug \ + --enable-pthreads \ + --enable-vaapi \ + --enable-vdpau \ + --enable-avresample \ + --enable-libass \ + --enable-libcaca \ + --enable-libbluray " + +_F_cross32_subdepends=('lib32-alsa-lib>=1.1.2-2' 'lib32-a52dec>=0.7.4-6' 'lib32-faac>=1.28-5' 'lib32-lame>=3.99.5-5' \ + 'lib32-libtheora>=1.1.1-5' 'lib32-libvorbis>=1.3.5-5' 'lib32-x264>=20170705_2245' 'lib32-xvidcore>=1.3.4-3' 'lib32-libdc1394>=2.2.3-4' \ + 'lib32-imlib2>=1.4.7-3' 'lib32-sdl2>=2.0.5' 'lib32-faad2>=2.7-5' 'lib32-libxfixes>=5.0.1-2' \ + 'lib32-libvpx>=1.6.0-1' 'lib32-libva>=1.6.2-5' 'lib32-libvdpau>=1.1.1-2' 'lib32-libxcb>=1.11.1-3' 'lib32-libbluray>=1.0.0' 'lib32-speex>=1.2rc2-4' \ + 'lib32-v4l-utils>=1.8.1-3' 'lib32-rtmpdump>=2.4-2' 'lib32-openjpeg>=1.5.2' 'lib32-libpulse>=9.0-2' 'lib32-x265>=2.4' 'lib32-libass>=0.13.6' \ + 'lib32-libcaca>=0.99.beta19-5') +_F_cross32_simple=yes +F32confopts=" --libdir=/usr/lib32 \ + --shlibdir=/usr/lib32" +Finclude cross32 +_F_conf_notry="build\|host\|enable-static" + +build() { + Fcross32_prepare + Fcross32_copy_source + Fbuild $F32confopts --cc="gcc -m32" + Fcross32_copy_back_source + Fcross32_reset_and_fix + Fcross32_delete_empty + Fsplit "${subpkgs[0]}" /\* ## everything else ignored only first one - set +e + Fmake --libdir=/usr/lib \ + --shlibdir=/usr/lib \ + --bindir=/usr/bin \ + --incdir=/usr/include \ + --docdir="/usr/share/doc/ffmpeg-$pkgver" \ + --mandir='/usr/share/man' \ + --datadir='/usr/share/ffmpeg' \ + --enable-libgsm \ + --enable-libopencore-amrnb \ + --enable-libopencore-amrwb + Fmakeinstall } _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
