#!/usr/bin/make -f

%:
	dh $@ --with kde --parallel 

# : Force to use local libkipi, libkexiv2, and libkdcraw implementation

override_dh_auto_configure:
	LDFLAGS="$(LDFLAGS) -Wl,--as-needed" dh_auto_configure --buildsystem=kde \
                -- -DDIGIKAMSC_COMPILE_DOC=on -DDIGIKAMSC_COMPILE_PO=on -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on


override_dh_installchangelogs:
	dh_installchangelogs core/ChangeLog 

# conflicts with oxygen-icon-theme package
override_dh_install:
	dh_install -Xmultithread -Xoxygen -XREADME.MACOSX --fail-missing

#override_dh_strip:
#	dh_strip -a --dbg-package=digikam-dbg

# auto tests require user interaction - override
override_dh_auto_test:

