git: 4c1245f3d487 - main - cad/solvespace: Update to 3.1

From: Loïc Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Thu, 27 Oct 2022 07:46:50 UTC
The branch main has been updated by lbartoletti:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4c1245f3d487c2004f25687c793a4459261f07ad

commit 4c1245f3d487c2004f25687c793a4459261f07ad
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2022-10-27 07:46:30 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2022-10-27 07:46:46 +0000

    cad/solvespace: Update to 3.1
---
 cad/solvespace/Makefile  |  8 +++++---
 cad/solvespace/distinfo  |  8 +++++---
 cad/solvespace/pkg-plist | 18 ++++++++----------
 3 files changed, 18 insertions(+), 16 deletions(-)

diff --git a/cad/solvespace/Makefile b/cad/solvespace/Makefile
index 2cad0530f3a1..77cfac8523e9 100644
--- a/cad/solvespace/Makefile
+++ b/cad/solvespace/Makefile
@@ -1,9 +1,11 @@
 PORTNAME=	solvespace
-PORTVERSION=	3.0
-PORTREVISION=	2
+PORTVERSION=	3.1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	cad
 
+PATCH_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/commit/
+PATCHFILES=	6b9e7b2e.patch:-p1
+
 MAINTAINER=	lbartoletti@FreeBSD.org
 COMMENT=	Parametric 2d/3d CAD
 WWW=		https://solvespace.com/
@@ -16,7 +18,7 @@ LIB_DEPENDS=	libpng.so:graphics/png \
 		libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2
 
-USES=		cmake compiler:c++11-lang gl gnome pkgconfig xorg
+USES=		cmake compiler:c++11-lang eigen:3 gl gnome pkgconfig xorg
 USE_GL=		gl glu glew
 USE_GNOME=	gtkmm30 pangomm
 USE_XORG=	x11
diff --git a/cad/solvespace/distinfo b/cad/solvespace/distinfo
index b4f6a37abcab..de6a1ce42b33 100644
--- a/cad/solvespace/distinfo
+++ b/cad/solvespace/distinfo
@@ -1,7 +1,9 @@
-TIMESTAMP = 1642703513
-SHA256 (solvespace-solvespace-v3.0_GH0.tar.gz) = 04cda618fbbbe2db92713adf2fff4264017f858bac6f737c9da11efab693be4f
-SIZE (solvespace-solvespace-v3.0_GH0.tar.gz) = 2734860
+TIMESTAMP = 1666849226
+SHA256 (solvespace-solvespace-v3.1_GH0.tar.gz) = ab4b3a5fecb1800f8eab82a92138a70227e869d2066ee881441b1e13035786dc
+SIZE (solvespace-solvespace-v3.1_GH0.tar.gz) = 2764243
 SHA256 (microsoft-mimalloc-38a0322_GH0.tar.gz) = 6c55dd5a42e1fd49ec8c765163731f68072b7311a2ee021499bba3f9c92bf78d
 SIZE (microsoft-mimalloc-38a0322_GH0.tar.gz) = 908347
 SHA256 (solvespace-libdxfrw-0b7b7b7_GH0.tar.gz) = 4a7e6fc588b9c9846a24452677873a5ea5a91c4ef663d089169376bb88dc2b61
 SIZE (solvespace-libdxfrw-0b7b7b7_GH0.tar.gz) = 691514
+SHA256 (6b9e7b2e.patch) = 8372afe552f834aa1f080c629503e4cb288077928b3c98d2e73a3f4da14ced52
+SIZE (6b9e7b2e.patch) = 4129
diff --git a/cad/solvespace/pkg-plist b/cad/solvespace/pkg-plist
index e9759b104b76..549eeb769086 100644
--- a/cad/solvespace/pkg-plist
+++ b/cad/solvespace/pkg-plist
@@ -3,23 +3,20 @@ bin/solvespace-cli
 include/slvs.h
 lib/libslvs.so
 lib/libslvs.so.1
-lib/libslvs.so.3.0
+lib/libslvs.so.3.1
 share/applications/solvespace.desktop
 share/icons/hicolor/16x16/apps/solvespace.png
-share/icons/hicolor/16x16/mimetypes/application.x-solvespace.png
+share/icons/hicolor/16x16/mimetypes/application-x-solvespace.png
 share/icons/hicolor/24x24/apps/solvespace.png
-share/icons/hicolor/24x24/mimetypes/application.x-solvespace.png
+share/icons/hicolor/24x24/mimetypes/application-x-solvespace.png
 share/icons/hicolor/32x32/apps/solvespace.png
-share/icons/hicolor/32x32/mimetypes/application.x-solvespace.png
+share/icons/hicolor/32x32/mimetypes/application-x-solvespace.png
 share/icons/hicolor/48x48/apps/solvespace.png
-share/icons/hicolor/48x48/mimetypes/application.x-solvespace.png
+share/icons/hicolor/48x48/mimetypes/application-x-solvespace.png
 share/icons/hicolor/scalable/apps/solvespace.svg
-share/icons/hicolor/scalable/mimetypes/application.x-solvespace.svg
+share/icons/hicolor/scalable/mimetypes/application-x-solvespace.svg
+share/metainfo/com.solvespace.SolveSpace.metainfo.xml
 share/mime/packages/solvespace-slvs.xml
-share/pixmaps/solvespace-16x16.xpm
-share/pixmaps/solvespace-24x24.xpm
-share/pixmaps/solvespace-32x32.xpm
-share/pixmaps/solvespace-48x48.xpm
 %%DATADIR%%/banner.txt
 %%DATADIR%%/fonts/BitstreamVeraSans-Roman-builtin.ttf
 %%DATADIR%%/fonts/private/0-check-false.png
@@ -83,6 +80,7 @@ share/pixmaps/solvespace-48x48.xpm
 %%DATADIR%%/locales.txt
 %%DATADIR%%/locales/de_DE.po
 %%DATADIR%%/locales/en_US.po
+%%DATADIR%%/locales/es_AR.po
 %%DATADIR%%/locales/fr_FR.po
 %%DATADIR%%/locales/ru_RU.po
 %%DATADIR%%/locales/tr_TR.po