Name lcms2
Description
Version 2.16-2
Package Base
Homepage
Maintainers ['Thomas Weber <tweber@debian.org>']
Contributors []
Distro-repo https://salsa.debian.org/debian/lcms2
Sources ['https://sources.debian.org/data/main/l/lcms2/2.16-2/debian/watch', 'https://sources.debian.org/src/lcms2/2.16-2/debian/patches/build-plugins-as-static-libraries-only.patch', 'https://sources.debian.org/src/lcms2/2.16-2/debian/patches/keep-src-tree-clean.patch', 'https://sources.debian.org/src/lcms2/2.16-2/debian/patches/manpages-cleanup.patch', 'https://sources.debian.org/src/lcms2/2.16-2/debian/patches/prepare-for-libtoolizing.patch', 'https://sources.debian.org/src/lcms2/2.16-2/debian/patches/series', 'https://sources.debian.org/src/lcms2/2.16-2/debian/patches/unbreak-API-compatibility.patch']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'libjpeg-dev', 'libtiff-dev', 'zlib1g-dev', 'meson', 'pkgconf']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

CONFFLAGS = \
	    -D utils=true \
	    -D fastfloat=true \
	    -D threaded=true \
	    -D default_library=both

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

# additionally enable PIE and BINDNOW, https://wiki.debian.org/Hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Fix for https://bugs.debian.org/749975, after changes to upstream code in 2.8
# see also https://github.com/mm2/Little-CMS/issues/32
# https://lists.debian.org/debian-mentors/2016/10/msg00158.html
# Applied in /usr/share/dpkg/buildflags.mk
export DEB_CPPFLAGS_MAINT_APPEND = -DCMS_PTR_ALIGNMENT=_Alignof\(double\)

%:
	dh $@ --without autoreconf --buildsystem=meson

# dh_strip_nondeterminism repackages the src.zip file, which is completely
# unnecessary
# Bug fix for 935177
.PHONY: override_dh_strip_nondeterminism
override_dh_strip_nondeterminism:
	dh_strip_nondeterminism --exclude=src.zip

# pass configuration flags
.PHONY: override_dh_auto_configure
override_dh_auto_configure:
	dh_auto_configure -- $(CONFFLAGS)

# don't run the tests in parallel and grant them more time each
# to allow them to finish on slower build hosts
.PHONY: override_dh_auto_test-arch
override_dh_auto_test-arch:
	dh_auto_test --no-parallel -- --timeout-multiplier 6