diff options
author | ormorph <roma251078@mail.ru> | 2021-11-15 22:06:35 +0300 |
---|---|---|
committer | ormorph <roma251078@mail.ru> | 2021-11-16 00:22:50 +0300 |
commit | 9f59a1d0c834bc706d6e74f0a0dc9f026e935b41 (patch) | |
tree | dbe2babfd8aea5f985063e94dcfa22679c93526f /trinity-apps/koffice-i18n/koffice-i18n-14.0.11.ebuild | |
parent | ffbff856abb47b6fb62cdd430211c67f67478c5b (diff) | |
download | tde-packaging-gentoo-9f59a1d0c834bc706d6e74f0a0dc9f026e935b41.tar.gz tde-packaging-gentoo-9f59a1d0c834bc706d6e74f0a0dc9f026e935b41.zip |
Added ebuilds for stable version 14.0.11
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'trinity-apps/koffice-i18n/koffice-i18n-14.0.11.ebuild')
-rw-r--r-- | trinity-apps/koffice-i18n/koffice-i18n-14.0.11.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/trinity-apps/koffice-i18n/koffice-i18n-14.0.11.ebuild b/trinity-apps/koffice-i18n/koffice-i18n-14.0.11.ebuild new file mode 100644 index 00000000..1aabb72e --- /dev/null +++ b/trinity-apps/koffice-i18n/koffice-i18n-14.0.11.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Copyright 2021 The Trinity Desktop Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +TRINITY_MODULE_TYPE="applications/office" +TRINITY_BUILD_ADMIN="yes" + +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 ~x86" +fi +IUSE="" + +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" + +run_phase() { + local lang dir phase; + phase=${1} + lang=${2} + + dir="koffice-i18n-${lang}" + pushd "${S}/${dir}" || die "No such dir: ${dir}" + trinity-base-2_${phase} + popd +} + +src_prepare() { + trinity_l10n_for_each_locale_do run_phase src_prepare + eapply_user +} + +src_configure() { + 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 +} |