summaryrefslogtreecommitdiffstats
path: root/trinity-base/tde-i18n
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-base/tde-i18n')
-rw-r--r--trinity-base/tde-i18n/Manifest1
-rw-r--r--trinity-base/tde-i18n/tde-i18n-14.0.12.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/trinity-base/tde-i18n/Manifest b/trinity-base/tde-i18n/Manifest
index a6079adb..b804a8cf 100644
--- a/trinity-base/tde-i18n/Manifest
+++ b/trinity-base/tde-i18n/Manifest
@@ -1 +1,2 @@
DIST tde-i18n-trinity-14.0.11.tar.xz 195364528 BLAKE2B fc01b70ccceb11b97d56d2c0ab8e075c86633dbe1d47c4c7d058f93437f837abba47d6e5f28fa55a87745e46d94750dce65a9565cfa617a76c6ce8c1db68af63 SHA512 9a4451fa837f77e755a72de0f1ea31267b66b9aaf6ec9ab4460c707a00c40cb26f8935ccc3fc07b6ea486a966a6c89856759a65d847d26fed0b288e525ee26d6
+DIST tde-i18n-trinity-14.0.12.tar.xz 195415024 BLAKE2B cc90fe970d4463a311c66c93f16eef704590bb517322ca165a169ff68b20ae82248f8a37c076aa3ca1ea9d203aa9ccf076518d61a3002f3f255b47b372501753 SHA512 ccc4900445a82894c0ff62e81f005ee6d290b6d0b013a4ea889c2a6b5dfd19cdc4b8760b9f66c7dcdf5634cd9ed8835d2b8fe9ef65708741476913aca40132a5
diff --git a/trinity-base/tde-i18n/tde-i18n-14.0.12.ebuild b/trinity-base/tde-i18n/tde-i18n-14.0.12.ebuild
new file mode 100644
index 00000000..23f50ba3
--- /dev/null
+++ b/trinity-base/tde-i18n/tde-i18n-14.0.12.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+TRINITY_LANGS="af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et
+ eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms
+ nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta te
+ tg th tr uk uz uz@cyrillic vi wa zh_CN zh_TW"
+
+TRINITY_MODULE_NAME="tde-i18n"
+TRINITY_MODULE_TYPE="core"
+inherit trinity-base-2
+
+DESCRIPTION="Trinity internationalization package"
+HOMEPAGE="https://trinitydesktop.org/"
+
+LICENSE="|| ( GPL-2 GPL-3 )"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+SLOT="14"
+
+for X in ${TRINITY_LANGS} ; do
+ IUSE="${IUSE} l10n_${X}"
+done
+
+run_phase() {
+ local lang dir phase;
+ phase=${1}
+ lang=${2}
+
+ dir="tde-i18n-${lang}"
+ pushd "${S}/${dir}" || die "No such dir: ${dir}"
+ CMAKE_USE_DIR="${S}/${dir}"
+ BUILD_DIR="${WORKDIR}/${dir}-build"
+ trinity-base-2_${phase}
+ popd || die
+}
+
+src_prepare() {
+ trinity_l10n_for_each_locale_do run_phase src_prepare
+ eapply_user
+}
+
+src_configure() {
+ local mycmakeargs=( -DBUILD_ALL=ON )
+ trinity_l10n_for_each_locale_do run_phase src_configure
+}
+
+src_compile() {
+ trinity_l10n_for_each_locale_do run_phase src_compile
+}
+
+src_install() {
+ trinity_l10n_for_each_locale_do run_phase src_install
+}