|
|
|
# Copyright 1999-2020 Gentoo Authors
|
Live ebuilds: Port to EAPI7 and cleanup - Round 7.
This time: filelight, kdcop, kdf, kmix, knutclient,
konversation, ksensors, noatun-plugins,
tdegames-doc, tdeinit, tdepowersave,
tde-i18n, arts, libtdenetwork, atlantik,
kasteroids, katomic, kbackgammon,
kbattleship, kblackbox, kbounce,
kenolaba, kfouleggs, kgoldrunner,
kjumpingcube, klickety, klines,
kmahjongg, kmines, knetwalk, kolf,
konquest, kpat, kpoker, kreversi,
ksame, kshisen, ksirtet, ksmiletris,
ksnake, ksokoban, kspaceduel, ktron,
ktuberling, libtdegames, lskat, twin4,
akregator, kaddressbook, kgantt, kmobile,
knode, knotes, kontact, korganizer, ktnef,
libkcal, libkholidays, libkmime, libkpimexchange,
libkpimidentities, libtdepim and mimelib
Also: Move filelight to trinity-apps.
Fix tdegames-meta to use trinity-base.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
|
|
|
# Copyright 2020 The Trinity Desktop Project
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
Live ebuilds: Port to EAPI7 and cleanup - Round 7.
This time: filelight, kdcop, kdf, kmix, knutclient,
konversation, ksensors, noatun-plugins,
tdegames-doc, tdeinit, tdepowersave,
tde-i18n, arts, libtdenetwork, atlantik,
kasteroids, katomic, kbackgammon,
kbattleship, kblackbox, kbounce,
kenolaba, kfouleggs, kgoldrunner,
kjumpingcube, klickety, klines,
kmahjongg, kmines, knetwalk, kolf,
konquest, kpat, kpoker, kreversi,
ksame, kshisen, ksirtet, ksmiletris,
ksnake, ksokoban, kspaceduel, ktron,
ktuberling, libtdegames, lskat, twin4,
akregator, kaddressbook, kgantt, kmobile,
knode, knotes, kontact, korganizer, ktnef,
libkcal, libkholidays, libkmime, libkpimexchange,
libkpimidentities, libtdepim and mimelib
Also: Move filelight to trinity-apps.
Fix tdegames-meta to use trinity-base.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
|
|
|
EAPI="7"
|
|
|
|
TRINITY_MODULE_NAME="tde-i18n"
|
|
|
|
|
|
|
|
inherit trinity-base-2
|
|
|
|
|
|
|
|
set-trinityver
|
|
|
|
|
|
|
|
DESCRIPTION="Trinity internationalization package"
|
|
|
|
HOMEPAGE="https://trinitydesktop.org/"
|
Live ebuilds: Port to EAPI7 and cleanup - Round 7.
This time: filelight, kdcop, kdf, kmix, knutclient,
konversation, ksensors, noatun-plugins,
tdegames-doc, tdeinit, tdepowersave,
tde-i18n, arts, libtdenetwork, atlantik,
kasteroids, katomic, kbackgammon,
kbattleship, kblackbox, kbounce,
kenolaba, kfouleggs, kgoldrunner,
kjumpingcube, klickety, klines,
kmahjongg, kmines, knetwalk, kolf,
konquest, kpat, kpoker, kreversi,
ksame, kshisen, ksirtet, ksmiletris,
ksnake, ksokoban, kspaceduel, ktron,
ktuberling, libtdegames, lskat, twin4,
akregator, kaddressbook, kgantt, kmobile,
knode, knotes, kontact, korganizer, ktnef,
libkcal, libkholidays, libkmime, libkpimexchange,
libkpimidentities, libtdepim and mimelib
Also: Move filelight to trinity-apps.
Fix tdegames-meta to use trinity-base.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
|
|
|
LICENSE="|| ( GPL-2 GPL-3 )"
|
|
|
|
|
|
|
|
SLOT="${TRINITY_VER}"
|
|
|
|
|
|
|
|
need-trinity
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
|
|
|
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"
|
Live ebuilds: Port to EAPI7 and cleanup - Round 7.
This time: filelight, kdcop, kdf, kmix, knutclient,
konversation, ksensors, noatun-plugins,
tdegames-doc, tdeinit, tdepowersave,
tde-i18n, arts, libtdenetwork, atlantik,
kasteroids, katomic, kbackgammon,
kbattleship, kblackbox, kbounce,
kenolaba, kfouleggs, kgoldrunner,
kjumpingcube, klickety, klines,
kmahjongg, kmines, knetwalk, kolf,
konquest, kpat, kpoker, kreversi,
ksame, kshisen, ksirtet, ksmiletris,
ksnake, ksokoban, kspaceduel, ktron,
ktuberling, libtdegames, lskat, twin4,
akregator, kaddressbook, kgantt, kmobile,
knode, knotes, kontact, korganizer, ktnef,
libkcal, libkholidays, libkmime, libkpimexchange,
libkpimidentities, libtdepim and mimelib
Also: Move filelight to trinity-apps.
Fix tdegames-meta to use trinity-base.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
|
|
|
trinity-base-2_${phase}
|
|
|
|
popd
|
|
|
|
}
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
trinity_l10n_for_each_locale_do run_phase src_prepare
|
|
|
|
eapply_user
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
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
|
|
|
|
}
|