diff options
Diffstat (limited to 'trinity-base/tde-i18n')
-rw-r--r-- | trinity-base/tde-i18n/Manifest | 1 | ||||
-rw-r--r-- | trinity-base/tde-i18n/tde-i18n-14.1.0.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/trinity-base/tde-i18n/Manifest b/trinity-base/tde-i18n/Manifest index d92182ca..9653e15e 100644 --- a/trinity-base/tde-i18n/Manifest +++ b/trinity-base/tde-i18n/Manifest @@ -1 +1,2 @@ DIST tde-i18n-trinity-14.0.13.tar.xz 195485024 BLAKE2B 19fd7c418f0d73b4b87455b942290ac0e3f076456af99b8dd82519fdeeaea11fd93d49f7cacfd61981d1b192c9c04d07dd1fb1c2cae8474340a544e112956387 SHA512 6ef73e98053d74cbb8f9fa45d14a58f209599d2a3e7f046b4f1e4b65f1f7630283fc7f3fd29516747377814d3cf6ba1cf2fe0574f8f9a3a89918133a4d811c51 +DIST tde-i18n-trinity-14.1.0.tar.xz 195332236 BLAKE2B 6f4d362c0ff1fe6dc3bdc2274f28bbf2c9337e21521cbba57a02da009e83f8a3b481c948bab53d4068a304f271215ae6bdfc405a27c649eb5654c38be7304e0e SHA512 6f5949ab9ae4f96945cfbce74ab79dcefc60700d44335e9ccd616dfe6ffd66ea12626e1a493b2afcc4fb2aac070d4cbbf02f452f31c2d577863d2ee8b595693c diff --git a/trinity-base/tde-i18n/tde-i18n-14.1.0.ebuild b/trinity-base/tde-i18n/tde-i18n-14.1.0.ebuild new file mode 100644 index 00000000..787bb63e --- /dev/null +++ b/trinity-base/tde-i18n/tde-i18n-14.1.0.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 +} |