git: 38121b7d37fc - main - graphics/glaxnimate: Update 0.5.0 -> 0.5.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 11 Oct 2022 09:03:45 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=38121b7d37fc78615f66635589f0afb4aa2c19fe

commit 38121b7d37fc78615f66635589f0afb4aa2c19fe
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-10-11 09:03:12 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-11 09:03:40 +0000

    graphics/glaxnimate: Update 0.5.0 -> 0.5.1
---
 graphics/glaxnimate/Makefile                        | 17 ++++++++---------
 graphics/glaxnimate/distinfo                        | 18 +++++++++---------
 graphics/glaxnimate/files/patch-CMakeLists.txt      | 21 +++++++++++++++------
 .../glaxnimate/files/patch-src_core_utils_gzip.cpp  | 11 -----------
 graphics/glaxnimate/pkg-plist                       | 10 ++++------
 5 files changed, 36 insertions(+), 41 deletions(-)

diff --git a/graphics/glaxnimate/Makefile b/graphics/glaxnimate/Makefile
index 86ed77b3f84c..8226705f113b 100644
--- a/graphics/glaxnimate/Makefile
+++ b/graphics/glaxnimate/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	glaxnimate
-DISTVERSION=	0.5.0
-PORTREVISION=	1
+DISTVERSION=	0.5.1
 CATEGORIES=	graphics
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -14,23 +13,23 @@ BUILD_DEPENDS=	pip:devel/py-pip@${PY_FLAVOR}
 LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg \
 		libpotrace.so:graphics/libpotrace
 
-USES=		cmake compiler:c++17-lang gl libarchive python qt:5
+USES=		cmake compiler:c++17-lang desktop-file-utils gl libarchive python qt:5
 USE_QT=		concurrent core gui network svg xml widgets buildtools:build linguisttools:build qmake:build uitools:build
 USE_GL=		gl
 
 USE_GITLAB=	yes
 GL_ACCOUNT=	mattbas
-GL_COMMIT=	7aaa27b346888d9aeae12815c3aa3e720adf985f
+GL_COMMIT=	91219dc52ca909118e4a756629ea779dde5577c3
 
-GL_TUPLE=	mattbas:CMake-Lib:2738b6bbc3d386fa7cafb2267d5ad597a1f455a8:mattbas_CMake_Lib/cmake \
-		mattbas:Qt-Color-Widgets:8d0f56c0b855ae766183ffec2cc3e973a5d4bf8f:mattbas_Qt_Color_Widgets/external/Qt-Color-Widgets \
-		mattbas:Qt-History-LineEdit:e6c254f5a893963dfece477bc99405495e471483:mattbas_Qt_History_LineEdit/external/Qt-History-LineEdit \
+GL_TUPLE=	mattbas:CMake-Lib:8af80b5668dbc6a0210e09a969a1b43fc99f39ba:mattbas_CMake_Lib/cmake \
+		mattbas:Qt-Color-Widgets:091c29463bbeec1a672598af4597055ba24842cd:mattbas_Qt_Color_Widgets/external/Qt-Color-Widgets \
+		mattbas:Qt-History-LineEdit:5b761f436e8b31491e06b26460d28a2eaef0babc:mattbas_Qt_History_LineEdit/external/Qt-History-LineEdit \
 		mattbas:python-lottie:9e742aadb5ca7d0e8c9b01b2553c0a81de238ae4:mattbas_python_lottie/data/lib/python-lottie
 
 USE_GITHUB=	nodefault
 GH_TUPLE=	KDE:breeze-icons:1a13b09adc7ebe0c4b5be6cc1add3869f3de8a1a:KDE_breeze_icons/data/icons/breeze-icons \
-		rpavlik/cmake-modules:c97690cc0024a1842cd8de71334a2ee9c5f7e729:rpavlik_cmake_modules/external/cmake-modules \
-		mbasaglia:pybind11:7b30131fcbbbc227d2afcc969a8aab8c8b792b66:mbasaglia_pybind11/external/QtAppSetup/external/pybind11
+		mbasaglia:pybind11:7b30131fcbbbc227d2afcc969a8aab8c8b792b66:mbasaglia_pybind11/external/QtAppSetup/external/pybind11 \
+		rpavlik/cmake-modules:c97690cc0024a1842cd8de71334a2ee9c5f7e729:rpavlik_cmake_modules/external/cmake-modules
 
 CMAKE_ARGS=	-DPython3_EXECUTABLE=${PYTHON_CMD}
 
