summaryrefslogtreecommitdiffstats
path: root/trinity-base/tde-i18n
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-11-28 02:34:44 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-11-28 02:34:44 +0100
commit644110a847c5911c2eb04eb53c93031740561efc (patch)
tree9658dde1cc70b52b233957b7852f87d997e98156 /trinity-base/tde-i18n
downloadtde-packaging-gentoo-644110a847c5911c2eb04eb53c93031740561efc.tar.gz
tde-packaging-gentoo-644110a847c5911c2eb04eb53c93031740561efc.zip
Initial import of an ebuilds tree
from Fat-Zer's (Alexander Golubev) repository. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'trinity-base/tde-i18n')
-rw-r--r--trinity-base/tde-i18n/metadata.xml8
-rw-r--r--trinity-base/tde-i18n/tde-i18n-9999.ebuild60
2 files changed, 68 insertions, 0 deletions
diff --git a/trinity-base/tde-i18n/metadata.xml b/trinity-base/tde-i18n/metadata.xml
new file mode 100644
index 00000000..6e9f5e4a
--- /dev/null
+++ b/trinity-base/tde-i18n/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/trinity-base/tde-i18n/tde-i18n-9999.ebuild b/trinity-base/tde-i18n/tde-i18n-9999.ebuild
new file mode 100644
index 00000000..53f4a81f
--- /dev/null
+++ b/trinity-base/tde-i18n/tde-i18n-9999.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tde-i18n"
+
+inherit trinity-base cmake-utils l10n
+
+set-trinityver
+
+DESCRIPTION="Trinity internationalization package"
+HOMEPAGE="http://www.trinitydesktop.org/"
+LICENSE="GPL-2"
+
+SLOT="${TRINITY_VER}"
+KEYWORDS=""
+IUSE=""
+
+DEPEND=">=trinity-base/tdelibs-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
+
+PLOCALES="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 ${LANGS} ; do
+ IUSE="${IUSE} linguas_${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"
+ trinity-base_${phase}
+ popd
+}
+
+src_prepare() {
+ l10n_find_plocales_changes "${S}" "${PN}-" ""
+ l10n_for_each_locale_do run_phase src_prepare
+}
+
+src_configure() {
+ mycmakeargs=( -DBUILD_ALL=ON )
+ l10n_for_each_locale_do run_phase src_configure
+}
+
+src_compile() {
+ l10n_for_each_locale_do run_phase src_compile
+}
+
+src_install() {
+ l10n_for_each_locale_do run_phase src_install
+}