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