Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/kde-l10n: ChangeLog kde-l10n-4.12.2.ebuild
Date: Thu, 06 Feb 2014 23:20:23
Message-Id: 20140206232002.7B4602004F@flycatcher.gentoo.org
1 dilfridge 14/02/06 23:20:02
2
3 Modified: ChangeLog
4 Added: kde-l10n-4.12.2.ebuild
5 Log:
6 Version bump KDE SC 4.12.2
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key EBE6A336BE19039C!)
9
10 Revision Changes Path
11 1.224 kde-base/kde-l10n/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/ChangeLog?rev=1.224&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/ChangeLog?rev=1.224&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/ChangeLog?r1=1.223&r2=1.224
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v
20 retrieving revision 1.223
21 retrieving revision 1.224
22 diff -u -r1.223 -r1.224
23 --- ChangeLog 20 Jan 2014 15:00:00 -0000 1.223
24 +++ ChangeLog 6 Feb 2014 23:20:02 -0000 1.224
25 @@ -1,6 +1,12 @@
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.223 2014/01/20 15:00:00 kensington Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.224 2014/02/06 23:20:02 dilfridge Exp $
30 +
31 +*kde-l10n-4.12.2 (06 Feb 2014)
32 +
33 + 06 Feb 2014; Andreas K. Huettel <dilfridge@g.o>
34 + +kde-l10n-4.12.2.ebuild:
35 + Version bump KDE SC 4.12.2
36
37 20 Jan 2014; Michael Palimaka <kensington@g.o>
38 -kde-l10n-4.12.0.ebuild:
39
40
41
42 1.1 kde-base/kde-l10n/kde-l10n-4.12.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.12.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.12.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: kde-l10n-4.12.2.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.12.2.ebuild,v 1.1 2014/02/06 23:20:02 dilfridge Exp $
52
53 EAPI=5
54
55 KDE_HANDBOOK="optional"
56 inherit kde4-base
57
58 DESCRIPTION="KDE internationalization package"
59 HOMEPAGE="http://l10n.kde.org"
60
61 DEPEND="
62 sys-devel/gettext
63 "
64 RDEPEND="!<kde-base/konq-plugins-4.6"
65
66 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
67 IUSE=""
68
69 # /usr/portage/distfiles $ ls -1 kde-l10n-*-${PV}.* |sed -e 's:-${PV}.tar.xz::' -e 's:kde-l10n-::' |tr '\n' ' '
70 MY_LANGS="ar bg bs ca ca@valencia cs da de el en_GB es et eu fi fr ga gl he
71 hi 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
72 sr sv tr ug uk vi wa zh_CN zh_TW"
73
74 URI_BASE="${SRC_URI/-${PV}.tar.xz/}"
75 SRC_URI=""
76
77 for MY_LANG in ${MY_LANGS} ; do
78 IUSE="${IUSE} linguas_${MY_LANG}"
79 SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE}/${PN}-${MY_LANG}-${PV}.tar.xz )"
80 done
81
82 S="${WORKDIR}"
83
84 src_unpack() {
85 local LNG DIR
86 if [[ -z ${A} ]]; then
87 elog
88 elog "You either have the LINGUAS variable unset, or it only"
89 elog "contains languages not supported by ${P}."
90 elog "You won't have any additional language support."
91 elog
92 elog "${P} supports these language codes:"
93 elog "${MY_LANGS}"
94 elog
95 fi
96
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="${PN}-${LNG}-${PV}"
104 if [[ -d "${DIR}" ]] ; then
105 echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
106 fi
107 done
108 fi
109 }
110
111 src_prepare() {
112 find "${S}" -name CMakeLists.txt -type f \
113 -exec sed -i -e 's:^ *add_subdirectory( *kdepim-runtime *):# no kdepim-runtime:g' {} +
114 find "${S}" -name CMakeLists.txt -type f \
115 -exec sed -i -e 's:^ *add_subdirectory( *kdepim *):# no kdepim:g' {} +
116
117 # quick workaround for bug 493278
118 find "${S}" -name "akonadi_knut_resource*" -delete
119
120 kde4-base_src_prepare
121 }
122
123 src_configure() {
124 mycmakeargs=(
125 $(cmake-utils_use_build handbook docs)
126 )
127 [[ -n ${A} ]] && kde4-base_src_configure
128 }
129
130 src_compile() {
131 [[ -n ${A} ]] && kde4-base_src_compile
132 }
133
134 src_test() {
135 [[ -n ${A} ]] && kde4-base_src_test
136 }
137
138 src_install() {
139 [[ -n ${A} ]] && kde4-base_src_install
140 }