Name libdecor-0-0
Description client-side window decoration library
Version 0.2.2-1build2
Package Base libdecor-0
Homepage https://gitlab.freedesktop.org/libdecor/libdecor
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors [' Christian Rauch <Rauch.Christian@gmx.de>', 'Simon McVittie <smcv@debian.org>']
Distro-repo https://git.launchpad.net/ubuntu/+source/libdecor-0/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/libdecor-0-0/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6', 'libwayland-client0']
Optional-Dependencies ['default-libdecor-0-plugin-1', 'libdecor-0-plugin-1']
Build-Dependencies ['debhelper-compat', 'libcairo2-dev', 'libdbus-1-dev', 'libegl-dev <!noinsttest>', 'libgl-dev <!noinsttest>', 'libgtk-3-dev', 'libopengl-dev <!noinsttest>', 'libpango1.0-dev', 'libwayland-dev', 'libxkbcommon-dev <!noinsttest>', 'meson', 'pkg-config', 'wayland-protocols']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 64bf085d16e504e9ed39b91d2a46748fb8881ad7f3603fbacef6c11c04aa7064
#!/usr/bin/make -f
#export DH_VERBOSE = 1
#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

include /usr/share/dpkg/default.mk

lib = libdecor-0-0

%:
	dh $@

debian/$(lib).symbols: debian/$(lib).symbols.in
	sed -e 's/[$$]{DEB_VERSION}/${DEB_VERSION}/g' \
		< $< > $@

built_binaries := $(shell dh_listpackages)
configure_options =

ifneq ($(filter libdecor-tests,$(built_binaries)),)
configure_options += -Ddemo=true
configure_options += -Dinstall_demo=true
else
configure_options += -Ddemo=false
endif

override_dh_auto_configure:
	dh_auto_configure -- $(configure_options)

ifeq ($(DEB_DISTRIBUTION),UNRELEASED)
# We can't expect the symbols file to be fully up to date for a snapshot,
# so only fail if we broke ABI. This overrides the -c4 below.
export DPKG_GENSYMBOLS_CHECK_LEVEL = 1
endif

override_dh_makeshlibs: debian/$(lib).symbols
	dh_makeshlibs -- -c4