diff options
author | ormorph <roma251078@mail.ru> | 2023-10-27 13:50:17 +0300 |
---|---|---|
committer | ormorph <roma251078@mail.ru> | 2023-10-27 13:50:17 +0300 |
commit | 18d39ed9f062321b596258a9137f10b3e93b71e0 (patch) | |
tree | fe24a566266198330ff71db390413fdf7a9d63af /trinity-base/tde-i18n/tde-i18n-14.1.1.ebuild | |
parent | cd2192fbe2c90ea734db5bc716740b7dded481b6 (diff) | |
download | tde-packaging-gentoo-18d39ed9f062321b596258a9137f10b3e93b71e0.tar.gz tde-packaging-gentoo-18d39ed9f062321b596258a9137f10b3e93b71e0.zip |
Release R14.1.1 added
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'trinity-base/tde-i18n/tde-i18n-14.1.1.ebuild')
-rw-r--r-- | trinity-base/tde-i18n/tde-i18n-14.1.1.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/trinity-base/tde-i18n/tde-i18n-14.1.1.ebuild b/trinity-base/tde-i18n/tde-i18n-14.1.1.ebuild new file mode 100644 index 00000000..787bb63e --- /dev/null +++ b/trinity-base/tde-i18n/tde-i18n-14.1.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Copyright 2020-2023 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 + +LINGUAS="en" + +find_lang() { + local lang + lang=${1} + LINGUAS+=" ${lang}" +} + +src_prepare() { + trinity_l10n_for_each_locale_do find_lang + trinity-base-2_src_prepare +} + +src_configure() { + local mycmakeargs=( -DBUILD_ALL=ON ) + trinity-base-2_src_configure +} + +src_install() { + [[ "${LINGUAS}" == "en" ]] && return 0 + trinity-base-2_src_install +} |