[SCM] FFmpeg packaging branch, master.snapshot, updated. debian/0.6-1-7-g45b6909

fabian-guest at users.alioth.debian.org fabian-guest at users.alioth.debian.org
Tue Jun 22 06:56:52 UTC 2010


The following commit has been merged in the master.snapshot branch:
commit d5506bd795f50fa4cafc27741baac4fe1689d808
Author: Fabian Greffrath <fabian at greffrath.com>
Date:   Tue Jun 22 08:55:39 2010 +0200

    Revert "Add conditional support for AMR-NB/WB de/encoding via libopencore-amrnb/amrwb."
    
    This reverts commit 4bf25244468404e6d18a44fde53ef814ca727a2d.
    
    Most of this has already been implemented (slightly differently) in the ubuntu branch. :/

diff --git a/debian/confflags b/debian/confflags
index 76203a4..20929da 100644
--- a/debian/confflags
+++ b/debian/confflags
@@ -62,16 +62,14 @@ define cond_enable_nf
 	$(shell test -r $(1) && echo --enable-$(2) --enable-nonfree )
 endef
 
-# another variant that also requires (L)GPL version 3
-define cond_enable_version3
-	$(shell test -r $(1) && echo --enable-$(2) --enable-version3 )
-endef
-
 # Configuration flags causing the libs to be GPL tainted
 gpl_confflags += --enable-gpl
 gpl_confflags += --enable-postproc
 gpl_confflags += --enable-x11grab
 
+# there is no libfaad in ubuntu/main, on in ubuntu/multiverse
+gpl_confflags += $(call cond_enable,/usr/include/faad.h,libfaad)
+
 # "forbidden" encoders, see README.Debian for details
 disable_encoders += --disable-encoder=aac
 disable_encoders += --disable-encoder=h263
@@ -113,14 +111,13 @@ endif
 confflags += $(extra_common_confflags)
 
 # this part below is intended for the 'ffmpeg' package in ubuntu/multiverse
-gpl_confflags += $(call cond_enable,/usr/include/faad.h,libfaad)
 gpl_confflags += $(call cond_enable,/usr/include/xvid.h,libxvid)
-gpl_confflags += $(call cond_enable,/usr/include/x264.h,libx264)
 confflags += $(call cond_enable,/usr/include/lame/lame.h,libmp3lame)
+gpl_confflags += $(call cond_enable,/usr/include/x264.h,libx264)
 
-# libopencore-amr[nw]b require (L)GPL version 3
-confflags += $(call cond_enable,/usr/include/opencore-amrnb/interf_dec.h,libopencore-amrnb)
-confflags += $(call cond_enable,/usr/include/opencore-amrwb/dec_if.h,libopencore-amrwb)
+confflags += $(call cond_enable,/usr/include/lame/lame.h,libmp3lame)
+confflags += $(call cond_enable_nf,/usr/include/amrnb/sp_dec.h,libamr-nb)
+confflags += $(call cond_enable_nf,/usr/include/amrwb/dec.h,libamr-wb)
 
 # AAC is considered non-free upstream
 confflags += $(call cond_enable_nf,/usr/include/faac.h,libfaac)

-- 
FFmpeg packaging



More information about the pkg-multimedia-commits mailing list