Gentoo Archives: gentoo-commits

From: "Dror Levin (spatz)" <spatz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/kde-l10n: ChangeLog kde-l10n-4.4.2.ebuild
Date: Tue, 30 Mar 2010 20:42:48
Message-Id: E1NwiGr-0000EI-U2@stork.gentoo.org
1 spatz 10/03/30 20:42:45
2
3 Modified: ChangeLog
4 Added: kde-l10n-4.4.2.ebuild
5 Log:
6 Version bump KDE 4.4.2
7 (Portage version: 2.2_rc67/cvs/Linux x86_64, RepoMan options: --force)
8
9 Revision Changes Path
10 1.59 kde-base/kde-l10n/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/ChangeLog?rev=1.59&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/ChangeLog?rev=1.59&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/ChangeLog?r1=1.58&r2=1.59
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v
19 retrieving revision 1.58
20 retrieving revision 1.59
21 diff -u -r1.58 -r1.59
22 --- ChangeLog 11 Mar 2010 18:33:48 -0000 1.58
23 +++ ChangeLog 30 Mar 2010 20:42:45 -0000 1.59
24 @@ -1,6 +1,11 @@
25 # ChangeLog for kde-base/kde-l10n
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.58 2010/03/11 18:33:48 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.59 2010/03/30 20:42:45 spatz Exp $
29 +
30 +*kde-l10n-4.4.2 (30 Mar 2010)
31 +
32 + 30 Mar 2010; Dror Levin <spatz@g.o> +kde-l10n-4.4.2.ebuild:
33 + Version bump
34
35 11 Mar 2010; Brent Baude <ranger@g.o> kde-l10n-4.3.5.ebuild:
36 Marking kde-l10n-4.3.5 ppc stable for bug 300393
37
38
39
40 1.1 kde-base/kde-l10n/kde-l10n-4.4.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.4.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.4.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: kde-l10n-4.4.2.ebuild
46 ===================================================================
47 # Copyright 1999-2010 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.4.2.ebuild,v 1.1 2010/03/30 20:42:45 spatz 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="
60 sys-devel/gettext
61 "
62 RDEPEND=""
63
64 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
65 IUSE="+handbook"
66
67 MY_LANGS="ar bg ca ca@valencia cs csb da de el en_GB eo es et eu
68 fi fr fy ga gl gu he hi hr hu id is it ja kk km kn ko lt lv
69 mai mk ml nb nds nl nn pa pl pt pt_BR ro ru si sk sl sr sv tg
70 tr uk wa zh_CN zh_TW"
71
72 URI_BASE="${SRC_URI/-${PV}.tar.bz2/}"
73 SRC_URI=""
74
75 for MY_LANG in ${MY_LANGS} ; do
76 IUSE="${IUSE} linguas_${MY_LANG}"
77 SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE}/${PN}-${MY_LANG}-${PV}.tar.bz2 )"
78 done
79
80 S="${WORKDIR}"
81
82 src_unpack() {
83 local LNG DIR
84 if [[ -z ${A} ]]; then
85 elog
86 elog "You either have the LINGUAS variable unset, or it only"
87 elog "contains languages not supported by ${P}."
88 elog "You won't have any additional language support."
89 elog
90 elog "${P} supports these language codes:"
91 elog "${MY_LANGS}"
92 elog
93 fi
94
95 # For EAPI >= 3, or if not using .tar.xz archives:
96 [[ -n ${A} ]] && unpack ${A}
97 cd "${S}"
98
99 # add all linguas to cmake
100 if [[ -n ${A} ]]; then
101 for LNG in ${LINGUAS}; do
102 DIR="${PN}-${LNG}-${PV}"
103 if [[ -d "${DIR}" ]] ; then
104 echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
105 fi
106 done
107 fi
108 }
109
110 src_configure() {
111 mycmakeargs="${mycmakeargs}
112 $(cmake-utils_use_build handbook docs)"
113 [[ -n ${A} ]] && kde4-base_src_configure
114 }
115
116 src_compile() {
117 [[ -n ${A} ]] && kde4-base_src_compile
118 }
119
120 src_test() {
121 [[ -n ${A} ]] && kde4-base_src_test
122 }
123
124 src_install() {
125 [[ -n ${A} ]] && kde4-base_src_install
126 }