desc/linguas.desc: add new locales needed by cinnamon-translations
authorPacho Ramos <pacho@gentoo.org>
Sat, 25 Jun 2016 16:01:19 +0000 (18:01 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sat, 25 Jun 2016 16:26:36 +0000 (18:26 +0200)
gnome-extra/cinnamon-translations/cinnamon-translations-3.0.3.ebuild [new file with mode: 0644]
profiles/desc/linguas.desc

diff --git a/gnome-extra/cinnamon-translations/cinnamon-translations-3.0.3.ebuild b/gnome-extra/cinnamon-translations/cinnamon-translations-3.0.3.ebuild
new file mode 100644 (file)
index 0000000..9aaea87
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PLOCALES="af am an ar as ast az be be@latin bg bn bn_IN br bs ca ca@valencia crh cs csb cy da de dz el en@shaw en_AU en_CA en_GB eo es es_AR et eu fa fi fil fo fr fr_CA frp fy ga gd gl gu he hi hr hu hy ia id ii is it ja jv ka kk km kn ko ksw ku ky la li lo lt lv mai mg mk ml mn mr ms my nb nds ne nl nn nso oc om or pa pap pl ps pt pt_BR ro ru rue rw sa sc sco shn si sk sl so sq sr sr@ijekavianlatin sr@latin sv sw ta te tg th tl tlh tpi tr ts tt ug uk ur uz uz@cyrillic vi wa xh yi zh_CN zh_HK zh_TW zu"
+
+inherit l10n
+
+DESCRIPTION="Translation data for Cinnamon"
+HOMEPAGE="http://cinnamon.linuxmint.com/"
+SRC_URI="https://github.com/linuxmint/cinnamon-translations/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+RESTRICT="test" # tests are for upstream translators and need network access
+
+src_configure() { :; }
+
+src_install() {
+       # Cannot run before since locales are not in the expected place for this to work
+       l10n_find_plocales_changes "${S}"/usr/share/locale "" ""
+
+       install_locale() {
+               dodir /usr/share/locale
+               insinto /usr/share/locale
+               doins -r usr/share/locale/${1}
+       }
+       l10n_for_each_locale_do install_locale
+}
index 3434239a7efc41ff6ad3e7347d1e7be5ed8f3a42..528cd763def40d5c739befd2774ac49814108d52 100644 (file)
@@ -120,6 +120,7 @@ hy_AM - Armenian locale
 ia - Interlingua locale
 id - Indonesian locale
 id_ID - Indonesian locale
+ii - Nousu locale
 is - Icelandic locale
 is_IS - Icelandic locale for Iceland
 it - Italian locale
@@ -187,6 +188,7 @@ or - Oriya locale
 pa - Punjabi locale for India
 pa_IN - Punjabi locale for India
 pam - Kapampangan locale
+pap - Papiamento locale
 pl - Polish locale
 pl_PL - Polish locale
 ps - Pushto locale
@@ -205,6 +207,7 @@ sa - Sanskrit locale
 sa_IN - Sanskrit locale for India
 sah - Sakha (Yakut) locale
 sat - Santali locale
+sc - Sardinian locale
 sco - Scots locale
 sd - Sindhi locale
 se - Northern Saami locale