Gentoo Archives: gentoo-commits

From: Kristian Fiskerstrand <k_f@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/cinnamon-translations/
Date: Sun, 29 Apr 2018 16:34:12
Message-Id: 1525019639.6d2e6ff1182df719b2c695f6d7af88ce5c5e5d21.k_f@gentoo
1 commit: 6d2e6ff1182df719b2c695f6d7af88ce5c5e5d21
2 Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 29 16:32:00 2018 +0000
4 Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 29 16:33:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d2e6ff1
7
8 gnome-extra/cinnamon-translations: Avoid filname collissions
9
10 Some files are moved from cinnamon-session-daemon to translations for
11 3.6 series, so avoid this by adding explicit dep, ensuring a proper
12 installation order
13
14 Package-Manager: Portage-2.3.24, Repoman-2.3.6
15
16 .../cinnamon-translations-3.6.3-r1.ebuild | 34 ++++++++++++++++++++++
17 1 file changed, 34 insertions(+)
18
19 diff --git a/gnome-extra/cinnamon-translations/cinnamon-translations-3.6.3-r1.ebuild b/gnome-extra/cinnamon-translations/cinnamon-translations-3.6.3-r1.ebuild
20 new file mode 100644
21 index 00000000000..8f055fc0aec
22 --- /dev/null
23 +++ b/gnome-extra/cinnamon-translations/cinnamon-translations-3.6.3-r1.ebuild
24 @@ -0,0 +1,34 @@
25 +# Copyright 1999-2018 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI=6
29 +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"
30 +
31 +inherit l10n
32 +
33 +DESCRIPTION="Translation data for Cinnamon"
34 +HOMEPAGE="http://cinnamon.linuxmint.com/"
35 +SRC_URI="https://github.com/linuxmint/cinnamon-translations/archive/${PV}.tar.gz -> ${P}.tar.gz"
36 +
37 +LICENSE="GPL-2"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~x86"
40 +IUSE=""
41 +
42 +DEPEND=">gnome-extra/cinnamon-settings-daemon-3.6"
43 +RDEPEND="${DEPEND}"
44 +RESTRICT="test" # tests are for upstream translators and need network access
45 +
46 +src_configure() { :; }
47 +
48 +src_install() {
49 + # Cannot run before since locales are not in the expected place for this to work
50 + l10n_find_plocales_changes "${S}"/usr/share/locale "" ""
51 +
52 + install_locale() {
53 + dodir /usr/share/locale
54 + insinto /usr/share/locale
55 + doins -r usr/share/locale/${1}
56 + }
57 + l10n_for_each_locale_do install_locale
58 +}