summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Fiskerstrand <k_f@gentoo.org>2018-04-29 18:32:00 +0200
committerKristian Fiskerstrand <k_f@gentoo.org>2018-04-29 18:33:59 +0200
commit6d2e6ff1182df719b2c695f6d7af88ce5c5e5d21 (patch)
tree902a3d9ff7bb964ba754d0c31a3abe92a9ae301d /gnome-extra/cinnamon-translations
parentRemove masked for removal package (diff)
downloadgentoo-6d2e6ff1182df719b2c695f6d7af88ce5c5e5d21.tar.gz
gentoo-6d2e6ff1182df719b2c695f6d7af88ce5c5e5d21.tar.bz2
gentoo-6d2e6ff1182df719b2c695f6d7af88ce5c5e5d21.zip
gnome-extra/cinnamon-translations: Avoid filname collissions
Some files are moved from cinnamon-session-daemon to translations for 3.6 series, so avoid this by adding explicit dep, ensuring a proper installation order Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'gnome-extra/cinnamon-translations')
-rw-r--r--gnome-extra/cinnamon-translations/cinnamon-translations-3.6.3-r1.ebuild34
1 files changed, 34 insertions, 0 deletions
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
new file mode 100644
index 000000000000..8f055fc0aec4
--- /dev/null
+++ b/gnome-extra/cinnamon-translations/cinnamon-translations-3.6.3-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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=">gnome-extra/cinnamon-settings-daemon-3.6"
+RDEPEND="${DEPEND}"
+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
+}