diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2023-05-26 08:08:16 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2023-05-26 08:08:55 +0000 |
commit | 2bfc20c4e03c3a0730ec386806bbd3ee67c6099c (patch) | |
tree | 8a09a4e89e6c492b73e0fa7cf4197d21c77e129a /textproc | |
parent | c2d398157fe9a775dace25160c1c8fb15aee5b25 (diff) | |
download | ports-2bfc20c4e03c3a0730ec386806bbd3ee67c6099c.tar.gz ports-2bfc20c4e03c3a0730ec386806bbd3ee67c6099c.zip |
textproc/crow-translate: Add new port
A simple and lightweight translator that allows you to translate and
speak text using Google, Yandex Bing, LibreTranslate and Lingva.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/crow-translate/Makefile | 30 | ||||
-rw-r--r-- | textproc/crow-translate/distinfo | 17 | ||||
-rw-r--r-- | textproc/crow-translate/pkg-descr | 2 | ||||
-rw-r--r-- | textproc/crow-translate/pkg-plist | 47 |
5 files changed, 97 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index dde242499892..8c5864cce47b 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -116,6 +116,7 @@ SUBDIR += cpp-peglib SUBDIR += cpptoml SUBDIR += crex + SUBDIR += crow-translate SUBDIR += crunch SUBDIR += cs-aspell SUBDIR += cs-hunspell diff --git a/textproc/crow-translate/Makefile b/textproc/crow-translate/Makefile new file mode 100644 index 000000000000..ba97b712d72f --- /dev/null +++ b/textproc/crow-translate/Makefile @@ -0,0 +1,30 @@ +PORTNAME= crow-translate +PORTVERSION= 2.10.5 +CATEGORIES= textproc + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Translator using Google, Yandex Bing, LibreTranslate and Lingva +WWW= https://crow-translate.github.io/ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ${LOCALBASE}/share/ECM/cmake/ECMConfig.cmake:devel/kf5-extra-cmake-modules +LIB_DEPENDS= libleptonica.so:graphics/leptonica \ + libtesseract.so:graphics/tesseract + +USES= cmake desktop-file-utils gstreamer kde:5 qt:5 xorg +USE_GITHUB= yes +GH_TUPLE= HatScripts:circle-flags:2225d10:circleflags/data/icons/third-party/circle-flags \ + vinceliuice:Fluent-icon-theme:2a80a5d:fluenticontheme/data/icons/third-party/fluent-icon-theme \ + crow-translate:QGitTag:3763898:qgittag/src/qgittag \ + crow-translate:QOnlineTranslator:148de2b:qonlinetranslator/src/qonlinetranslator \ + Skycoder42:QHotkey:eb7ddab:qhotkey/src/third-party/qhotkey \ + Skycoder42:QTaskbarControl:7c82d23:qtaskbarcontrol/src/third-party/qtaskbarcontrol \ + itay-grudev:SingleApplication:aede311:singleapplication/src/third-party/singleapplication +USE_KDE= wayland +USE_QT= concurrent core dbus gui multimedia network svg widgets \ + x11extras buildtools:build qmake:build +USE_XORG= ice sm x11 xcb xext + +.include <bsd.port.mk> diff --git a/textproc/crow-translate/distinfo b/textproc/crow-translate/distinfo new file mode 100644 index 000000000000..77df1b2fe619 --- /dev/null +++ b/textproc/crow-translate/distinfo @@ -0,0 +1,17 @@ +TIMESTAMP = 1685019227 +SHA256 (crow-translate-crow-translate-2.10.5_GH0.tar.gz) = 346ac794098a328596f80cfdc8b884f66585396606603aa6bb4f1eba72b07147 +SIZE (crow-translate-crow-translate-2.10.5_GH0.tar.gz) = 1833087 +SHA256 (HatScripts-circle-flags-2225d10_GH0.tar.gz) = 1115d931158956c833ea5fa0c7c598d23fe88623925ef3eca503df2fc62e3667 +SIZE (HatScripts-circle-flags-2225d10_GH0.tar.gz) = 54769 +SHA256 (vinceliuice-Fluent-icon-theme-2a80a5d_GH0.tar.gz) = 36e368045a7f08642ff2ce8859c2629d178a90f58063429367b66633bb2e24a4 +SIZE (vinceliuice-Fluent-icon-theme-2a80a5d_GH0.tar.gz) = 5856516 +SHA256 (crow-translate-QGitTag-3763898_GH0.tar.gz) = 017c7c41417ba2e21c726f0c57fb5bd92fa98af87c9cc98d8f65986f5ab79779 +SIZE (crow-translate-QGitTag-3763898_GH0.tar.gz) = 18595 +SHA256 (crow-translate-QOnlineTranslator-148de2b_GH0.tar.gz) = 2ab7cabb11569c8d692be6622dea5bd5180aca047e0f572ef6ada5f00fce75c6 +SIZE (crow-translate-QOnlineTranslator-148de2b_GH0.tar.gz) = 36310 +SHA256 (Skycoder42-QHotkey-eb7ddab_GH0.tar.gz) = 07041d9df02aaabb74cc415a3837b1ca39e7514bbc4d661b8562c066e42aac43 +SIZE (Skycoder42-QHotkey-eb7ddab_GH0.tar.gz) = 51494 +SHA256 (Skycoder42-QTaskbarControl-7c82d23_GH0.tar.gz) = 63e0bfe4d7d0b436283c5ce1b8e93ea66220c69ef20a00ca04c7191de69fcadd +SIZE (Skycoder42-QTaskbarControl-7c82d23_GH0.tar.gz) = 11434 +SHA256 (itay-grudev-SingleApplication-aede311_GH0.tar.gz) = c76c93e2620b760eb2451fb27a4094b995d46096ab190d498174ccdf50932d25 +SIZE (itay-grudev-SingleApplication-aede311_GH0.tar.gz) = 20636 diff --git a/textproc/crow-translate/pkg-descr b/textproc/crow-translate/pkg-descr new file mode 100644 index 000000000000..b0f9b1cac34c --- /dev/null +++ b/textproc/crow-translate/pkg-descr @@ -0,0 +1,2 @@ +A simple and lightweight translator that allows you to translate and +speak text using Google, Yandex Bing, LibreTranslate and Lingva. diff --git a/textproc/crow-translate/pkg-plist b/textproc/crow-translate/pkg-plist new file mode 100644 index 000000000000..65873d5aff27 --- /dev/null +++ b/textproc/crow-translate/pkg-plist @@ -0,0 +1,47 @@ +bin/crow +share/Crow Translate/Crow Translate/translations/crow-translate_ar_SA.qm +share/Crow Translate/Crow Translate/translations/crow-translate_az_AZ.qm +share/Crow Translate/Crow Translate/translations/crow-translate_de_DE.qm +share/Crow Translate/Crow Translate/translations/crow-translate_el_GR.qm +share/Crow Translate/Crow Translate/translations/crow-translate_es_ES.qm +share/Crow Translate/Crow Translate/translations/crow-translate_fi_FI.qm +share/Crow Translate/Crow Translate/translations/crow-translate_fr_FR.qm +share/Crow Translate/Crow Translate/translations/crow-translate_hi_IN.qm +share/Crow Translate/Crow Translate/translations/crow-translate_hu_HU.qm +share/Crow Translate/Crow Translate/translations/crow-translate_id_ID.qm +share/Crow Translate/Crow Translate/translations/crow-translate_it_IT.qm +share/Crow Translate/Crow Translate/translations/crow-translate_ko_KR.qm +share/Crow Translate/Crow Translate/translations/crow-translate_ms_MY.qm +share/Crow Translate/Crow Translate/translations/crow-translate_nl_NL.qm +share/Crow Translate/Crow Translate/translations/crow-translate_pl_PL.qm +share/Crow Translate/Crow Translate/translations/crow-translate_pt_BR.qm +share/Crow Translate/Crow Translate/translations/crow-translate_pt_PT.qm +share/Crow Translate/Crow Translate/translations/crow-translate_ru_RU.qm +share/Crow Translate/Crow Translate/translations/crow-translate_sq_AL.qm +share/Crow Translate/Crow Translate/translations/crow-translate_tr_TR.qm +share/Crow Translate/Crow Translate/translations/crow-translate_ug_CN.qm +share/Crow Translate/Crow Translate/translations/crow-translate_uk_UA.qm +share/Crow Translate/Crow Translate/translations/crow-translate_zh_CN.qm +share/Crow Translate/Crow Translate/translations/crow-translate_zh_TW.qm +share/applications/io.crow_translate.CrowTranslate.desktop +share/icons/hicolor/128x128/apps/crow-translate.png +share/icons/hicolor/150x150/apps/crow-translate.png +share/icons/hicolor/16x16/apps/crow-translate.png +share/icons/hicolor/16x16/status/crow-translate-tray-dark.png +share/icons/hicolor/16x16/status/crow-translate-tray-light.png +share/icons/hicolor/22x22/apps/crow-translate.png +share/icons/hicolor/22x22/status/crow-translate-tray-dark.png +share/icons/hicolor/22x22/status/crow-translate-tray-light.png +share/icons/hicolor/24x24/status/crow-translate-tray-dark.png +share/icons/hicolor/24x24/status/crow-translate-tray-light.png +share/icons/hicolor/256x256/apps/crow-translate.png +share/icons/hicolor/310x310/apps/crow-translate.png +share/icons/hicolor/32x32/apps/crow-translate.png +share/icons/hicolor/44x44/apps/crow-translate.png +share/icons/hicolor/48x48/apps/crow-translate.png +share/icons/hicolor/512x512/apps/crow-translate.png +share/icons/hicolor/64x64/apps/crow-translate.png +share/icons/hicolor/scalable/apps/crow-translate.svg +share/icons/hicolor/scalable/status/crow-translate-tray-dark.svg +share/icons/hicolor/scalable/status/crow-translate-tray-light.svg +share/metainfo/io.crow_translate.CrowTranslate.metainfo.xml |