diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2022-02-05 18:12:20 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2022-02-05 18:20:02 +0000 |
commit | bbdf8643400257689a0a95161141087750c38dd5 (patch) | |
tree | f07f36c2f24ff5b5c89b95aff322cd5dc7b0811d | |
parent | 7d7c9eedcf563a84b3cce4aa60078810b0c74bf7 (diff) | |
download | ports-bbdf8643400257689a0a95161141087750c38dd5.tar.gz ports-bbdf8643400257689a0a95161141087750c38dd5.zip |
graphics/glaxnimate: Fix translations
-rw-r--r-- | graphics/glaxnimate/Makefile | 3 | ||||
-rw-r--r-- | graphics/glaxnimate/files/patch-data_CMakeLists.txt | 20 | ||||
-rw-r--r-- | 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 |