2023-02-23 21:06:50 +01:00
|
|
|
#!/usr/bin/make -f
|
2024-01-28 18:55:17 +01:00
|
|
|
|
|
|
|
export DEB_CFLAGS_MAINT_APPEND=-Wno-error
|
|
|
|
export DEB_LDFLAGS_MAINT_APPEND=-Wno-error
|
|
|
|
export DEB_BUILD_OPTIONS=nocheck
|
|
|
|
|
2023-02-23 21:06:50 +01:00
|
|
|
include /usr/share/dpkg/pkg-info.mk
|
|
|
|
|
|
|
|
SUPPORT = https://www.debian.org/support
|
|
|
|
|
|
|
|
%:
|
|
|
|
dh $@ --buildsystem=meson
|
|
|
|
|
|
|
|
override_dh_auto_configure:
|
|
|
|
dh_auto_configure -- \
|
2023-07-14 17:06:35 +02:00
|
|
|
-Dbuilder_addr="debian-x@lists.debian.org" \
|
|
|
|
-Dbuilder_string="$(DEB_SOURCE) $(DEB_VERSION_UPSTREAM) ($(SUPPORT))" \
|
|
|
|
-Dxkb_dir=/usr/share/X11/xkb \
|
|
|
|
-Dxkb_output_dir=/var/lib/xkb \
|
|
|
|
-Dxwayland_eglstream=true \
|
|
|
|
-Dxcsecurity=true \
|
|
|
|
-Dglamor=true \
|
|
|
|
-Ddri3=true
|
2023-02-23 21:06:50 +01:00
|
|
|
|
|
|
|
override_dh_auto_install:
|
|
|
|
dh_auto_install --destdir=debian/tmp
|
|
|
|
|
2023-02-25 14:23:53 +01:00
|
|
|
rm -rf debian/tmp/usr/lib/*/xorg/protocol.txt
|
|
|
|
rm -f debian/tmp/usr/share/man/man1/Xserver.1
|
|
|
|
|
2023-02-23 21:06:50 +01:00
|
|
|
override_dh_clean:
|
|
|
|
dh_clean
|
|
|
|
rm -rf debian/build
|
|
|
|
rm -rf build-source
|
|
|
|
rm -f aclocal.m4 ltmain.sh m4/l*.m4
|
|
|
|
|
|
|
|
gentarball:
|
|
|
|
git archive --format=tar upstream-unstable --prefix=$(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM)/ \
|
|
|
|
| gzip -9 > ../$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz
|