diff options
author | ormorph <[email protected]> | 2024-04-28 17:23:47 +0300 |
---|---|---|
committer | ormorph <[email protected]> | 2024-04-28 22:35:54 +0300 |
commit | 30335515923be5f5ee02981121d2cdb6ad89978d (patch) | |
tree | d4601e9c08f8d576a5ce043fba5f73020f0c862d /trinity-apps/koffice-i18n/koffice-i18n-14.1.2.ebuild | |
parent | 929431cac813bc953a1e646fe36d1cfbc4a68f4b (diff) | |
download | tde-packaging-gentoo-30335515923be5f5ee02981121d2cdb6ad89978d.tar.gz tde-packaging-gentoo-30335515923be5f5ee02981121d2cdb6ad89978d.zip |
Add new TDE-14.1.2
Signed-off-by: ormorph <[email protected]>
Diffstat (limited to 'trinity-apps/koffice-i18n/koffice-i18n-14.1.2.ebuild')
-rw-r--r-- | trinity-apps/koffice-i18n/koffice-i18n-14.1.2.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/trinity-apps/koffice-i18n/koffice-i18n-14.1.2.ebuild b/trinity-apps/koffice-i18n/koffice-i18n-14.1.2.ebuild new file mode 100644 index 00000000..69fc7ae5 --- /dev/null +++ b/trinity-apps/koffice-i18n/koffice-i18n-14.1.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Copyright 2021-2024 The Trinity Desktop Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +TRINITY_MODULE_TYPE="applications/office" + +inherit trinity-base-2 + +DESCRIPTION="TDE internationalization package for Koffice [Trinity]" +HOMEPAGE="http://trinitydesktop.org/" + +LICENSE="|| ( GPL-2 GPL-3 )" +SLOT="14" +if [[ ${PV} != *9999* ]] ; then + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +TRINITY_LANGS="bg ca cs cy da de el en_GB es et eu fa fi + fr ga gl hu it ja km lv ms nb nds ne nl pl pt pt_BR + ru sk sl sr sr@Latn sv tr uk zh_CN zh_TW" + +for X in ${TRINITY_LANGS} ; do + IUSE="${IUSE} l10n_${X}" +done + +DEPEND=" + ~trinity-base/tdelibs-${PV} +" +RDEPEND="${DEPEND}" + +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 +} |