Name libopenexr-3-1-30
Description runtime files for the OpenEXR image library
Version 3.1.13-2
Package Base openexr
Homepage https://www.openexr.com
Maintainers ['Debian PhotoTools Maintainers <pkg-phototools-devel@lists.alioth.debian.org>']
Contributors ['Mathieu Malaterre <malat@debian.org>']
Distro-repo https://salsa.debian.org/debian-phototools-team/openexr
Sources ['https://sources.debian.org/data/main/o/openexr/3.1.13-2/debian/watch', 'https://sources.debian.org/src/openexr/3.1.13-2/debian/patches/CVE-2024-31047.patch', 'https://sources.debian.org/src/openexr/3.1.13-2/debian/patches/gcc14.patch', 'https://sources.debian.org/src/openexr/3.1.13-2/debian/patches/series']
Dependencies ['libc6', 'libgcc-s1', 'libimath-3-1-29t64', 'libstdc++6', 'zlib1g']
Optional-Dependencies []
Build-Dependencies ['cmake', 'debhelper-compat', 'libimath-dev', 'pkg-config', 'zlib1g-dev']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash a3e2304380465c787eca5101d6673b2f6e7a2198d4b9521b485dce37ac1fa15d
#!/usr/bin/make -f

export DH_OPTIONS
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

INSTDIR = debian/tmp

# deduce documentation option (build-indep target)
ifeq "" "$(filter %-doc,$(shell dh_listpackages))"
  BUILDDOC = -DBUILD_DOCS=OFF
else
  BUILDDOC = -DBUILD_DOCS=ON -DSPHINX_OPTS=""
endif

%:
	dh $@ -Bbuild -Scmake

override_dh_auto_configure:
	dh_auto_configure -- \
		$(BUILDDOC)

override_dh_install:
	rm -f $(INSTDIR)/usr/share/doc/OpenEXR/sphinx/_static/doctools.js
	rm -f $(INSTDIR)/usr/share/doc/OpenEXR/sphinx/_static/jquery.js
	rm -f $(INSTDIR)/usr/share/doc/OpenEXR/sphinx/_static/language_data.js
	rm -f $(INSTDIR)/usr/share/doc/OpenEXR/sphinx/_static/searchtools.js
	rm -f $(INSTDIR)/usr/share/doc/OpenEXR/sphinx/_static/underscore.js
	rm -f $(INSTDIR)/usr/share/doc/OpenEXR/sphinx/.buildinfo
	rm -rf $(INSTDIR)/usr/share/doc/OpenEXR/sphinx/.doctrees
	dh_install

override_dh_auto_test: