Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jun 2026 10:00:25 +0000
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6b30bf116a57 - main - cad/qtjsapi: new port required by cad/qcad
Message-ID:  <6a1d5839.3a7f7.2fd6da89@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6b30bf116a578e859c0c974fd90080a1e8ffc3af

commit 6b30bf116a578e859c0c974fd90080a1e8ffc3af
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2026-06-01 09:51:36 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-06-01 10:00:20 +0000

    cad/qtjsapi: new port required by cad/qcad
    
    Remark: maintainer set to mr, because it has to be maintained with QCAD.
    
    PR:             295682
    Approved by:    mr (maintainer)
---
 cad/Makefile          |  1 +
 cad/qtjsapi/Makefile  | 31 +++++++++++++++++++++++++++++++
 cad/qtjsapi/distinfo  |  3 +++
 cad/qtjsapi/pkg-descr |  4 ++++
 4 files changed, 39 insertions(+)

diff --git a/cad/Makefile b/cad/Makefile
index b331419629ac..76a381c20076 100644
--- a/cad/Makefile
+++ b/cad/Makefile
@@ -131,6 +131,7 @@
     SUBDIR += qmls
     SUBDIR += qrouter
     SUBDIR += qspeakers
+    SUBDIR += qtjsapi
     SUBDIR += qucs-s
     SUBDIR += qucsator
     SUBDIR += repsnapper
diff --git a/cad/qtjsapi/Makefile b/cad/qtjsapi/Makefile
new file mode 100644
index 000000000000..fef512bde174
--- /dev/null
+++ b/cad/qtjsapi/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	qtjsapi
+DISTVERSIONPREFIX=	v
+DISTVERSION=	3.32.9.0
+CATEGORIES=	cad devel
+
+MAINTAINER=	mr@FreeBSD.org
+COMMENT=	QJSEngine bindings for the Qt 6 API
+WWW=		https://www.ribbonsoft.com/qcad.html
+
+LICENSE=	MIT
+
+LIB_DEPENDS=	libcups.so:print/cups
+
+USES=		compiler:c++17-lang cmake gl qt:6
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	qcad
+
+USE_QT=		5compat base declarative svg tools
+USE_GL=		opengl
+USE_LDCONFIG=	yes
+
+PLIST_FILES=	lib/libqtjsapi.so	\
+		lib/libqtjsapi.so.0
+
+do-install:
+	${INSTALL_LIB} ${BUILD_WRKSRC}/out/libqtjsapi.so	\
+		${STAGEDIR}${PREFIX}/lib/libqtjsapi.so.0
+	${LN} -sf libqtjsapi.so.0 ${STAGEDIR}${PREFIX}/lib/libqtjsapi.so
+
+.include <bsd.port.mk>
diff --git a/cad/qtjsapi/distinfo b/cad/qtjsapi/distinfo
new file mode 100644
index 000000000000..b6c6c74927cb
--- /dev/null
+++ b/cad/qtjsapi/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1779897010
+SHA256 (qcad-qtjsapi-v3.32.9.0_GH0.tar.gz) = 7b4954254d0389c86c3c353d5e8073b613b3fab1d5ebce0743eff7e68606e97f
+SIZE (qcad-qtjsapi-v3.32.9.0_GH0.tar.gz) = 3231001
diff --git a/cad/qtjsapi/pkg-descr b/cad/qtjsapi/pkg-descr
new file mode 100644
index 000000000000..6bc9b80d4b84
--- /dev/null
+++ b/cad/qtjsapi/pkg-descr
@@ -0,0 +1,4 @@
+QtJSAPI replaces the Qt Script based qtscriptgenerator for Qt 5 which was made
+obsolete when the Qt Script module was declared deprecated.
+
+It is required by QCAD.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1d5839.3a7f7.2fd6da89>