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/kde-l10n: ChangeLog kde-l10n-4.12.4.ebuild
Date: Tue, 01 Apr 2014 18:09:30
Message-Id: 20140401180913.4949920060@flycatcher.gentoo.org
1 johu 14/04/01 18:09:13
2
3 Modified: ChangeLog
4 Added: kde-l10n-4.12.4.ebuild
5 Log:
6 Version bump KDE SC 4.12.4
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)
9
10 Revision Changes Path
11 1.233 kde-base/kde-l10n/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/ChangeLog?rev=1.233&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/ChangeLog?rev=1.233&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/ChangeLog?r1=1.232&r2=1.233
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v
20 retrieving revision 1.232
21 retrieving revision 1.233
22 diff -u -r1.232 -r1.233
23 --- ChangeLog 11 Mar 2014 13:06:39 -0000 1.232
24 +++ ChangeLog 1 Apr 2014 18:09:13 -0000 1.233
25 @@ -1,6 +1,11 @@
26 # ChangeLog for kde-base/kde-l10n
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.232 2014/03/11 13:06:39 johu Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.233 2014/04/01 18:09:13 johu Exp $
30 +
31 +*kde-l10n-4.12.4 (01 Apr 2014)
32 +
33 + 01 Apr 2014; Johannes Huber <johu@g.o> +kde-l10n-4.12.4.ebuild:
34 + Version bump KDE SC 4.12.4
35
36 11 Mar 2014; Johannes Huber <johu@g.o> -kde-l10n-4.12.2.ebuild:
37 Remove KDE SC 4.12.2
38
39
40
41 1.1 kde-base/kde-l10n/kde-l10n-4.12.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.12.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.12.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: kde-l10n-4.12.4.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/kde-l10n/kde-l10n-4.12.4.ebuild,v 1.1 2014/04/01 18:09:13 johu Exp $
51
52 EAPI=5
53
54 KDE_HANDBOOK="optional"
55 inherit kde4-base
56
57 DESCRIPTION="KDE internationalization package"
58 HOMEPAGE="http://l10n.kde.org"
59
60 DEPEND="
61 sys-devel/gettext
62 "
63 RDEPEND="!<kde-base/konq-plugins-4.6"
64
65 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
66 IUSE=""
67
68 # /usr/portage/distfiles $ ls -1 kde-l10n-*-${PV}.* |sed -e 's:-${PV}.tar.xz::' -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 hi
70 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
71 sv 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}/${PN}-${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 [[ -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="${PN}-${LNG}-${PV}"
103 if [[ -d "${DIR}" ]] ; then
104 echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
105 fi
106 done
107 fi
108 }
109
110 src_prepare() {
111 find "${S}" -name CMakeLists.txt -type f \
112 -exec sed -i -e 's:^ *add_subdirectory( *kdepim-runtime *):# no kdepim-runtime:g' {} +
113 find "${S}" -name CMakeLists.txt -type f \
114 -exec sed -i -e 's:^ *add_subdirectory( *kdepim *):# no kdepim:g' {} +
115
116 # quick workaround for bug 493278
117 find "${S}" -name "akonadi_knut_resource*" -delete
118
119 kde4-base_src_prepare
120 }
121
122 src_configure() {
123 mycmakeargs=(
124 $(cmake-utils_use_build handbook docs)
125 )
126 [[ -n ${A} ]] && kde4-base_src_configure
127 }
128
129 src_compile() {
130 [[ -n ${A} ]] && kde4-base_src_compile
131 }
132
133 src_test() {
134 [[ -n ${A} ]] && kde4-base_src_test
135 }
136
137 src_install() {
138 [[ -n ${A} ]] && kde4-base_src_install
139 }