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
|
#!/usr/bin/make -f
override_dh_auto_configure:
dh_auto_configure -- --disable-libunwind --libexec=/usr/lib/weston \
--with-cairo=image --enable-screen-sharing \
--enable-systemd-notify
override_dh_auto_test:
# the test suite does not 100% pass in headless mode
dh_auto_test || true
override_dh_install:
dh_install --fail-missing -X.la
override_dh_makeshlibs:
dh_makeshlibs -Xlibweston-5/ -- -c4
override_dh_fixperms:
dh_fixperms -Xusr/bin/weston-launch
%:
dh $@ --with quilt
# 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
|