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.12.5.ebuild ChangeLog
Date: Tue, 29 Apr 2014 18:36:21
Message-Id: 20140429183444.4D4392004C@flycatcher.gentoo.org
1 johu 14/04/29 18:34:44
2
3 Modified: ChangeLog
4 Added: kdepim-l10n-4.12.5.ebuild
5 Log:
6 Version bump KDE SC 4.12.5
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)
9
10 Revision Changes Path
11 1.141 kde-base/kdepim-l10n/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdepim-l10n/ChangeLog?rev=1.141&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdepim-l10n/ChangeLog?rev=1.141&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdepim-l10n/ChangeLog?r1=1.140&r2=1.141
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/kde-base/kdepim-l10n/ChangeLog,v
20 retrieving revision 1.140
21 retrieving revision 1.141
22 diff -u -r1.140 -r1.141
23 --- ChangeLog 17 Apr 2014 00:43:42 -0000 1.140
24 +++ ChangeLog 29 Apr 2014 18:34:44 -0000 1.141
25 @@ -1,6 +1,11 @@
26 # ChangeLog for kde-base/kdepim-l10n
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim-l10n/ChangeLog,v 1.140 2014/04/17 00:43:42 johu Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim-l10n/ChangeLog,v 1.141 2014/04/29 18:34:44 johu Exp $
30 +
31 +*kdepim-l10n-4.12.5 (29 Apr 2014)
32 +
33 + 29 Apr 2014; Johannes Huber <johu@g.o> +kdepim-l10n-4.12.5.ebuild:
34 + Version bump KDE SC 4.12.5
35
36 16 Apr 2014; Johannes Huber <johu@g.o> kdepim-l10n-4.13.0.ebuild:
37 Restore KEYWORDS for KDE SC 4.13.0
38
39
40
41 1.1 kde-base/kdepim-l10n/kdepim-l10n-4.12.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdepim-l10n/kdepim-l10n-4.12.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdepim-l10n/kdepim-l10n-4.12.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: kdepim-l10n-4.12.5.ebuild
47 ===================================================================
48 # Copyright 1999-2014 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.12.5.ebuild,v 1.1 2014/04/29 18:34:44 johu Exp $
51
52 EAPI=5
53
54 KDE_HANDBOOK=optional
55 inherit kde4-base
56
57 DESCRIPTION="KDE PIM internationalization package"
58 HOMEPAGE="http://l10n.kde.org"
59
60 DEPEND="
61 sys-devel/gettext
62 "
63 RDEPEND=""
64
65 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
66 IUSE=""
67
68 MY_LANGS="ar bg bs ca ca@valencia cs da de el en_GB es et eu fi fr ga gl he hi
69 hr hu ia is it ja kk km ko lt lv mr nb nds nl nn pa pl pt pt_BR ro ru sk sl sr
70 sv tr ug uk vi wa zh_CN zh_TW"
71
72 URI_BASE="${SRC_URI/-${PV}.tar.xz/}"
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/kdepim/kde}/kde-l10n-${MY_LANG}-${PV}.tar.xz )"
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="kde-l10n-${LNG}-${PV}"
103 if [[ -d "${DIR}" ]] ; then
104 echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
105 fi
106
107 # remove everything except kdepim and kdepim-runtime
108 for SUBDIR in data docs messages scripts ; do
109 if [[ -d "${S}/${DIR}/${SUBDIR}" ]] ; then
110 einfo " ${SUBDIR} subdirectory"
111 echo > "${S}/${DIR}/${SUBDIR}/CMakeLists.txt"
112 [[ -d "${S}/${DIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirectory(kdepim)" >> "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" )
113 [[ -d "${S}/${DIR}/${SUBDIR}/kdepim-runtime" ]] && ( echo "add_subdirectory(kdepim-runtime)" >> "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" )
114 fi
115 done
116
117 # in some cases we may have sub-lingua subdirs, e.g. sr :(
118 for XSUBDIR in "${S}/${DIR}/${LNG}"@* ; do
119 XLNG=$(echo ${XSUBDIR}|sed -e 's:^.*/::')
120 if [[ -d "${XSUBDIR}" ]] ; then
121 einfo " ${XLNG} variant"
122 # remove everything except kdepim and kdepim-runtime
123 for SUBDIR in data docs messages scripts ; do
124 if [[ -d "${XSUBDIR}/${SUBDIR}" ]] ; then
125 einfo " ${SUBDIR} subdirectory"
126 echo > "${XSUBDIR}/${SUBDIR}/CMakeLists.txt"
127 [[ -d "${XSUBDIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirectory(kdepim)" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
128 [[ -d "${XSUBDIR}/${SUBDIR}/kdepim-runtime" ]] && ( echo "add_subdirectory(kdepim-runtime)" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
129 fi
130 done
131 fi
132 done
133 done
134 fi
135 }
136
137 src_prepare() {
138 [[ -n ${A} ]] && kde4-base_src_prepare
139 }
140
141 src_configure() {
142 mycmakeargs=(
143 $(cmake-utils_use_build handbook docs)
144 )
145 [[ -n ${A} ]] && kde4-base_src_configure
146 }
147
148 src_compile() {
149 [[ -n ${A} ]] && kde4-base_src_compile
150 }
151
152 src_test() {
153 [[ -n ${A} ]] && kde4-base_src_test
154 }
155
156 src_install() {
157 [[ -n ${A} ]] && kde4-base_src_install
158 }