freebsd-ports/devel/qschematic/Makefile
Joel Bodenmann d8d10ec3fa devel/qschematic: Update to 1.5.1
Changelog: https://github.com/simulton/QSchematic/releases/tag/1.5.1

Sponsored by:	Simulton GmbH
Approved by:	tcberner (mentor, implicit)
2023-12-04 01:49:47 +01:00

31 lines
839 B
Makefile

PORTNAME= qschematic
DISTVERSION= 1.5.1
CATEGORIES= devel
MAINTAINER= jbo@FreeBSD.org
COMMENT= Qt/C++ library providing widgets for drawing diagrams
WWW= https://github.com/simulton/qschematic
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/license.txt
LIB_DEPENDS= libgpds.so:devel/gpds
USES= cmake compiler:c++17-lang qt:6
USE_QT= base
USE_GITHUB= yes
GH_ACCOUNT= simulton
GH_PROJECT= QSchematic
CMAKE_ARGS= -DQSCHEMATIC_DEPENDENCY_GPDS_TARGET:STRING="gpds::gpds-shared"
CMAKE_OFF= QSCHEMATIC_BUILD_DEMO QSCHEMATIC_DEPENDENCY_GPDS_DOWNLOAD
# Since the update from USES qt:5 to qt:6 there appears to be some overlinking
# resulting in pulling in OpenGL which is not needed by upstream.
# Put a "workaround" in place until we get to investigate this.
LDFLAGS+= -Wl,--as-needed
PLIST_SUB= DISTVERSION=${DISTVERSION}
.include <bsd.port.mk>