# $OpenBSD: Makefile,v 1.4 2017/06/07 17:03:38 rsadowski Exp $

COMMENT =		KDE item models extending the Qt model-view framework
DISTNAME =		kitemmodels-${VERSION}

SHARED_LIBS =		KF5ItemModels		2.0

WANTLIB =		Qt5Core m

BUILD_DEPENDS =		x11/qt5/qtdeclarative \
			x11/qt5/qtquickcontrols

RUN_DEPENDS =		x11/qt5/qtdeclarative \
			x11/qt5/qtquickcontrols

# The PythonModuleGeneration CMake find module picks up highest Python3
# version it could find, and fails to build anyway.
# The module needs more fixes. Also, it's not clear how to deal
# with multiple Python dependencies.
CONFIGURE_ARGS =	-DCMAKE_DISABLE_FIND_PACKAGE_PythonModuleGeneration=Yes

TEST_IS_INTERACTIVE =	X11

.include <bsd.port.mk>
