123
128
# Some libraries are build only on linux.
124
129
ifeq ($(DEB_HOST_ARCH_OS),linux)
125
CONFIG += --enable-libdc1394 \
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
129
137
# Some libraries are not build on hurd.
131
139
CONFIG += --enable-libzmq
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
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
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
149
# Recent x265 is not available on alpha due to #789807.
150
ifeq (,$(filter $(DEB_HOST_ARCH),alpha))
151
CONFIG += --enable-libx265
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
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.
190
dh $@ --parallel --dbg-package=ffmpeg-dbg
192
195
# Add configuration options:
193
196
override_dh_auto_configure: