~ubuntu-branches/ubuntu/raring/libav/raring-security

« back to all changes in this revision

Viewing changes to debian/confflags

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler, Andres Mejia, Reinhard Tartler, Fabian Greffrath
  • Date: 2012-06-10 11:59:00 UTC
  • Revision ID: package-import@ubuntu.com-20120610115900-f6zambwggonsts92
Tags: 4:0.8.1-0ubuntu3
[ Andres Mejia ]
* Install manpage for qt-faststart in the correct package.

[ Reinhard Tartler ]
* bump standards version, no changes needed

[ Andres Mejia ]
* Remove dependencies and suggests of FAAD, no longer needed.
* Enable frei0r support.

[ Reinhard Tartler ]
* drop build-dep on frei0r-plugins-dev

[ Andres Mejia ]
* Enable tls support through gnutls.
* Enable libcdio support.
* Enable opencv support.

[ Reinhard Tartler ]
* drop build-dep on libcv-dev and libopencv-dev

[ Andres Mejia ]
* Enable pulse support.
* Include conditional enablers for vo-aacenc and vo-amrwbenc.
* Update comment about GPLv3 features.
* Make clear that is FAAC that's considered non-free, not AAC.
* Enable jack support for all architectures.

[ Fabian Greffrath ]
* Enable hardened build flags through dpkg-buildflags (Closes: #658929).
* Filter out system-wide setting of -Bsymbolic-functions to avoid FTBFS.
* Set CPPFLAGS separately.

[ Andres Mejia ]
* Don't override -g or -O3 flags set by libav's build system.

[ Reinhard Tartler ]
* confflags: use --enable-pic instead of manually messing with cflags

[ Andres Mejia ]
* Separate the ffmpeg program into the transitional package.
* Add NEWS entry for ffmpeg deprecation.

[ Reinhard Tartler ]
* add conflicts/replaces for ffmpeg transitional package

[ Andres Mejia ]
* Properly migrate /etc/ffserver.conf to /etc/avserver.conf. (Closes: #660786)
* Don't ignore errors in maintainer scripts.
* Fix build for hurd. Thanks to Samuel Thibault for patch.

[ Reinhard Tartler ]
* Cherry pick the mentioned changes above to the ubuntu branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
confflags += --libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
100
100
confflags += --enable-vdpau
101
101
confflags += --enable-bzlib
 
102
confflags += --enable-gnutls
 
103
confflags += --enable-libcdio
102
104
confflags += --enable-libgsm
103
105
confflags += --enable-libschroedinger
104
106
confflags += --enable-libspeex
112
114
ifeq      ($(DEB_HOST_ARCH),armel)
113
115
# this is required on Ubuntu lucid as it defaults to thumb2 and Libav has
114
116
# plenty of incompatible assembly; not sure how to detect that properly
115
 
confflags += --extra-cflags="-marm -fPIC -DPIC"
 
117
confflags += --enable-pic
116
118
endif
117
119
 
118
120
ifeq      ($(DEB_HOST_ARCH),powerpc)
124
126
# vaapi is not available on s390 and on the hurd
125
127
confflags += $(call cond_enable,/usr/include/va/va.h,vaapi)
126
128
 
 
129
# pulse is not available on the hurd
 
130
confflags += $(call cond_enable,/usr/include/pulse/simple.h,libpulse)
 
131
 
127
132
# this part below is intended for the 'Libav' package in ubuntu/multiverse
128
133
gpl_confflags += $(call cond_enable,/usr/include/dirac/libdirac_decoder/dirac_parser.h,libdirac)
129
134
gpl_confflags += $(call cond_enable,/usr/include/lame/lame.h,libmp3lame)
130
135
gpl_confflags += $(call cond_enable,/usr/include/librtmp/http.h,librtmp)
131
136
gpl_confflags += $(call cond_enable,/usr/include/x264.h,libx264)
132
137
gpl_confflags += $(call cond_enable,/usr/include/xvid.h,libxvid)
 
138
gpl_confflags += $(call cond_enable,/usr/include/frei0r.h,frei0r)
 
139
gpl_confflags += $(call cond_enable,/usr/include/opencv/cv.h,libopencv)
133
140
 
134
141
confflags += $(call cond_enable,/usr/include/openjpeg.h,libopenjpeg)
135
142
 
136
 
# Opencore-amr requires GPL v3
 
143
# Features that require GPL v3
137
144
v3_confflags += $(call cond_enable_v3,/usr/include/opencore-amrnb/interf_dec.h,libopencore-amrnb)
138
145
v3_confflags += $(call cond_enable_v3,/usr/include/opencore-amrwb/dec_if.h,libopencore-amrwb)
 
146
v3_confflags += $(call cond_enable_v3,/usr/include/vo-aacenc/voAAC.h,libvo-aacenc)
 
147
v3_confflags += $(call cond_enable_v3,/usr/include/vo-amrwbenc/enc_if.h,libvo-amrwbenc)
139
148
 
140
 
# AAC is considered non-free upstream
 
149
# FAAC is considered non-free upstream
141
150
confflags += $(call cond_enable_nf,/usr/include/faac.h,libfaac)
142
151
 
143
152
# comment out following line for LGPL versions of the libraries
150
159
  lib1394-dev += libraw1394-dev, libdc1394-22-dev
151
160
endif
152
161
 
153
 
# Sanitize injected compiler in linker flags
154
 
CFLAGS :=
155
 
LDFLAGS :=
 
162
# Enable hardened build flags through dpkg-buildflags
 
163
CFLAGS := $(filter-out -g -O2,$(shell dpkg-buildflags --get CFLAGS))
 
164
CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
 
165
LDFLAGS := $(filter-out %-Bsymbolic-functions,$(shell dpkg-buildflags --get LDFLAGS))
156
166
 
157
167
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
158
168
# Various parts of Libav (and swscale) FTBFS when compiling with -fPIC