~ubuntu-branches/debian/sid/ffmpeg/sid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Andreas Cadhalpun, Fabian Greffrath, Andreas Cadhalpun
  • Date: 2015-09-22 15:15:20 UTC
  • mfrom: (0.1.29)
  • Revision ID: package-import@ubuntu.com-20150922151520-hhmd3in9ykigjvs9
Tags: 7:2.8-1
[ Fabian Greffrath ]
* Pass the --dbg-package=ffmpeg-dbg parameter only to dh_strip.
* Add alternative Depends: libavcodec-ffmpeg-extra56 to libavcodec-dev and
  ffmpeg-dbg to allow for building and debugging with this library installed.

[ Andreas Cadhalpun ]
* Import new major upstream release 2.8.
* Remove the transitional lib*-ffmpeg-dev packages.
* Drop old Breaks on kodi-bin.
* Drop workaround for sparc, which is no Debian architecture anymore.
* Re-enable x265 on alpha, as it's available again.
* Disable unavailable frei0r, opencv and x264 on mips64el.
* Disable libopenjpeg (#787275) and libschroedinger (#787957) decoders.
  (Closes: #786670)
* Disable libdc1394 on sparc64, because it links against the broken due to
  #790560 libudev1.
* Enable libsnappy support.
* Add new symbols.
* Update debian/copyright.
* Update debian/tests/encdec_list.txt.
* Add hls-only-seek-if-there-is-an-offset.patch. (Closes: #798189)
* Add 'Breaks: libavutil-ffmpeg54 (>= 8:0)' to the libraries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
#   --enable-libcelt                (see #676592: removed from Debian as abandoned upstream, replaced by opus)
35
35
#   --enable-libdcadec
36
36
#   --enable-libilbc                (see #675959 for the RFP bug)
 
37
#   --enable-libkvazaar
37
38
#   --enable-libmfx
38
39
#   --enable-libnut
39
40
#   --enable-libopenh264
63
64
        --enable-gpl \
64
65
        --enable-shared \
65
66
        --disable-stripping \
 
67
        --disable-decoder=libopenjpeg \
 
68
        --disable-decoder=libschroedinger \
66
69
        --enable-avresample \
67
70
        --enable-avisynth \
68
 
        --enable-frei0r \
69
71
        --enable-gnutls \
70
72
        --enable-ladspa \
71
73
        --enable-libass \
88
90
        --enable-librtmp \
89
91
        --enable-libschroedinger \
90
92
        --enable-libshine \
 
93
        --enable-libsnappy \
91
94
        --enable-libspeex \
 
95
        --enable-libssh \
92
96
        --enable-libtheora \
93
97
        --enable-libtwolame \
94
98
        --enable-libvorbis \
95
99
        --enable-libvpx \
96
100
        --enable-libwavpack \
97
101
        --enable-libwebp \
 
102
        --enable-libx265 \
98
103
        --enable-libxvid \
99
104
        --enable-libzvbi \
100
105
        --enable-opengl \
122
127
 
123
128
# Some libraries are build only on linux.
124
129
ifeq ($(DEB_HOST_ARCH_OS),linux)
125
 
        CONFIG += --enable-libdc1394 \
126
 
        --enable-libiec61883
 
130
        CONFIG += --enable-libiec61883
 
131
        # Some libraries are not available/unusable (#790560) on sparc64.
 
132
        ifeq (,$(filter $(DEB_HOST_ARCH),sparc64))
 
133
                CONFIG += --enable-libdc1394
 
134
        endif
127
135
endif
128
136
 
129
137
# Some libraries are not build on hurd.
131
139
        CONFIG += --enable-libzmq
132
140
endif
133
141
 
134
 
# libssh is not available on sparc due to #790067.
135
 
ifneq ($(DEB_HOST_ARCH),sparc)
136
 
        CONFIG += --enable-libssh
 
142
# Some libraries are not available on mips64el.
 
143
ifeq (,$(filter $(DEB_HOST_ARCH),mips64el))
 
144
        CONFIG += --enable-frei0r
137
145
endif
138
146
 
139
 
# Some libraries are not available/unusable (#792921) on sparc64.
140
 
ifneq ($(DEB_HOST_ARCH),sparc64)
 
147
# Some libraries are not available/unusable (#792921) on sparc64/mips64el.
 
148
ifeq (,$(filter $(DEB_HOST_ARCH),sparc64 mips64el))
141
149
        CONFIG += --enable-libx264
142
150
endif
143
151
 
144
152
# OpenCV is not available on some architectures.
145
 
ifeq (,$(filter $(DEB_HOST_ARCH),alpha sh4 sparc64))
 
153
ifeq (,$(filter $(DEB_HOST_ARCH),alpha sh4 sparc64 mips64el))
146
154
        CONFIG += --enable-libopencv
147
155
endif
148
156
 
149
 
# Recent x265 is not available on alpha due to #789807.
150
 
ifeq (,$(filter $(DEB_HOST_ARCH),alpha))
151
 
        CONFIG += --enable-libx265
152
 
endif
153
 
 
154
157
# Disable i686 optimizations on i386, because they are not always available on this architecture.
155
158
ifneq (,$(filter $(DEB_HOST_ARCH),i386 hurd-i386))
156
159
        CONFIG += --disable-i686
185
188
endif
186
189
 
187
190
# Use the default debhelper scripts, where possible.
188
 
# Enable parallel building and move the debug symbols to the debug package.
 
191
# Enable parallel building.
189
192
%:
190
 
        dh $@ --parallel --dbg-package=ffmpeg-dbg
 
193
        dh $@ --parallel
191
194
 
192
195
# Add configuration options:
193
196
override_dh_auto_configure:
271
274
override_dh_compress:
272
275
        dh_compress -Xexamples
273
276
 
 
277
# Move the debug symbols to the debug package.
 
278
override_dh_strip:
 
279
        dh_strip --dbg-package=ffmpeg-dbg
 
280
 
274
281
# Download the latest upstream tarball.
275
282
get-orig-source:
276
283
        cd $(DEBIAN_DIR)../ && \