Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/koffice-l10n: ChangeLog koffice-l10n-2.0.1.ebuild
Date: Thu, 25 Jun 2009 12:35:29
Message-Id: E1MJoAp-0000wU-Kn@stork.gentoo.org
1 scarabeus 09/06/25 12:35:27
2
3 Modified: ChangeLog
4 Added: koffice-l10n-2.0.1.ebuild
5 Log:
6 Version bump to 2.0.1
7 (Portage version: 2.2_rc33/cvs/Linux i686)
8
9 Revision Changes Path
10 1.4 app-office/koffice-l10n/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/koffice-l10n/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/koffice-l10n/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/koffice-l10n/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-office/koffice-l10n/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 28 May 2009 15:14:51 -0000 1.3
23 +++ ChangeLog 25 Jun 2009 12:35:27 -0000 1.4
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-office/koffice-l10n
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-office/koffice-l10n/ChangeLog,v 1.3 2009/05/28 15:14:51 scarabeus Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-office/koffice-l10n/ChangeLog,v 1.4 2009/06/25 12:35:27 scarabeus Exp $
29 +
30 +*koffice-l10n-2.0.1 (25 Jun 2009)
31 +
32 + 25 Jun 2009; Tomáš Chvátal <scarabeus@g.o>
33 + +koffice-l10n-2.0.1.ebuild:
34 + Version bump to 2.0.1
35
36 28 May 2009; Tomáš Chvátal <scarabeus@g.o>
37 koffice-l10n-2.0.0.ebuild:
38
39
40
41 1.1 app-office/koffice-l10n/koffice-l10n-2.0.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/koffice-l10n/koffice-l10n-2.0.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/koffice-l10n/koffice-l10n-2.0.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: koffice-l10n-2.0.1.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-office/koffice-l10n/koffice-l10n-2.0.1.ebuild,v 1.1 2009/06/25 12:35:27 scarabeus Exp $
51
52 EAPI="2"
53
54 inherit kde4-base
55
56 DESCRIPTION="KDE internationalization package"
57 HOMEPAGE="http://www.kde.org/"
58 LICENSE="GPL-2"
59
60 DEPEND="sys-devel/gettext"
61 RDEPEND=""
62
63 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
64 IUSE="doc"
65
66 MY_LANGS="ca cs da de el en_GB es et fr fy gl hi it ja kk nb nds nl pl pt pt_BR sv tr
67 uk wa zh_CN zh_TW"
68 URI_BASE="mirror://kde/stable/koffice-${PV}/src/${PN}/"
69 SRC_URI=""
70 SLOT="2"
71
72 for MY_LANG in ${MY_LANGS} ; do
73 IUSE="${IUSE} linguas_${MY_LANG}"
74 SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE}/${PN}-${MY_LANG}-${PV}.tar.bz2 )"
75 done
76
77 S="${WORKDIR}"
78
79 src_unpack() {
80 local lng dir
81 if [[ -z ${A} ]]; then
82 elog
83 elog "You either have the LINGUAS variable unset, or it only"
84 elog "contains languages not supported by ${P}."
85 elog "You won't have any additional language support."
86 elog
87 elog "${P} supports these language codes:"
88 elog "${MY_LANGS}"
89 elog
90 fi
91
92 [[ -n ${A} ]] && unpack ${A}
93 cd "${S}"
94
95 # add all linguas to cmake
96 if [[ -n ${A} ]]; then
97 for lng in ${MY_LANGS}; do
98 dir="${PN}-${lng}-${PV}"
99 if [[ -d "${dir}" ]] ; then
100 echo "add_subdirectory( ${dir} )" >> "${S}"/CMakeLists.txt
101 fi
102 done
103 fi
104 }
105
106 src_configure() {
107 local mycmakeargs
108
109 mycmakeargs="${mycmakeargs} -DBUILD_MESSAGES=ON -DBUILD_DATA=ON
110 $(cmake-utils_use_build doc)"
111 [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_configure
112 }
113
114 src_compile() {
115 [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_compile
116 }
117
118 src_install() {
119 [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_install
120 }