summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: c2ca7f0e86401937656665f715205b6f04c31b84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS := hardening=+all # #741439, #799738

ifeq ($(DEB_HOST_ARCH_OS),linux)
  ARCH_CONFIGURE = -Ddvbin=enabled
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-Dlibmpv=true \
		-Dbuild-date=false \
		-Dcdda=enabled \
		-Ddvdnav=enabled \
		-Dsdl2=enabled \
		-Davfoundation=disabled \
		-Degl-angle-win32=disabled \
		-Dgl-cocoa=disabled \
		-Dgl-win32=disabled \
		-Dios-gl=disabled \
		-Dsndio=disabled \
		-Duwp=disabled \
		-Dvaapi-win32=disabled \
		-Dwasapi=disabled \
		-Dwin32-threads=disabled \
		$(ARCH_CONFIGURE)

execute_after_dh_auto_install:
	mv debian/tmp/usr/share/zsh/site-functions debian/tmp/usr/share/zsh/vendor-completions

override_dh_installchangelogs:
	dh_installchangelogs RELEASE_NOTES