File: rules

package info (click to toggle)
weston 6.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 8,424 kB
  • sloc: ansic: 108,168; sh: 4,369; makefile: 1,506; xml: 819
file content (34 lines) | stat: -rwxr-xr-x 1,016 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
#!/usr/bin/make -f

override_dh_auto_configure:
	dh_auto_configure -- -Dscreenshare=true \
		-Dsystemd=true -Dsimple-dmabuf-drm=auto

override_dh_auto_test:
	# the test suite does not 100% pass in headless mode
	dh_auto_test || true

override_dh_missing:
	dh_missing --fail-missing -X.la

override_dh_makeshlibs:
	dh_makeshlibs -Xlibweston-6/ -- -c4

override_dh_fixperms:
	dh_fixperms -Xusr/bin/weston-launch

# Workaround for https://gitlab.freedesktop.org/wayland/weston/issues/269
override_dh_install:
	sed -e '/libdir=/d' \
	    -e '/includedir=/d' \
	    -i debian/tmp/usr/share/pkgconfig/libweston-6-protocols.pc
	dh_install

%:
	dh $@ --with quilt --buildsystem=meson

# For maintainer use only, generate a tarball:
gentarball: SOURCE=$(shell dpkg-parsechangelog|awk '/^Source:/ {print $$2}')
gentarball: UV=$(shell dpkg-parsechangelog|awk '/^Version:/ {print $$2}'|sed 's/-.*$$//')
gentarball:
	git archive --format=tar upstream-unstable --prefix=$(SOURCE)-$(UV)/ | gzip -9 > ../$(SOURCE)_$(UV).orig.tar.gz