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.7.0.ebuild
Date: Wed, 27 Jul 2011 14:13:32
Message-Id: 20110727140426.5AD2A20069@flycatcher.gentoo.org
1 alexxy 11/07/27 14:04:26
2
3 Modified: ChangeLog
4 Added: kde-l10n-4.7.0.ebuild
5 Log:
6 [kde-base] Version bump KDE SC 4.7.0
7
8 (Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.99 kde-base/kde-l10n/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/ChangeLog?rev=1.99&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/ChangeLog?rev=1.99&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/ChangeLog?r1=1.98&r2=1.99
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v
20 retrieving revision 1.98
21 retrieving revision 1.99
22 diff -u -r1.98 -r1.99
23 --- ChangeLog 13 Jul 2011 16:17:04 -0000 1.98
24 +++ ChangeLog 27 Jul 2011 14:04:26 -0000 1.99
25 @@ -1,6 +1,11 @@
26 # ChangeLog for kde-base/kde-l10n
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.98 2011/07/13 16:17:04 dilfridge Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.99 2011/07/27 14:04:26 alexxy Exp $
30 +
31 +*kde-l10n-4.7.0 (27 Jul 2011)
32 +
33 + 27 Jul 2011; Alexey Shvetsov <alexxy@g.o> +kde-l10n-4.7.0.ebuild:
34 + Version bump KDE SC 4.7.0
35
36 *kde-l10n-4.6.5-r1 (13 Jul 2011)
37 *kde-l10n-4.6.4-r1 (13 Jul 2011)
38
39
40
41 1.1 kde-base/kde-l10n/kde-l10n-4.7.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.7.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.7.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: kde-l10n-4.7.0.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.7.0.ebuild,v 1.1 2011/07/27 14:04:26 alexxy Exp $
51
52 EAPI="3"
53
54 inherit kde4-base
55
56 DESCRIPTION="KDE internationalization package"
57 HOMEPAGE="http://www.kde.org/"
58 LICENSE="GPL-2"
59
60 DEPEND="
61 sys-devel/gettext
62 "
63 RDEPEND="!<kde-misc/konq-plugins-4.6"
64
65 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
66 IUSE="+handbook"
67
68 # /usr/portage/distfiles $ ls -1 kde-l10n-*-${PV}.* |sed -e 's:-${PV}.tar.bz2::' -e 's:kde-l10n-::' |tr '\n' ' '
69 MY_LANGS="ar bg bs ca ca@valencia cs da de el en_GB es et eu fi fr ga gl he hr
70 hu ia id is it ja kk km kn ko lt lv nb nds nl nn pa pl pt pt_BR ro ru sk sl sr
71 sv th tr ug uk wa zh_CN zh_TW"
72
73 URI_BASE="${SRC_URI/-${PV}.tar.bz2/}"
74 SRC_URI=""
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
81 S="${WORKDIR}"
82
83 src_unpack() {
84 local LNG DIR
85 if [[ -z ${A} ]]; then
86 elog
87 elog "You either have the LINGUAS variable unset, or it only"
88 elog "contains languages not supported by ${P}."
89 elog "You won't have any additional language support."
90 elog
91 elog "${P} supports these language codes:"
92 elog "${MY_LANGS}"
93 elog
94 fi
95
96 # For EAPI >= 3, or if not using .tar.xz archives:
97 [[ -n ${A} ]] && unpack ${A}
98 cd "${S}"
99
100 # add all linguas to cmake
101 if [[ -n ${A} ]]; then
102 for LNG in ${LINGUAS}; 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_prepare() {
112 # Upstream added kdepim-runtime translations by mistake and does not want to
113 # make a new tarball, bug 366353
114
115 find "${S}" -name CMakeLists.txt -type f \
116 -exec sed -i -e 's:add_subdirectory(kdepim-runtime):# no kdepim-runtime:g' {} +
117
118 kde4-base_src_prepare
119 }
120
121 src_configure() {
122 mycmakeargs=(
123 $(cmake-utils_use_build handbook docs)
124 )
125 [[ -n ${A} ]] && kde4-base_src_configure
126 }
127
128 src_compile() {
129 [[ -n ${A} ]] && kde4-base_src_compile
130 }
131
132 src_test() {
133 [[ -n ${A} ]] && kde4-base_src_test
134 }
135
136 src_install() {
137 [[ -n ${A} ]] && kde4-base_src_install
138 }