diff --git a/graphics/glaxnimate/distinfo b/graphics/glaxnimate/distinfo
index f0b70a62b839..2f3dccc99208 100644
--- a/graphics/glaxnimate/distinfo
+++ b/graphics/glaxnimate/distinfo
@@ -1,15 +1,15 @@
-TIMESTAMP = 1643622529
+TIMESTAMP = 1665476418
 SHA256 (KDE-breeze-icons-1a13b09adc7ebe0c4b5be6cc1add3869f3de8a1a_GH0.tar.gz) = 5d7d4437bb0c87ac5573b9ae05328379bbaf6229818579456ee7b2ec1a827a37
 SIZE (KDE-breeze-icons-1a13b09adc7ebe0c4b5be6cc1add3869f3de8a1a_GH0.tar.gz) = 5573747
 SHA256 (mbasaglia-pybind11-7b30131fcbbbc227d2afcc969a8aab8c8b792b66_GH0.tar.gz) = b2568d046d2527a4d2bd22383f1d7853662492666994e20db16f70fcf578f87f
 SIZE (mbasaglia-pybind11-7b30131fcbbbc227d2afcc969a8aab8c8b792b66_GH0.tar.gz) = 702926
-SHA256 (mattbas-glaxnimate-7aaa27b346888d9aeae12815c3aa3e720adf985f_GL0.tar.gz) = 0882e269090dfd65e39689096b1c7ca8174dffa347535da209254da4e00f2528
-SIZE (mattbas-glaxnimate-7aaa27b346888d9aeae12815c3aa3e720adf985f_GL0.tar.gz) = 4746649
-SHA256 (mattbas-CMake-Lib-2738b6bbc3d386fa7cafb2267d5ad597a1f455a8_GL0.tar.gz) = f49748419723ea67dd9d0f57aaca83a9dad2a8a8510a2906802cadfb7cb0e91b
-SIZE (mattbas-CMake-Lib-2738b6bbc3d386fa7cafb2267d5ad597a1f455a8_GL0.tar.gz) = 8662
-SHA256 (mattbas-Qt-Color-Widgets-8d0f56c0b855ae766183ffec2cc3e973a5d4bf8f_GL0.tar.gz) = bc2558c4bac07c51657d126d2cf34eb78882115484e6dd2a851c8b4b9d9a189d
-SIZE (mattbas-Qt-Color-Widgets-8d0f56c0b855ae766183ffec2cc3e973a5d4bf8f_GL0.tar.gz) = 206927
-SHA256 (mattbas-Qt-History-LineEdit-e6c254f5a893963dfece477bc99405495e471483_GL0.tar.gz) = e77cf9382bbaf559eba9d5f59d6c9ef87577cbf85528b28fb0d891d9b78678d5
-SIZE (mattbas-Qt-History-LineEdit-e6c254f5a893963dfece477bc99405495e471483_GL0.tar.gz) = 7846
+SHA256 (mattbas-glaxnimate-91219dc52ca909118e4a756629ea779dde5577c3_GL0.tar.gz) = f23c67f64fe8be6f7d61a414ec72e0e57fa72cfb0aa160c7d86a29343fe84a83
+SIZE (mattbas-glaxnimate-91219dc52ca909118e4a756629ea779dde5577c3_GL0.tar.gz) = 4933409
+SHA256 (mattbas-CMake-Lib-8af80b5668dbc6a0210e09a969a1b43fc99f39ba_GL0.tar.gz) = ef7a6a963b6117f161a41b34d8c2488b030c953bc4de935d8d4c9fa28114ed57
+SIZE (mattbas-CMake-Lib-8af80b5668dbc6a0210e09a969a1b43fc99f39ba_GL0.tar.gz) = 9463
+SHA256 (mattbas-Qt-Color-Widgets-091c29463bbeec1a672598af4597055ba24842cd_GL0.tar.gz) = 6e2e36ebbdad9d7c89d7d5abb59bee4374b25cceeae1ec3353d3814b8a6b6ab9
+SIZE (mattbas-Qt-Color-Widgets-091c29463bbeec1a672598af4597055ba24842cd_GL0.tar.gz) = 207734
+SHA256 (mattbas-Qt-History-LineEdit-5b761f436e8b31491e06b26460d28a2eaef0babc_GL0.tar.gz) = 00e63231f41f8f0c9274990c6d1fb394ffa7e7bc72c673defeb87479c2110ca9
+SIZE (mattbas-Qt-History-LineEdit-5b761f436e8b31491e06b26460d28a2eaef0babc_GL0.tar.gz) = 7856
 SHA256 (mattbas-python-lottie-9e742aadb5ca7d0e8c9b01b2553c0a81de238ae4_GL0.tar.gz) = 54de1e9507524d83d4035ac3a16bd29c40335c6f9eb0a8b6376c3a10267e1a56
 SIZE (mattbas-python-lottie-9e742aadb5ca7d0e8c9b01b2553c0a81de238ae4_GL0.tar.gz) = 284790
