File: rules

package info (click to toggle)
mpv 0.39.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 12,064 kB
  • sloc: ansic: 148,551; python: 1,142; sh: 652; javascript: 621; cpp: 464; objc: 315; pascal: 49; xml: 29; makefile: 28
file content (36 lines) | stat: -rwxr-xr-x 802 bytes parent folder | download
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
#!/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 \
		-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