git: 236413039159 - main - science/avogadro2: Update 1.94.0 -> 1.95.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 05 Feb 2022 09:44:27 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=236413039159aa0fef3ae9dad871930fece348e6

commit 236413039159aa0fef3ae9dad871930fece348e6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-02-05 09:43:48 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-02-05 09:44:22 +0000

    science/avogadro2: Update 1.94.0 -> 1.95.1
---
 science/avogadro2/Makefile  |  16 +++----
 science/avogadro2/distinfo  |  10 ++--
 science/avogadro2/pkg-plist | 114 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 129 insertions(+), 11 deletions(-)

diff --git a/science/avogadro2/Makefile b/science/avogadro2/Makefile
index a0a5228f85e3..2c4dd0b658d0 100644
--- a/science/avogadro2/Makefile
+++ b/science/avogadro2/Makefile
@@ -1,8 +1,9 @@
 PORTNAME=	avogadro2
-DISTVERSION=	1.94.0
-PORTREVISION=	1
+DISTVERSION=	1.95.1
 CATEGORIES=	science
 
+# REGRESSION: https://github.com/OpenChemistry/avogadroapp/issues/191
+
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Chemical editor and visualization application
 
@@ -14,16 +15,15 @@ LIB_DEPENDS=	libAvogadroCore.so:science/avogadrolibs \
 		libMoleQueueClient.so:misc/molequeue
 
 USES=		cmake compiler:c++11-lang desktop-file-utils gl libarchive qt:5
-USE_GITHUB=	yes
-GH_ACCOUNT=	OpenChemistry
-GH_PROJECT=	avogadroapp
 USE_QT=		core concurrent gui network widgets buildtools_build qmake_build
 USE_GL=		gl glew glu
 USE_LDCONFIG=	yes
 
-PLIST_FILES=	bin/avogadro2 \
-		share/applications/avogadro2.desktop \
-		share/pixmaps/avogadro2.png
+USE_GITHUB=	yes
+GH_ACCOUNT=	OpenChemistry
+GH_PROJECT=	avogadroapp
+GH_TUPLE=	flathub:shared-modules:a79072c:flathub_shared_modules/flatpak/shared-modules \
+		openchemistry:avogadro-i18n:3b8a86c:i18n/../avogadro-i18n
 
 post-install:
 	@${RM} -r ${STAGEDIR}${PREFIX}/share/doc
