Gentoo Archives: gentoo-commits

From: "Johannes Huber (johu)" <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/calligra-l10n: calligra-l10n-2.7.5.ebuild ChangeLog
Date: Sat, 30 Nov 2013 23:42:42
Message-Id: 20131130234234.A6F4D2004B@flycatcher.gentoo.org
1 johu 13/11/30 23:42:34
2
3 Modified: ChangeLog
4 Added: calligra-l10n-2.7.5.ebuild
5 Log:
6 Version bump wrt bug #492726.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)
9
10 Revision Changes Path
11 1.43 app-office/calligra-l10n/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra-l10n/ChangeLog?rev=1.43&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra-l10n/ChangeLog?rev=1.43&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra-l10n/ChangeLog?r1=1.42&r2=1.43
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/calligra-l10n/ChangeLog,v
20 retrieving revision 1.42
21 retrieving revision 1.43
22 diff -u -r1.42 -r1.43
23 --- ChangeLog 18 Oct 2013 19:06:51 -0000 1.42
24 +++ ChangeLog 30 Nov 2013 23:42:34 -0000 1.43
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-office/calligra-l10n
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-office/calligra-l10n/ChangeLog,v 1.42 2013/10/18 19:06:51 johu Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/calligra-l10n/ChangeLog,v 1.43 2013/11/30 23:42:34 johu Exp $
30 +
31 +*calligra-l10n-2.7.5 (30 Nov 2013)
32 +
33 + 30 Nov 2013; Johannes Huber <johu@g.o> +calligra-l10n-2.7.5.ebuild:
34 + Version bump wrt bug #492726.
35
36 *calligra-l10n-2.7.4 (18 Oct 2013)
37
38
39
40
41 1.1 app-office/calligra-l10n/calligra-l10n-2.7.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra-l10n/calligra-l10n-2.7.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra-l10n/calligra-l10n-2.7.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: calligra-l10n-2.7.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/app-office/calligra-l10n/calligra-l10n-2.7.5.ebuild,v 1.1 2013/11/30 23:42:34 johu Exp $
51
52 EAPI=5
53
54 inherit kde4-base
55
56 DESCRIPTION="Calligra localization package"
57 HOMEPAGE="http://www.kde.org/"
58 LICENSE="GPL-2"
59
60 DEPEND="sys-devel/gettext"
61 RDEPEND="!app-office/koffice-l10n"
62
63 KEYWORDS="~amd64 ~arm ~x86"
64 IUSE="doc"
65
66 MY_LANGS="bs ca ca@valencia cs da de el es et fi fr gl hu ia it kk nb nds nl pl
67 pt pt_BR ru sk sl sv tr uk zh_CN zh_TW"
68
69 case ${PV} in
70 2.[456789].[789]?)
71 # beta or rc releases
72 URI_BASE="mirror://kde/unstable/${PN/-l10n/}-${PV}/${PN}/" ;;
73 2.[456789].?)
74 # stable releases
75 URI_BASE="mirror://kde/stable/${PN/-l10n/}-${PV}/${PN}/" ;;
76 *)
77 SRC_URI="" ;;
78 esac
79
80 SRC_URI=""
81 SLOT="4"
82
83 for MY_LANG in ${MY_LANGS} ; do
84 IUSE="${IUSE} linguas_${MY_LANG}"
85 SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE}/${PN}-${MY_LANG}-${PV}.tar.xz )"
86 done
87 unset MY_LANG
88
89 S="${WORKDIR}"
90
91 src_unpack() {
92 local lng dir
93 if [[ -z ${A} ]]; then
94 elog
95 elog "You either have the LINGUAS variable unset, or it only"
96 elog "contains languages not supported by ${P}."
97 elog "You won't have any additional language support."
98 elog
99 elog "${P} supports these language codes:"
100 elog "${MY_LANGS}"
101 elog
102 fi
103
104 [[ -n ${A} ]] && unpack ${A}
105 cd "${S}"
106
107 # add all linguas to cmake
108 if [[ -n ${A} ]]; then
109 for lng in ${MY_LANGS}; do
110 dir="${PN}-${lng}-${PV}"
111 if [[ -d "${dir}" ]] ; then
112 echo "add_subdirectory( ${dir} )" >> "${S}"/CMakeLists.txt
113 fi
114 done
115 fi
116 }
117
118 src_configure() {
119 local mycmakeargs=(
120 -DBUILD_MESSAGES=ON -DBUILD_DATA=ON
121 $(cmake-utils_use_build doc)
122 )
123 [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_configure
124 }
125
126 src_compile() {
127 [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_compile
128 }
129
130 src_test() {
131 [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_test
132 }
133
134 src_install() {
135 [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_install
136 }