From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-office/koffice-l10n: ChangeLog koffice-l10n-2.1.1.ebuild |
Date: | Sat, 27 Feb 2010 22:35:20 |
Message-Id: | E1NlVFm-0001PY-0X@stork.gentoo.org |
1 | ssuominen 10/02/27 22:35:18 |
2 | |
3 | Modified: ChangeLog |
4 | Added: koffice-l10n-2.1.1.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 2.2_rc63/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.14 app-office/koffice-l10n/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/koffice-l10n/ChangeLog?rev=1.14&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/koffice-l10n/ChangeLog?rev=1.14&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/koffice-l10n/ChangeLog?r1=1.13&r2=1.14 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-office/koffice-l10n/ChangeLog,v |
19 | retrieving revision 1.13 |
20 | retrieving revision 1.14 |
21 | diff -u -r1.13 -r1.14 |
22 | --- ChangeLog 14 Jan 2010 02:06:11 -0000 1.13 |
23 | +++ ChangeLog 27 Feb 2010 22:35:17 -0000 1.14 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for app-office/koffice-l10n |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-office/koffice-l10n/ChangeLog,v 1.13 2010/01/14 02:06:11 jer Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-office/koffice-l10n/ChangeLog,v 1.14 2010/02/27 22:35:17 ssuominen Exp $ |
29 | + |
30 | +*koffice-l10n-2.1.1 (27 Feb 2010) |
31 | + |
32 | + 27 Feb 2010; Samuli Suominen <ssuominen@g.o> |
33 | + +koffice-l10n-2.1.1.ebuild: |
34 | + Version bump. |
35 | |
36 | 14 Jan 2010; Jeroen Roovers <jer@g.o> koffice-l10n-2.1.0.ebuild: |
37 | Stable for HPPA (bug #295884). |
38 | |
39 | |
40 | |
41 | 1.1 app-office/koffice-l10n/koffice-l10n-2.1.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/koffice-l10n/koffice-l10n-2.1.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/koffice-l10n/koffice-l10n-2.1.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: koffice-l10n-2.1.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/app-office/koffice-l10n/koffice-l10n-2.1.1.ebuild,v 1.1 2010/02/27 22:35:17 ssuominen Exp $ |
51 | |
52 | EAPI="2" |
53 | |
54 | inherit kde4-base |
55 | |
56 | DESCRIPTION="KDE internationalization package" |
57 | HOMEPAGE="http://www.kde.org/" |
58 | LICENSE="GPL-2" |
59 | |
60 | DEPEND="sys-devel/gettext" |
61 | RDEPEND="" |
62 | |
63 | KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" |
64 | IUSE="doc" |
65 | |
66 | MY_LANGS="ca da de el en_GB es et fr fy gl hne it ja kk nb nds nl pl pt pt_BR |
67 | sv tr uk wa zh_CN zh_TW" |
68 | URI_BASE="mirror://kde/stable/koffice-${PV}/${PN}/" |
69 | SRC_URI="" |
70 | SLOT="2" |
71 | |
72 | for MY_LANG in ${MY_LANGS} ; do |
73 | IUSE="${IUSE} linguas_${MY_LANG}" |
74 | SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE}/${PN}-${MY_LANG}-${PV}.tar.bz2 )" |
75 | done |
76 | |
77 | S="${WORKDIR}" |
78 | |
79 | src_unpack() { |
80 | local lng dir |
81 | if [[ -z ${A} ]]; then |
82 | elog |
83 | elog "You either have the LINGUAS variable unset, or it only" |
84 | elog "contains languages not supported by ${P}." |
85 | elog "You won't have any additional language support." |
86 | elog |
87 | elog "${P} supports these language codes:" |
88 | elog "${MY_LANGS}" |
89 | elog |
90 | fi |
91 | |
92 | [[ -n ${A} ]] && unpack ${A} |
93 | cd "${S}" |
94 | |
95 | # add all linguas to cmake |
96 | if [[ -n ${A} ]]; then |
97 | for lng in ${MY_LANGS}; do |
98 | dir="${PN}-${lng}-${PV}" |
99 | if [[ -d "${dir}" ]] ; then |
100 | echo "add_subdirectory( ${dir} )" >> "${S}"/CMakeLists.txt |
101 | fi |
102 | done |
103 | fi |
104 | } |
105 | |
106 | src_configure() { |
107 | local mycmakeargs |
108 | |
109 | mycmakeargs="${mycmakeargs} -DBUILD_MESSAGES=ON -DBUILD_DATA=ON |
110 | $(cmake-utils_use_build doc)" |
111 | [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_configure |
112 | } |
113 | |
114 | src_compile() { |
115 | [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_compile |
116 | } |
117 | |
118 | src_test() { |
119 | [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_test |
120 | } |
121 | |
122 | src_install() { |
123 | [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_install |
124 | } |