4
4
# export DH_VERBOSE=1
5
5
# export V=1
6
6
7
+ export DEB_CFLAGS_MAINT_APPEND = -Wno-deprecated-declarations
8
+
7
9
# Determine the debian directory, which is the directory of this makefile.
8
10
# The path of this makefile is the first word in the MAKEFILE_LIST.
9
11
DEBIAN_DIR = $(dir $(firstword $(MAKEFILE_LIST ) ) )
@@ -22,6 +24,8 @@ DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
22
24
# Ubuntu ld adds -Bsymbolic-functions by default, but that prevents FFmpeg from building.
23
25
export DEB_LDFLAGS_MAINT_STRIP =-Wl,-Bsymbolic-functions
24
26
27
+
28
+
25
29
CONFIG := --prefix=/usr \
26
30
--extra-version="$(DEB_REVISION ) " \
27
31
--build-suffix="-ffmpeg" \
@@ -71,8 +75,8 @@ CONFIG := --prefix=/usr \
71
75
--enable-libx265 \
72
76
--enable-libxvid \
73
77
--enable-libzvbi \
74
- --enable-openal \
75
78
--enable-x11grab \
79
+ --disable-openal \
76
80
--disable-opengl \
77
81
--disable-htmlpages \
78
82
--disable-podpages \
94
98
ifneq ($(filter stage1,$(DEB_BUILD_PROFILES ) ) ,)
95
99
CONFIG += --disable-libx264 --disable-libopencv --disable-frei0r
96
100
else
97
- CONFIG += --enable-frei0r
98
-
99
- # Some libraries are unusable (#792921) on sparc64.
100
- ifeq (,$(filter $(DEB_HOST_ARCH),sparc64))
101
- CONFIG += --enable-libx264
102
- endif
103
-
104
- # OpenCV is not available on some architectures.
105
- ifeq (,$(filter $(DEB_HOST_ARCH),sh4 sparc64))
106
- CONFIG += --enable-libopencv
107
- endif
101
+ CONFIG += --enable-frei0r --enable-libx264 --enable-libopencv
108
102
endif
109
103
110
104
# Use the default debhelper scripts, where possible.
0 commit comments