Name libgudev
Description
Version
Package Base
Homepage
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors ['Jeremy BĂ­cha <jbicha@ubuntu.com>', 'Michael Biebl <biebl@debian.org>']
Distro-repo https://git.launchpad.net/ubuntu/+source/libgudev/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/libgudev/plain/debian/watch?h=ubuntu/noble']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'dh-sequence-gir', 'dh-sequence-gnome', 'meson', 'pkg-config', 'gtk-doc-tools', 'libglib2.0-dev', 'libudev-dev', 'libgirepository1.0-dev', 'libglib2.0-doc', 'libumockdev-dev <!nocheck>', 'umockdev <!nocheck>', 'locales-all <!nocheck>']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash
#! /usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1

include /usr/share/dpkg/default.mk

%:
	dh $@

ifeq (, $(filter nocheck, $(DEB_BUILD_OPTIONS)))
CONFFLAGS = -Dtests=enabled
else
CONFFLAGS = -Dtests=disabled
endif

override_dh_auto_configure:
	dh_auto_configure -- \
		-Dgtk_doc=true \
		-Dintrospection=enabled \
		$(CONFFLAGS)

override_dh_makeshlibs:
	dh_makeshlibs -- -c4

override_dh_gencontrol:
	# Ubuntu has an epoch on gudev
	if dpkg-vendor --is ubuntu; then \
		dh_gencontrol -- "-v1:$(DEB_VERSION)"; \
	else \
		dh_gencontrol; \
	fi

override_dh_gnome_clean:
	dh_gnome_clean --no-control