git: bbdf86434002 - main - graphics/glaxnimate: Fix translations
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Feb 2022 18:20:06 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bbdf8643400257689a0a95161141087750c38dd5
commit bbdf8643400257689a0a95161141087750c38dd5
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-02-05 18:12:20 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-02-05 18:20:02 +0000
graphics/glaxnimate: Fix translations
---
graphics/glaxnimate/Makefile | 3 +++
graphics/glaxnimate/files/patch-data_CMakeLists.txt | 20 --------------------
graphics/glaxnimate/pkg-plist | 6 ++++++
3 files changed, 9 insertions(+), 20 deletions(-)
diff --git a/graphics/glaxnimate/Makefile b/graphics/glaxnimate/Makefile
index 81be94ff3ef8..6f8faed7f96a 100644
--- a/graphics/glaxnimate/Makefile
+++ b/graphics/glaxnimate/Makefile
@@ -1,5 +1,6 @@
PORTNAME= glaxnimate
DISTVERSION= 0.5.0
+PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= yuri@FreeBSD.org
@@ -32,4 +33,6 @@ GH_TUPLE= KDE:breeze-icons:1a13b09adc7ebe0c4b5be6cc1add3869f3de8a1a:KDE_breeze_i
CMAKE_ARGS= -DPython3_EXECUTABLE=${PYTHON_CMD}
+ALL_TARGET= all translations
+
.include <bsd.port.mk>
diff --git a/graphics/glaxnimate/files/patch-data_CMakeLists.txt b/graphics/glaxnimate/files/patch-data_CMakeLists.txt
deleted file mode 100644
index 18c1d8411e14..000000000000
--- a/graphics/glaxnimate/files/patch-data_CMakeLists.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-- workaround for https://gitlab.com/mattbas/glaxnimate/-/issues/484
-
---- data/CMakeLists.txt.orig 2022-01-31 10:07:34 UTC
-+++ data/CMakeLists.txt
-@@ -29,6 +29,7 @@ else()
- endif()
-
- # Translation
-+if (FALSE)
- include(../cmake/qt.cmake)
- set(ALL_SOURCE_DIRECTORIES ${CMAKE_SOURCE_DIR}/src)
- create_qt_linguist_translations(
-@@ -41,6 +42,7 @@ create_qt_linguist_translations(
- translations/glaxnimate_zh_CN.ts
- )
- install(FILES ${LINGUIST_OUTPUT_FILES} DESTINATION ${DATA_INSTALL}/translations/)
-+endif()
-
- # Desktop
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/glaxnimate.in.desktop ${CMAKE_CURRENT_BINARY_DIR}/glaxnimate.desktop)
diff --git a/graphics/glaxnimate/pkg-plist b/graphics/glaxnimate/pkg-plist
index 07b884924879..d767b9bf6424 100644
--- a/graphics/glaxnimate/pkg-plist
+++ b/graphics/glaxnimate/pkg-plist
@@ -16254,5 +16254,11 @@ 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