Gentoo Archives: gentoo-commits

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