Gentoo Archives: gentoo-commits

From: "Johannes Huber (johu)" <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/kdepim-l10n: kdepim-l10n-4.10.5.ebuild ChangeLog
Date: Tue, 02 Jul 2013 16:50:26
Message-Id: 20130702164732.57B6521722@flycatcher.gentoo.org
1 johu 13/07/02 16:47:32
2
3 Modified: ChangeLog
4 Added: kdepim-l10n-4.10.5.ebuild
5 Log:
6 Version bump KDE SC 4.10.5
7
8 (Portage version: 2.2.0_alpha186/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)
9
10 Revision Changes Path
11 1.99 kde-base/kdepim-l10n/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdepim-l10n/ChangeLog?rev=1.99&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdepim-l10n/ChangeLog?rev=1.99&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdepim-l10n/ChangeLog?r1=1.98&r2=1.99
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/kde-base/kdepim-l10n/ChangeLog,v
20 retrieving revision 1.98
21 retrieving revision 1.99
22 diff -u -r1.98 -r1.99
23 --- ChangeLog 2 Jul 2013 09:29:45 -0000 1.98
24 +++ ChangeLog 2 Jul 2013 16:47:32 -0000 1.99
25 @@ -1,6 +1,11 @@
26 # ChangeLog for kde-base/kdepim-l10n
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim-l10n/ChangeLog,v 1.98 2013/07/02 09:29:45 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim-l10n/ChangeLog,v 1.99 2013/07/02 16:47:32 johu Exp $
30 +
31 +*kdepim-l10n-4.10.5 (02 Jul 2013)
32 +
33 + 02 Jul 2013; Johannes Huber <johu@g.o> +kdepim-l10n-4.10.5.ebuild:
34 + Version bump KDE SC 4.10.5
35
36 02 Jul 2013; Agostino Sarubbo <ago@g.o> -kdepim-l10n-4.10.3.ebuild:
37 Remove old
38
39
40
41 1.1 kde-base/kdepim-l10n/kdepim-l10n-4.10.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdepim-l10n/kdepim-l10n-4.10.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdepim-l10n/kdepim-l10n-4.10.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: kdepim-l10n-4.10.5.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim-l10n/kdepim-l10n-4.10.5.ebuild,v 1.1 2013/07/02 16:47:32 johu Exp $
51
52 EAPI=5
53
54 KDE_HANDBOOK=optional
55 inherit kde4-base
56
57 DESCRIPTION="KDE PIM internationalization package"
58
59 DEPEND="
60 sys-devel/gettext
61 "
62 RDEPEND=""
63
64 KEYWORDS=" ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
65 IUSE=""
66
67 MY_LANGS="ar bg bs ca ca@valencia cs da de el en_GB es et eu fa fi fr ga gl he
68 hi hr hu ia is it ja kk km ko lt lv mr nb nds nl nn pa pl pt pt_BR ro ru si sk
69 sl sr sv tg th tr ug uk vi wa zh_CN zh_TW"
70
71 URI_BASE="${SRC_URI/-${PV}.tar.xz/}"
72 SRC_URI=""
73
74 for MY_LANG in ${MY_LANGS} ; do
75 IUSE="${IUSE} linguas_${MY_LANG}"
76 SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE/kdepim/kde}/kde-l10n-${MY_LANG}-${PV}.tar.xz )"
77 done
78
79 S="${WORKDIR}"
80
81 src_unpack() {
82 local LNG DIR
83 if [[ -z ${A} ]]; then
84 elog
85 elog "You either have the LINGUAS variable unset, or it only"
86 elog "contains languages not supported by ${P}."
87 elog "You won't have any additional language support."
88 elog
89 elog "${P} supports these language codes:"
90 elog "${MY_LANGS}"
91 elog
92 fi
93
94 # For EAPI >= 3, or if not using .tar.xz archives:
95 [[ -n ${A} ]] && unpack ${A}
96 cd "${S}"
97
98 # add all linguas to cmake
99 if [[ -n ${A} ]]; then
100 for LNG in ${LINGUAS}; do
101 DIR="kde-l10n-${LNG}-${PV}"
102 if [[ -d "${DIR}" ]] ; then
103 echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
104 fi
105
106 # remove everything except kdepim and kdepim-runtime
107 for SUBDIR in data docs messages scripts ; do
108 if [[ -d "${S}/${DIR}/${SUBDIR}" ]] ; then
109 einfo " ${SUBDIR} subdirectory"
110 echo > "${S}/${DIR}/${SUBDIR}/CMakeLists.txt"
111 [[ -d "${S}/${DIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirectory(kdepim)" >> "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" )
112 [[ -d "${S}/${DIR}/${SUBDIR}/kdepim-runtime" ]] && ( echo "add_subdirectory(kdepim-runtime)" >> "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" )
113 fi
114 done
115
116 # in some cases we may have sub-lingua subdirs, e.g. sr :(
117 for XSUBDIR in "${S}/${DIR}/${LNG}"@* ; do
118 XLNG=$(echo ${XSUBDIR}|sed -e 's:^.*/::')
119 if [[ -d "${XSUBDIR}" ]] ; then
120 einfo " ${XLNG} variant"
121 # remove everything except kdepim and kdepim-runtime
122 for SUBDIR in data docs messages scripts ; do
123 if [[ -d "${XSUBDIR}/${SUBDIR}" ]] ; then
124 einfo " ${SUBDIR} subdirectory"
125 echo > "${XSUBDIR}/${SUBDIR}/CMakeLists.txt"
126 [[ -d "${XSUBDIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirectory(kdepim)" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
127 [[ -d "${XSUBDIR}/${SUBDIR}/kdepim-runtime" ]] && ( echo "add_subdirectory(kdepim-runtime)" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
128 fi
129 done
130 fi
131 done
132 done
133 fi
134 }
135
136 src_prepare() {
137 [[ -n ${A} ]] && kde4-base_src_prepare
138 }
139
140 src_configure() {
141 mycmakeargs=(
142 $(cmake-utils_use_build handbook docs)
143 )
144 [[ -n ${A} ]] && kde4-base_src_configure
145 }
146
147 src_compile() {
148 [[ -n ${A} ]] && kde4-base_src_compile
149 }
150
151 src_test() {
152 [[ -n ${A} ]] && kde4-base_src_test
153 }
154
155 src_install() {
156 [[ -n ${A} ]] && kde4-base_src_install
157 }