Gentoo Archives: gentoo-commits

From: "Alexey Shvetsov (alexxy)" <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/kde-l10n: ChangeLog kde-l10n-4.2.0.ebuild
Date: Tue, 27 Jan 2009 19:21:28
Message-Id: E1LRtV1-0002ur-2b@stork.gentoo.org
1 alexxy 09/01/27 19:21:27
2
3 Modified: ChangeLog
4 Added: kde-l10n-4.2.0.ebuild
5 Log:
6 Bump shiny new KDE 4.2.0
7 (Portage version: 2.2_rc23/cvs/Linux x86_64, RepoMan options: --force)
8
9 Revision Changes Path
10 1.17 kde-base/kde-l10n/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/ChangeLog?rev=1.17&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/ChangeLog?rev=1.17&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/ChangeLog?r1=1.16&r2=1.17
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v
19 retrieving revision 1.16
20 retrieving revision 1.17
21 diff -u -r1.16 -r1.17
22 --- ChangeLog 14 Jan 2009 14:33:10 -0000 1.16
23 +++ ChangeLog 27 Jan 2009 19:21:26 -0000 1.17
24 @@ -1,6 +1,11 @@
25 # ChangeLog for kde-base/kde-l10n
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.16 2009/01/14 14:33:10 alexxy Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.17 2009/01/27 19:21:26 alexxy Exp $
29 +
30 +*kde-l10n-4.2.0 (27 Jan 2009)
31 +
32 + 27 Jan 2009; Alexey Shvetsov <alexxy@g.o> +kde-l10n-4.2.0.ebuild:
33 + Bump KDE-4.2.0
34
35 14 Jan 2009; Alexey Shvetsov <alexxy@g.o> -kde-l10n-4.1.2.ebuild,
36 -kde-l10n-4.1.3.ebuild:
37
38
39
40 1.1 kde-base/kde-l10n/kde-l10n-4.2.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.2.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.2.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: kde-l10n-4.2.0.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.2.0.ebuild,v 1.1 2009/01/27 19:21:26 alexxy Exp $
50
51 EAPI="2"
52
53 inherit kde4-base
54
55 DESCRIPTION="KDE internationalization package"
56 HOMEPAGE="http://www.kde.org/"
57 LICENSE="GPL-2"
58
59 DEPEND="sys-devel/gettext"
60 RDEPEND=""
61
62 KEYWORDS="~amd64 ~x86"
63 IUSE="htmlhandbook"
64
65 MY_LANGS="ar bg bn_IN ca cs csb da de el en_GB es et eu fi fr ga gl gu he hi hu
66 is it ja kk km kn ko ku lt lv mai mk ml mr nb nds nl nn pa pl pt pt_BR
67 ro ru sl sr sv tg th tr uk wa zh_CN zh_TW"
68
69 URI_BASE="${SRC_URI/-${PV}.tar.bz2/}"
70 SRC_URI=""
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 ${LINGUAS}; do
98 DIR="${PN}-${LNG}-${PV}"
99 if [[ -d "${DIR}" ]] ; then
100 echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
101 if ! use htmlhandbook; then
102 sed -i \
103 -e "/docs/ s:^:#DONOTWANT:" \
104 ${DIR}/CMakeLists.txt \
105 || die "Disabling docs for ${lng} failed."
106 fi
107 fi
108 done
109 fi
110 }
111
112 src_configure() {
113 [[ -n ${A} ]] && kde4-base_src_configure
114 }
115
116 src_compile() {
117 [[ -n ${A} ]] && kde4-base_src_compile
118 }
119
120 src_install() {
121 [[ -n ${A} ]] && kde4-base_src_install
122 }