From: | "Michael Palimaka (kensington)" <kensington@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-office/calligra-l10n: calligra-l10n-2.8.6.ebuild ChangeLog calligra-l10n-2.8.3.ebuild |
Date: | Thu, 27 Nov 2014 10:13:42 |
Message-Id: | 20141127101338.F05A3B033@oystercatcher.gentoo.org |
1 | kensington 14/11/27 10:13:38 |
2 | |
3 | Modified: ChangeLog |
4 | Added: calligra-l10n-2.8.6.ebuild |
5 | Removed: calligra-l10n-2.8.3.ebuild |
6 | Log: |
7 | Version bump wrt bug #523694. Remove old. |
8 | |
9 | (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!) |
10 | |
11 | Revision Changes Path |
12 | 1.51 app-office/calligra-l10n/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra-l10n/ChangeLog?rev=1.51&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra-l10n/ChangeLog?rev=1.51&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra-l10n/ChangeLog?r1=1.50&r2=1.51 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/app-office/calligra-l10n/ChangeLog,v |
21 | retrieving revision 1.50 |
22 | retrieving revision 1.51 |
23 | diff -u -r1.50 -r1.51 |
24 | --- ChangeLog 25 Jul 2014 19:28:01 -0000 1.50 |
25 | +++ ChangeLog 27 Nov 2014 10:13:38 -0000 1.51 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for app-office/calligra-l10n |
28 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/app-office/calligra-l10n/ChangeLog,v 1.50 2014/07/25 19:28:01 johu Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/app-office/calligra-l10n/ChangeLog,v 1.51 2014/11/27 10:13:38 kensington Exp $ |
31 | + |
32 | +*calligra-l10n-2.8.6 (27 Nov 2014) |
33 | + |
34 | + 27 Nov 2014; Michael Palimaka <kensington@g.o> |
35 | + +calligra-l10n-2.8.6.ebuild, -calligra-l10n-2.8.3.ebuild: |
36 | + Version bump wrt bug #523694. Remove old. |
37 | |
38 | *calligra-l10n-2.8.5 (25 Jul 2014) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 app-office/calligra-l10n/calligra-l10n-2.8.6.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra-l10n/calligra-l10n-2.8.6.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra-l10n/calligra-l10n-2.8.6.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: calligra-l10n-2.8.6.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2014 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/app-office/calligra-l10n/calligra-l10n-2.8.6.ebuild,v 1.1 2014/11/27 10:13:38 kensington Exp $ |
53 | |
54 | EAPI=5 |
55 | |
56 | inherit kde4-base |
57 | |
58 | DESCRIPTION="Calligra localization package" |
59 | HOMEPAGE="http://www.kde.org/" |
60 | LICENSE="GPL-2" |
61 | |
62 | DEPEND="sys-devel/gettext" |
63 | RDEPEND="!app-office/koffice-l10n" |
64 | |
65 | KEYWORDS="~amd64 ~arm ~x86" |
66 | IUSE="doc" |
67 | |
68 | MY_LANGS="bs ca ca@valencia cs da de el en_GB es et eu fi fr gl hu it ja kk nb |
69 | nds nl pl pt pt_BR ru sk sv uk zh_CN zh_TW" |
70 | |
71 | case ${PV} in |
72 | 2.[456789].[789]?) |
73 | # beta or rc releases |
74 | URI_BASE="mirror://kde/unstable/${PN/-l10n/}-${PV}/${PN}" ;; |
75 | 2.[456789].?) |
76 | # stable releases |
77 | URI_BASE="mirror://kde/stable/${PN/-l10n/}-${PV}/${PN}" ;; |
78 | *) |
79 | SRC_URI="" ;; |
80 | esac |
81 | |
82 | SRC_URI="" |
83 | SLOT="4" |
84 | |
85 | for MY_LANG in ${MY_LANGS} ; do |
86 | IUSE="${IUSE} linguas_${MY_LANG}" |
87 | SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE}/${PN}-${MY_LANG}-${PV}.tar.xz )" |
88 | done |
89 | unset MY_LANG |
90 | |
91 | S="${WORKDIR}" |
92 | |
93 | src_unpack() { |
94 | local lng dir |
95 | if [[ -z ${A} ]]; then |
96 | elog |
97 | elog "You either have the LINGUAS variable unset, or it only" |
98 | elog "contains languages not supported by ${P}." |
99 | elog "You won't have any additional language support." |
100 | elog |
101 | elog "${P} supports these language codes:" |
102 | elog "${MY_LANGS}" |
103 | elog |
104 | fi |
105 | |
106 | [[ -n ${A} ]] && unpack ${A} |
107 | cd "${S}" |
108 | |
109 | # add all linguas to cmake |
110 | if [[ -n ${A} ]]; then |
111 | for lng in ${MY_LANGS}; do |
112 | dir="${PN}-${lng}-${PV}" |
113 | if [[ -d "${dir}" ]] ; then |
114 | echo "add_subdirectory( ${dir} )" >> "${S}"/CMakeLists.txt |
115 | fi |
116 | done |
117 | fi |
118 | } |
119 | |
120 | src_configure() { |
121 | local mycmakeargs=( |
122 | -DBUILD_MESSAGES=ON -DBUILD_DATA=ON |
123 | $(cmake-utils_use_build doc) |
124 | ) |
125 | [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_configure |
126 | } |
127 | |
128 | src_compile() { |
129 | [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_compile |
130 | } |
131 | |
132 | src_test() { |
133 | [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_test |
134 | } |
135 | |
136 | src_install() { |
137 | [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_install |
138 | } |