Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2023 20:30:24 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 257973cd8e73 - main - cad/librepcb: update 0.1.6 =?utf-8?Q?=E2=86=92?= 1.0.0
Message-ID:  <202310312030.39VKUOKv090316@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=257973cd8e73b7bdf91b3207f746f0508c8c888d

commit 257973cd8e73b7bdf91b3207f746f0508c8c888d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-10-31 20:29:54 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-10-31 20:30:17 +0000

    cad/librepcb: update 0.1.6 → 1.0.0
    
    PR:             274832
    Reported by:    kunda <luzpaz@pm.me>
---
 cad/librepcb/Makefile  | 20 +++++++++++++++-----
 cad/librepcb/distinfo  |  6 +++---
 cad/librepcb/pkg-plist |  7 ++++++-
 3 files changed, 24 insertions(+), 9 deletions(-)

diff --git a/cad/librepcb/Makefile b/cad/librepcb/Makefile
index efc3c7edc2c7..9f02c5448433 100644
--- a/cad/librepcb/Makefile
+++ b/cad/librepcb/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	librepcb
-DISTVERSION=	0.1.6
+DISTVERSION=	1.0.0
 DISTVERSIONSUFFIX=	-source
-PORTREVISION=	1
 CATEGORIES=	cad
 MASTER_SITES=	https://download.librepcb.org/releases/${DISTVERSION}/
 
@@ -12,11 +11,22 @@ WWW=		https://librepcb.org/
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		cmake compiler:c++11-lang desktop-file-utils gl qt:5 shared-mime-info zip
-USE_QT=		concurrent core gui network opengl printsupport sql svg xml widgets \
+LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg4 \
+		libfontconfig.so:x11-fonts/fontconfig \
+		libfreeimage.so:graphics/freeimage \
+		libfreetype.so:print/freetype2 \
+		libTKService.so:cad/opencascade
+
+USES=		cmake compiler:c++11-lang desktop-file-utils gl \
+		localbase:ldflags qt:5 shared-mime-info xorg zip
+USE_QT=		concurrent core declarative gui network \
+		opengl printsupport quickcontrols2 sql svg xml widgets \
 		buildtools:build linguisttools:build testlib:build qmake:build
-USE_GL=		gl
+USE_GL=		gl glu
+USE_XORG=	x11
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
 
+CMAKE_ARGS=	-DCMAKE_PREFIX_PATH=${LOCALBASE}/lib # workaround for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274834
+
 .include <bsd.port.mk>
diff --git a/cad/librepcb/distinfo b/cad/librepcb/distinfo
index 9dc29b2930f2..50b9c6dfcc0d 100644
--- a/cad/librepcb/distinfo
+++ b/cad/librepcb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1637354142
-SHA256 (librepcb-0.1.6-source.zip) = 8c7bf475ed59eb5b5e4b13073b96b9468ee01fb6980ef2b3471b1fbb39c46721
-SIZE (librepcb-0.1.6-source.zip) = 12671974
+TIMESTAMP = 1698771946
+SHA256 (librepcb-1.0.0-source.zip) = 1bc57489367c8e0fafe23a88a6677c6c73d8f4cac3f2f9caa2f306dca0e70e0b
+SIZE (librepcb-1.0.0-source.zip) = 14000096
diff --git a/cad/librepcb/pkg-plist b/cad/librepcb/pkg-plist
index 1d64a78a3cb5..993679bd8c3d 100644
--- a/cad/librepcb/pkg-plist
+++ b/cad/librepcb/pkg-plist
@@ -8,6 +8,7 @@ share/icons/hicolor/32x32/apps/org.librepcb.LibrePCB.png
 share/icons/hicolor/48x48/apps/org.librepcb.LibrePCB.png
 share/icons/hicolor/64x64/apps/org.librepcb.LibrePCB.png
 share/icons/hicolor/scalable/apps/org.librepcb.LibrePCB.svg
+share/icons/hicolor/scalable/mimetypes/org.librepcb.LibrePCB-archive.svg
 share/icons/hicolor/scalable/mimetypes/org.librepcb.LibrePCB-file.svg
 share/icons/hicolor/scalable/mimetypes/org.librepcb.LibrePCB-project.svg
 %%DATADIR%%/README.md
@@ -24,11 +25,14 @@ share/icons/hicolor/scalable/mimetypes/org.librepcb.LibrePCB-project.svg
 %%DATADIR%%/i18n/librepcb_es.qm
 %%DATADIR%%/i18n/librepcb_fr.qm
 %%DATADIR%%/i18n/librepcb_it.qm
+%%DATADIR%%/i18n/librepcb_ko_KR.qm
 %%DATADIR%%/i18n/librepcb_pl.qm
 %%DATADIR%%/i18n/librepcb_ru_RU.qm
 %%DATADIR%%/i18n/librepcb_sk.qm
+%%DATADIR%%/i18n/librepcb_sv.qm
 %%DATADIR%%/i18n/librepcb_tr.qm
 %%DATADIR%%/i18n/librepcb_uk_UA.qm
+%%DATADIR%%/i18n/librepcb_zh-Hans.qm
 %%DATADIR%%/i18n/librepcb_zh_CN.qm
 %%DATADIR%%/i18n/librepcb_zh_TW.qm
 %%DATADIR%%/library/default_image.png
@@ -41,5 +45,6 @@ share/icons/hicolor/scalable/mimetypes/org.librepcb.LibrePCB-project.svg
 %%DATADIR%%/project/gitattributes_template
 %%DATADIR%%/project/gitignore_template
 %%DATADIR%%/project/readme_template
-share/metainfo/org.librepcb.LibrePCB.appdata.xml
+%%DATADIR%%/qml/testwindow.qml
+share/metainfo/org.librepcb.LibrePCB.metainfo.xml
 share/mime/packages/org.librepcb.LibrePCB.xml



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310312030.39VKUOKv090316>