mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Binaries using ffmpeg unredistributable


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Binaries using ffmpeg unredistributable
Date: Wed, 8 Dec 2010 09:16:48 +1100

On 7 December 2010 22:41, Mark Brand <address@hidden> wrote:
>
> On 12/07/2010 10:16 AM, Volker Grabsch wrote:
>>
>> Martin Lambers<address@hidden>  schrieb:
>>>
>>> It may be a good idea to remove at least --enable-nonfree, and I
>>> personally think that --enable-gpl and --enable-version3 should also be
>>> removed. Packages that want these features may add them locally, and all
>>> others are on the safe side.
>>
>> I fully agree, because ffmpeg is not a pure GPL-library. So I disabled
>> those three options:
>>
>> http://hg.savannah.gnu.org/hgweb/mingw-cross-env/rev/b9302674f9ba
>>
>
> Hi,
>
> Since these changes ffmpeg fails for me:
>
> cd '/home/brand/projects/mingw-cross-env.dev/test/tmp-ffmpeg/ffmpeg-0.6.1'
> && ./configure --cross-prefix='i686-pc-mingw32'- --enable-cross-compile
> --arch=i686 --target-os=mingw32
> --prefix='/home/brand/projects/mingw-cross-env.dev/test/usr/i686-pc-mingw32'
> --disable-shared --disable-debug --disable-doc --enable-memalign-hack
> --disable-gpl --disable-version3 --disable-nonfree --enable-postproc
> --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libmp3lame
> --enable-libxvid --enable-libfaad --enable-libfaac
> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264
> --enable-libvpx
> libfaad2 is gpl and --enable-gpl is not specified.

So we end up with a diff as below, is the right way to remove the
options and let configure work it out (it complains about so has it's
own checks) or should we explicitly disable them? Disabling will make
it a little easier to re-enable them, though if we're concerned about
that, should we leave in the deps as well?

Cheers,

Tony

diff -r 7cc8c9f7df55 src/ffmpeg.mk
--- a/src/ffmpeg.mk     Tue Dec 07 21:43:54 2010 +1100
+++ b/src/ffmpeg.mk     Wed Dec 08 09:03:09 2010 +1100
@@ -11,7 +11,7 @@
 $(PKG)_WEBSITE  := http://www.ffmpeg.org/
 $(PKG)_URL      := http://www.ffmpeg.org/releases/$($(PKG)_FILE)
 $(PKG)_URL_2    :=
http://launchpad.net/ffmpeg/main/$($(PKG)_VERSION)/+download/$($(PKG)_FILE)
-$(PKG)_DEPS     := gcc bzip2 faad2 faac lame libvpx opencore-amr sdl
speex theora vorbis x264 xvidcore zlib
+$(PKG)_DEPS     := gcc bzip2 lame libvpx sdl speex theora vorbis zlib

 define $(PKG)_UPDATE
     wget -q -O- 'http://www.ffmpeg.org/download.html' | \
@@ -33,17 +33,10 @@
         --disable-gpl \
         --disable-version3 \
         --disable-nonfree \
-        --enable-postproc \
         --enable-libspeex \
         --enable-libtheora \
         --enable-libvorbis \
         --enable-libmp3lame \
-        --enable-libxvid \
-        --enable-libfaad \
-        --enable-libfaac \
-        --enable-libopencore-amrnb \
-        --enable-libopencore-amrwb \
-        --enable-libx264 \
         --enable-libvpx
     $(MAKE) -C '$(1)' -j '$(JOBS)'
     $(MAKE) -C '$(1)' -j 1 install



reply via email to

[Prev in Thread] Current Thread [Next in Thread]