diff --git a/graphics/glaxnimate/files/patch-CMakeLists.txt b/graphics/glaxnimate/files/patch-CMakeLists.txt
index d0fa06541034..0bbccf693e68 100644
--- a/graphics/glaxnimate/files/patch-CMakeLists.txt
+++ b/graphics/glaxnimate/files/patch-CMakeLists.txt
@@ -1,4 +1,4 @@
---- CMakeLists.txt.orig	2022-01-31 09:47:12 UTC
+--- CMakeLists.txt.orig	2022-09-11 09:38:36 UTC
 +++ CMakeLists.txt
 @@ -29,7 +29,7 @@ set(PROJECT_MANINTAINER "${PROJECT_MANINTAINER_NAME} <
  # CMake modules
@@ -9,12 +9,21 @@
  
  # C++
  set(CMAKE_CXX_STANDARD 17)
-@@ -38,7 +38,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
- # Git
+@@ -39,14 +39,14 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
  set(VERSION_NAKED ${PROJECT_VERSION})
- set(VERSION_SUFFIX "" CACHE STRING "")
--if (VERSION_SUFFIX STREQUAL "")
-+if (FALSE AND VERSION_SUFFIX STREQUAL "")
+ set(VERSION_SUFFIX "-git-" CACHE STRING "")
+ 
+-if (VERSION_SUFFIX STREQUAL "-git-")
++if (FALSE AND VERSION_SUFFIX STREQUAL "-git-")
      git_describe(GIT_DESC --tags)
      if ( NOT ${GIT_DESC} MATCHES ".*NOTFOUND" )
          set(PROJECT_VERSION ${GIT_DESC})
+     endif()
+-elseif(VERSION_SUFFIX MATCHES "^\\..*")
++elseif(FALSE AND VERSION_SUFFIX MATCHES "^\\..*")
+     set(PROJECT_VERSION "${PROJECT_VERSION}${VERSION_SUFFIX}")
+-elseif(NOT VERSION_SUFFIX STREQUAL "")
++elseif(FALSE AND NOT VERSION_SUFFIX STREQUAL "")
+     set(PROJECT_VERSION "${PROJECT_VERSION}+${VERSION_SUFFIX}")
+ endif()
+ 
diff --git a/graphics/glaxnimate/files/patch-src_core_utils_gzip.cpp b/graphics/glaxnimate/files/patch-src_core_utils_gzip.cpp
deleted file mode 100644
index 41dc96df495f..000000000000
--- a/graphics/glaxnimate/files/patch-src_core_utils_gzip.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-- workaround for https://gitlab.com/mattbas/glaxnimate/-/issues/486
-
---- src/core/utils/gzip.cpp.orig	2022-02-08 22:18:22 UTC
-+++ src/core/utils/gzip.cpp
-@@ -1,5 +1,6 @@
- #include "gzip.hpp"
- 
-+#include <array>
- #include <cstring>
- 
- #include <QFile>
diff --git a/graphics/glaxnimate/pkg-plist b/graphics/glaxnimate/pkg-plist
index d767b9bf6424..3f67f098fb63 100644
--- a/graphics/glaxnimate/pkg-plist
+++ b/graphics/glaxnimate/pkg-plist
@@ -16128,6 +16128,7 @@ share/applications/glaxnimate.desktop
 %%DATADIR%%/glaxnimate/images/icons/keyframe-add.svg
 %%DATADIR%%/glaxnimate/images/icons/keyframe-record.svg
 %%DATADIR%%/glaxnimate/images/icons/keyframe-remove.svg
+%%DATADIR%%/glaxnimate/images/icons/lottiefiles.svg
 %%DATADIR%%/glaxnimate/images/keyframe/custom.svg
 %%DATADIR%%/glaxnimate/images/keyframe/ease.svg
 %%DATADIR%%/glaxnimate/images/keyframe/finish/custom.svg
@@ -16145,6 +16146,9 @@ share/applications/glaxnimate.desktop
 %%DATADIR%%/glaxnimate/images/keyframe/status/not-animated.svg
 %%DATADIR%%/glaxnimate/images/keyframe/status/tween.svg
 %%DATADIR%%/glaxnimate/images/logo.svg
+%%DATADIR%%/glaxnimate/images/trace/complex.jpg
+%%DATADIR%%/glaxnimate/images/trace/flat.png
+%%DATADIR%%/glaxnimate/images/trace/pixel.png
 %%DATADIR%%/glaxnimate/images/widgets/background.png
 %%DATADIR%%/glaxnimate/lib/lottie/__init__.py
 %%DATADIR%%/glaxnimate/lib/lottie/exporters/__init__.py
@@ -16254,11 +16258,5 @@ share/applications/glaxnimate.desktop
 %%DATADIR%%/glaxnimate/templates/Telegram_Sticker_60.rawr
 %%DATADIR%%/glaxnimate/themes/dark.ini
 %%DATADIR%%/glaxnimate/themes/light.ini
-%%DATADIR%%/glaxnimate/translations/glaxnimate_de.qm
-%%DATADIR%%/glaxnimate/translations/glaxnimate_en_GB.qm
-%%DATADIR%%/glaxnimate/translations/glaxnimate_en_US.qm
-%%DATADIR%%/glaxnimate/translations/glaxnimate_fr.qm
-%%DATADIR%%/glaxnimate/translations/glaxnimate_it.qm
-%%DATADIR%%/glaxnimate/translations/glaxnimate_zh_CN.qm
 share/icons/hicolor/512x512/apps/glaxnimate.png
 share/icons/hicolor/scalable/apps/glaxnimate.svg