diff --git a/science/avogadro2/distinfo b/science/avogadro2/distinfo
index 230e3da5dd81..32709bc978b4 100644
--- a/science/avogadro2/distinfo
+++ b/science/avogadro2/distinfo
@@ -1,3 +1,7 @@
-TIMESTAMP = 1622830660
-SHA256 (OpenChemistry-avogadroapp-1.94.0_GH0.tar.gz) = ba393d009038f5af2cde3081a4fb939d6ae8d41d5c01030a551afb660c3ce683
-SIZE (OpenChemistry-avogadroapp-1.94.0_GH0.tar.gz) = 2880197
+TIMESTAMP = 1644053195
+SHA256 (OpenChemistry-avogadroapp-1.95.1_GH0.tar.gz) = d59694a6b32bb95317c66f4c806fe05d46e7e3ca4e594aa214bf9dd7e179b317
+SIZE (OpenChemistry-avogadroapp-1.95.1_GH0.tar.gz) = 2888376
+SHA256 (flathub-shared-modules-a79072c_GH0.tar.gz) = 45dc41f69aa6d07d32741a99849662db4b35224df6d4f7b87972a3f9f74b0f61
+SIZE (flathub-shared-modules-a79072c_GH0.tar.gz) = 57263
+SHA256 (openchemistry-avogadro-i18n-3b8a86c_GH0.tar.gz) = 0860dd40c0cbf07d0fe498059a9c2d098e5cef05f29a4c737c4a2bf06d2d32b7
+SIZE (openchemistry-avogadro-i18n-3b8a86c_GH0.tar.gz) = 799351
diff --git a/science/avogadro2/pkg-plist b/science/avogadro2/pkg-plist
new file mode 100644
index 000000000000..c98046135d8a
--- /dev/null
+++ b/science/avogadro2/pkg-plist
@@ -0,0 +1,114 @@
+bin/avogadro2
+share/applications/avogadro2.desktop
+%%DATADIR%%/i18n/avogadroapp-af.qm
+%%DATADIR%%/i18n/avogadroapp-ar.qm
+%%DATADIR%%/i18n/avogadroapp-bg.qm
+%%DATADIR%%/i18n/avogadroapp-bs.qm
+%%DATADIR%%/i18n/avogadroapp-ca.qm
+%%DATADIR%%/i18n/avogadroapp-ca@valencia.qm
+%%DATADIR%%/i18n/avogadroapp-cs.qm
+%%DATADIR%%/i18n/avogadroapp-da.qm
+%%DATADIR%%/i18n/avogadroapp-de.qm
+%%DATADIR%%/i18n/avogadroapp-el.qm
+%%DATADIR%%/i18n/avogadroapp-en_AU.qm
+%%DATADIR%%/i18n/avogadroapp-en_CA.qm
+%%DATADIR%%/i18n/avogadroapp-en_GB.qm
+%%DATADIR%%/i18n/avogadroapp-eo.qm
+%%DATADIR%%/i18n/avogadroapp-es.qm
+%%DATADIR%%/i18n/avogadroapp-et.qm
+%%DATADIR%%/i18n/avogadroapp-eu.qm
+%%DATADIR%%/i18n/avogadroapp-fa.qm
+%%DATADIR%%/i18n/avogadroapp-fi.qm
+%%DATADIR%%/i18n/avogadroapp-fr.qm
+%%DATADIR%%/i18n/avogadroapp-fr_CA.qm
+%%DATADIR%%/i18n/avogadroapp-gl.qm
+%%DATADIR%%/i18n/avogadroapp-he.qm
+%%DATADIR%%/i18n/avogadroapp-hi.qm
+%%DATADIR%%/i18n/avogadroapp-hr.qm
+%%DATADIR%%/i18n/avogadroapp-hu.qm
+%%DATADIR%%/i18n/avogadroapp-id.qm
+%%DATADIR%%/i18n/avogadroapp-it.qm
+%%DATADIR%%/i18n/avogadroapp-ja.qm
+%%DATADIR%%/i18n/avogadroapp-kn.qm
+%%DATADIR%%/i18n/avogadroapp-ko.qm
+%%DATADIR%%/i18n/avogadroapp-ms.qm
+%%DATADIR%%/i18n/avogadroapp-nb.qm
+%%DATADIR%%/i18n/avogadroapp-nl.qm
+%%DATADIR%%/i18n/avogadroapp-oc.qm
+%%DATADIR%%/i18n/avogadroapp-pl.qm
+%%DATADIR%%/i18n/avogadroapp-pt.qm
+%%DATADIR%%/i18n/avogadroapp-pt_BR.qm
+%%DATADIR%%/i18n/avogadroapp-ro.qm
+%%DATADIR%%/i18n/avogadroapp-ru.qm
+%%DATADIR%%/i18n/avogadroapp-sa.qm
+%%DATADIR%%/i18n/avogadroapp-sk.qm
+%%DATADIR%%/i18n/avogadroapp-sl.qm
+%%DATADIR%%/i18n/avogadroapp-sq.qm
+%%DATADIR%%/i18n/avogadroapp-sr.qm
+%%DATADIR%%/i18n/avogadroapp-sv.qm
+%%DATADIR%%/i18n/avogadroapp-ta.qm
+%%DATADIR%%/i18n/avogadroapp-te.qm
+%%DATADIR%%/i18n/avogadroapp-th.qm
+%%DATADIR%%/i18n/avogadroapp-tr.qm
+%%DATADIR%%/i18n/avogadroapp-ug.qm
+%%DATADIR%%/i18n/avogadroapp-uk.qm
+%%DATADIR%%/i18n/avogadroapp-vi.qm
+%%DATADIR%%/i18n/avogadroapp-zh_CN.qm
+%%DATADIR%%/i18n/avogadroapp-zh_TW.qm
+%%DATADIR%%/i18n/avogadrolibs-af.qm
+%%DATADIR%%/i18n/avogadrolibs-ar.qm
+%%DATADIR%%/i18n/avogadrolibs-bg.qm
+%%DATADIR%%/i18n/avogadrolibs-bs.qm
+%%DATADIR%%/i18n/avogadrolibs-ca.qm
+%%DATADIR%%/i18n/avogadrolibs-ca@valencia.qm
+%%DATADIR%%/i18n/avogadrolibs-cs.qm
+%%DATADIR%%/i18n/avogadrolibs-da.qm
+%%DATADIR%%/i18n/avogadrolibs-de.qm
+%%DATADIR%%/i18n/avogadrolibs-el.qm
+%%DATADIR%%/i18n/avogadrolibs-en_AU.qm
+%%DATADIR%%/i18n/avogadrolibs-en_CA.qm
+%%DATADIR%%/i18n/avogadrolibs-en_GB.qm
+%%DATADIR%%/i18n/avogadrolibs-eo.qm
+%%DATADIR%%/i18n/avogadrolibs-es.qm
+%%DATADIR%%/i18n/avogadrolibs-et.qm
+%%DATADIR%%/i18n/avogadrolibs-eu.qm
+%%DATADIR%%/i18n/avogadrolibs-fa.qm
+%%DATADIR%%/i18n/avogadrolibs-fi.qm
+%%DATADIR%%/i18n/avogadrolibs-fr.qm
+%%DATADIR%%/i18n/avogadrolibs-fr_CA.qm
+%%DATADIR%%/i18n/avogadrolibs-gl.qm
+%%DATADIR%%/i18n/avogadrolibs-he.qm
+%%DATADIR%%/i18n/avogadrolibs-hi.qm
+%%DATADIR%%/i18n/avogadrolibs-hr.qm
+%%DATADIR%%/i18n/avogadrolibs-hu.qm
+%%DATADIR%%/i18n/avogadrolibs-id.qm
+%%DATADIR%%/i18n/avogadrolibs-it.qm
+%%DATADIR%%/i18n/avogadrolibs-ja.qm
+%%DATADIR%%/i18n/avogadrolibs-kn.qm
+%%DATADIR%%/i18n/avogadrolibs-ko.qm
+%%DATADIR%%/i18n/avogadrolibs-lv.qm
+%%DATADIR%%/i18n/avogadrolibs-ms.qm
+%%DATADIR%%/i18n/avogadrolibs-nb.qm
+%%DATADIR%%/i18n/avogadrolibs-nl.qm
+%%DATADIR%%/i18n/avogadrolibs-oc.qm
+%%DATADIR%%/i18n/avogadrolibs-pl.qm
+%%DATADIR%%/i18n/avogadrolibs-pt.qm
+%%DATADIR%%/i18n/avogadrolibs-pt_BR.qm
+%%DATADIR%%/i18n/avogadrolibs-ro.qm
+%%DATADIR%%/i18n/avogadrolibs-ru.qm
+%%DATADIR%%/i18n/avogadrolibs-sa.qm
+%%DATADIR%%/i18n/avogadrolibs-sk.qm
+%%DATADIR%%/i18n/avogadrolibs-sl.qm
+%%DATADIR%%/i18n/avogadrolibs-sq.qm
+%%DATADIR%%/i18n/avogadrolibs-sr.qm
+%%DATADIR%%/i18n/avogadrolibs-sv.qm
+%%DATADIR%%/i18n/avogadrolibs-ta.qm
+%%DATADIR%%/i18n/avogadrolibs-te.qm
+%%DATADIR%%/i18n/avogadrolibs-th.qm
+%%DATADIR%%/i18n/avogadrolibs-tr.qm
+%%DATADIR%%/i18n/avogadrolibs-ug.qm
+%%DATADIR%%/i18n/avogadrolibs-uk.qm
+%%DATADIR%%/i18n/avogadrolibs-vi.qm
+%%DATADIR%%/i18n/avogadrolibs-zh_CN.qm
+%%DATADIR%%/i18n/avogadrolibs-zh_TW.qm
+share/pixmaps/avogadro2.png