Files
2026-10-04 04:07:15 +00:00

29 lines
810 B
Makefile

PORTNAME= 3d
DISTVERSION= ${QT6_VERSION}
CATEGORIES= graphics
PKGNAMEPREFIX= qt6-
MAINTAINER= kde@FreeBSD.org
COMMENT= C++ and QML APIs for easy inclusion of 3D graphics
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cyclonedx-python-lib>0:textproc/py-cyclonedx-python-lib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}spdx-tools>=0.8.3:misc/py-spdx-tools@${PY_FLAVOR} \
vulkan-headers>=1.4:graphics/vulkan-headers
LIB_DEPENDS= libassimp.so:multimedia/assimp \
libxkbcommon.so:x11/libxkbcommon
USES= cmake compiler:c++17-lang gl python:build pkgconfig qt-dist:6
USE_GL= opengl
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
USE_QT= base declarative shadertools
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64 || ${ARCH} == i386
PLIST_SUB+= SIMD=""
.else
PLIST_SUB+= SIMD="@comment "
.endif
.include <bsd.port.post.mk>