Name graphene
Description
Version
Package Base
Homepage
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors ['Jeremy Bicha <jbicha@ubuntu.com>', 'Laurent Bigonville <bigon@debian.org>']
Distro-repo https://git.launchpad.net/ubuntu/+source/graphene/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/graphene/plain/debian/watch?h=ubuntu/noble']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'dh-sequence-gir', 'dh-sequence-python3', 'gir1.2-gobject-2.0-dev', 'gobject-introspection', 'gobject-introspection', 'libglib2.0-dev', 'meson', 'pkg-config']
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,-O1 -Wl,-z,defs
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

CONFFLAGS = \
	-Dintrospection=enabled \
	$(NULL)

ifneq (,$(filter libgraphene-doc,$(shell dh_listpackages)))
  CONFFLAGS+=-Dgtk_doc=true
else
  CONFFLAGS+=-Dgtk_doc=false
endif

# https://github.com/ebassi/graphene/issues/97
# https://github.com/ebassi/graphene/issues/215
ifneq (,$(filter $(DEB_HOST_ARCH),armhf))
CONFFLAGS +=  -Darm_neon=false
endif

# As of 2021, Debian's i386 baseline has no MMX or SSE
ifneq (,$(filter $(DEB_HOST_ARCH_CPU),i386))
CONFFLAGS += -Dsse2=false
endif

ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
CONFFLAGS += --cross-file=$(DEB_HOST_GNU_TYPE)-gobject-introspection.ini
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(CONFFLAGS)

override_dh_python3:
	dh_python3 /usr/libexec/installed-tests/graphene-1.0