Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/kdepim-l10n/
Date: Sat, 02 Jul 2016 16:45:38
Message-Id: 1467477913.8a301388a673d9f606436071d7b9bbc2acbc7b31.kensington@gentoo
1 commit: 8a301388a673d9f606436071d7b9bbc2acbc7b31
2 Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
3 AuthorDate: Sun Jun 26 10:51:20 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 2 16:45:13 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a301388
7
8 kde-apps/kdepim-l10n: Drop old, conflicting versions
9
10 All revbumps were stabilised.
11
12 Package-Manager: portage-2.2.28
13
14 kde-apps/kdepim-l10n/kdepim-l10n-4.14.3.ebuild | 111 --------------------
15 .../kdepim-l10n/kdepim-l10n-4.4.11.1-r1.ebuild | 112 ---------------------
16 2 files changed, 223 deletions(-)
17
18 diff --git a/kde-apps/kdepim-l10n/kdepim-l10n-4.14.3.ebuild b/kde-apps/kdepim-l10n/kdepim-l10n-4.14.3.ebuild
19 deleted file mode 100644
20 index d76ee3b..0000000
21 --- a/kde-apps/kdepim-l10n/kdepim-l10n-4.14.3.ebuild
22 +++ /dev/null
23 @@ -1,111 +0,0 @@
24 -# Copyright 1999-2015 Gentoo Foundation
25 -# Distributed under the terms of the GNU General Public License v2
26 -# $Id$
27 -
28 -EAPI=5
29 -
30 -KDE_HANDBOOK=optional
31 -inherit kde4-base
32 -
33 -DESCRIPTION="KDE PIM internationalization package"
34 -HOMEPAGE="http://l10n.kde.org"
35 -
36 -DEPEND="
37 - sys-devel/gettext
38 -"
39 -RDEPEND=""
40 -
41 -KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
42 -IUSE=""
43 -
44 -MY_LANGS="ar bg bs ca ca@valencia cs da de el en_GB es et eu fa fi fr ga gl he
45 -hi hr hu ia id is it ja kk km ko lt lv mr nb nds nl nn pa pl pt pt_BR ro ru sk
46 -sl sr sv tr ug uk wa zh_CN zh_TW"
47 -
48 -URI_BASE="${SRC_URI/-${PV}.tar.xz/}"
49 -SRC_URI=""
50 -
51 -for MY_LANG in ${MY_LANGS} ; do
52 - IUSE="${IUSE} linguas_${MY_LANG}"
53 - SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE/kdepim/kde}/kde-l10n-${MY_LANG}-${PV}.tar.xz )"
54 -done
55 -
56 -S="${WORKDIR}"
57 -
58 -src_unpack() {
59 - local LNG DIR
60 - if [[ -z ${A} ]]; then
61 - elog
62 - elog "You either have the LINGUAS variable unset, or it only"
63 - elog "contains languages not supported by ${P}."
64 - elog "You won't have any additional language support."
65 - elog
66 - elog "${P} supports these language codes:"
67 - elog "${MY_LANGS}"
68 - elog
69 - fi
70 -
71 - # For EAPI >= 3, or if not using .tar.xz archives:
72 - [[ -n ${A} ]] && unpack ${A}
73 - cd "${S}"
74 -
75 - # add all linguas to cmake
76 - if [[ -n ${A} ]]; then
77 - for LNG in ${LINGUAS}; do
78 - DIR="kde-l10n-${LNG}-${PV}"
79 - if [[ -d "${DIR}" ]] ; then
80 - echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
81 - fi
82 -
83 - # remove everything except kdepim and kdepim-runtime
84 - for SUBDIR in data docs messages scripts ; do
85 - if [[ -d "${S}/${DIR}/${SUBDIR}" ]] ; then
86 - einfo " ${SUBDIR} subdirectory"
87 - echo > "${S}/${DIR}/${SUBDIR}/CMakeLists.txt"
88 - [[ -d "${S}/${DIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirectory(kdepim)" >> "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" )
89 - [[ -d "${S}/${DIR}/${SUBDIR}/kdepim-runtime" ]] && ( echo "add_subdirectory(kdepim-runtime)" >> "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" )
90 - fi
91 - done
92 -
93 - # in some cases we may have sub-lingua subdirs, e.g. sr :(
94 - for XSUBDIR in "${S}/${DIR}/${LNG}"@* ; do
95 - XLNG=$(echo ${XSUBDIR}|sed -e 's:^.*/::')
96 - if [[ -d "${XSUBDIR}" ]] ; then
97 - einfo " ${XLNG} variant"
98 - # remove everything except kdepim and kdepim-runtime
99 - for SUBDIR in data docs messages scripts ; do
100 - if [[ -d "${XSUBDIR}/${SUBDIR}" ]] ; then
101 - einfo " ${SUBDIR} subdirectory"
102 - echo > "${XSUBDIR}/${SUBDIR}/CMakeLists.txt"
103 - [[ -d "${XSUBDIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirectory(kdepim)" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
104 - [[ -d "${XSUBDIR}/${SUBDIR}/kdepim-runtime" ]] && ( echo "add_subdirectory(kdepim-runtime)" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
105 - fi
106 - done
107 - fi
108 - done
109 - done
110 - fi
111 -}
112 -
113 -src_prepare() {
114 - [[ -n ${A} ]] && kde4-base_src_prepare
115 -}
116 -
117 -src_configure() {
118 - mycmakeargs=(
119 - $(cmake-utils_use_build handbook docs)
120 - )
121 - [[ -n ${A} ]] && kde4-base_src_configure
122 -}
123 -
124 -src_compile() {
125 - [[ -n ${A} ]] && kde4-base_src_compile
126 -}
127 -
128 -src_test() {
129 - [[ -n ${A} ]] && kde4-base_src_test
130 -}
131 -
132 -src_install() {
133 - [[ -n ${A} ]] && kde4-base_src_install
134 -}
135
136 diff --git a/kde-apps/kdepim-l10n/kdepim-l10n-4.4.11.1-r1.ebuild b/kde-apps/kdepim-l10n/kdepim-l10n-4.4.11.1-r1.ebuild
137 deleted file mode 100644
138 index 5defde2..0000000
139 --- a/kde-apps/kdepim-l10n/kdepim-l10n-4.4.11.1-r1.ebuild
140 +++ /dev/null
141 @@ -1,112 +0,0 @@
142 -# Copyright 1999-2015 Gentoo Foundation
143 -# Distributed under the terms of the GNU General Public License v2
144 -# $Id$
145 -
146 -EAPI=5
147 -KDE_MINIMAL="4.6"
148 -
149 -inherit kde4-base
150 -
151 -DESCRIPTION="KDE PIM internationalization package"
152 -HOMEPAGE="http://l10n.kde.org"
153 -
154 -DEPEND="
155 - sys-devel/gettext
156 -"
157 -RDEPEND="!<=kde-base/kde-l10n-4.5.50:4"
158 -
159 -KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
160 -IUSE=""
161 -
162 -MY_LANGS="ar bg ca ca@valencia cs csb da de el en_GB eo es et eu
163 - fi fr fy ga gl gu he hi hr hu id is it ja kk km kn ko lt lv
164 - mai mk ml nb nds nl nn pa pl pt pt_BR ro ru si sk sl sr sv tg
165 - tr uk wa zh_CN zh_TW"
166 -
167 -URI_BASE="${SRC_URI/-${PV}.tar.bz2/}"
168 -SRC_URI=""
169 -
170 -for MY_LANG in ${MY_LANGS} ; do
171 - IUSE="${IUSE} linguas_${MY_LANG}"
172 - SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE}/kde-l10n-${MY_LANG}-4.4.5.tar.bz2 )"
173 -done
174 -
175 -S="${WORKDIR}"
176 -
177 -src_unpack() {
178 - local LNG DIR
179 - if [[ -z ${A} ]]; then
180 - elog
181 - elog "You either have the LINGUAS variable unset, or it only"
182 - elog "contains languages not supported by ${P}."
183 - elog "You won't have any additional language support."
184 - elog
185 - elog "${P} supports these language codes:"
186 - elog "${MY_LANGS}"
187 - elog
188 - fi
189 -
190 - # For EAPI >= 3, or if not using .tar.xz archives:
191 - [[ -n ${A} ]] && unpack ${A}
192 - cd "${S}"
193 -
194 - # for all linguas do:
195 - if [[ -n ${A} ]]; then
196 - for LNG in ${LINGUAS}; do
197 - einfo "Processing ${LNG} localization"
198 - DIR="kde-l10n-${LNG}-4.4.5"
199 -
200 - # add subdir to toplevel cmake file
201 - if [[ -d "${DIR}" ]] ; then
202 - echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
203 - fi
204 -
205 - # remove everything except kdepim
206 - for SUBDIR in data docs messages scripts ; do
207 - if [[ -d "${S}/${DIR}/${SUBDIR}" ]] ; then
208 - einfo " ${SUBDIR} subdirectory"
209 - echo > "${S}/${DIR}/${SUBDIR}/CMakeLists.txt"
210 - [[ -d "${S}/${DIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirectory(kdepim)" >> "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" )
211 - fi
212 - done
213 -
214 - # in some cases we may have sub-lingua subdirs, e.g. sr :(
215 - for XSUBDIR in "${S}/${DIR}/${LNG}"@* ; do
216 - XLNG=$(echo ${XSUBDIR}|sed -e 's:^.*/::')
217 - if [[ -d "${XSUBDIR}" ]] ; then
218 - einfo " ${XLNG} variant"
219 - # remove everything except kdepim
220 - for SUBDIR in data docs messages scripts ; do
221 - if [[ -d "${XSUBDIR}/${SUBDIR}" ]] ; then
222 - einfo " ${SUBDIR} subdirectory"
223 - echo > "${XSUBDIR}/${SUBDIR}/CMakeLists.txt"
224 - [[ -d "${XSUBDIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirectory(kdepim)" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
225 - fi
226 - done
227 - fi
228 - done
229 - done
230 - fi
231 -}
232 -
233 -src_prepare() {
234 - [[ -n ${A} ]] && kde4-base_src_prepare
235 -}
236 -
237 -src_configure() {
238 - mycmakeargs="${mycmakeargs}
239 - -DBUILD_docs=OFF"
240 - [[ -n ${A} ]] && kde4-base_src_configure
241 -}
242 -
243 -src_compile() {
244 - [[ -n ${A} ]] && kde4-base_src_compile
245 -}
246 -
247 -src_test() {
248 - [[ -n ${A} ]] && kde4-base_src_test
249 -}
250 -
251 -src_install() {
252 - [[ -n ${A} ]] && kde4-base_src_install
253 -}