Gentoo Archives: gentoo-commits

From: "Wulf Krueger (philantrop)" <philantrop@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/kde-l10n: ChangeLog kde-l10n-4.0.2.ebuild
Date: Tue, 11 Mar 2008 02:52:07
Message-Id: E1JYrO5-00012r-Pw@stork.gentoo.org
1 philantrop 08/03/10 23:26:33
2
3 Modified: ChangeLog
4 Added: kde-l10n-4.0.2.ebuild
5 Log:
6 Version bump to KDE 4.0.2.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.5 kde-base/kde-l10n/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 19 Feb 2008 11:54:02 -0000 1.4
23 +++ ChangeLog 10 Mar 2008 23:26:33 -0000 1.5
24 @@ -1,6 +1,15 @@
25 # ChangeLog for kde-base/kde-l10n
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.4 2008/02/19 11:54:02 ingmar Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.5 2008/03/10 23:26:33 philantrop Exp $
29 +
30 +*kde-l10n-4.0.2 (10 Mar 2008)
31 +
32 + 10 Mar 2008; Wulf C. Krueger <philantrop@g.o>
33 + +kde-l10n-4.0.2.ebuild:
34 + Version bump to 4.0.2.
35 +
36 + 10 Mar 2008; Wulf C. Krueger <philantrop@g.o> ChangeLog:
37 + Version bump to KDE 4.0.2
38
39 19 Feb 2008; Ingmar Vanhassel <ingmar@g.o> ChangeLog:
40 Manifest, bug 210682.
41
42
43
44 1.1 kde-base/kde-l10n/kde-l10n-4.0.2.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.0.2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.0.2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: kde-l10n-4.0.2.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.0.2.ebuild,v 1.1 2008/03/10 23:26:33 philantrop Exp $
54
55 EAPI="1"
56
57 inherit kde4-base
58
59 DESCRIPTION="KDE internationalization package"
60 HOMEPAGE="http://www.kde.org/"
61 LICENSE="GPL-2"
62
63 KEYWORDS="~amd64 ~x86"
64 IUSE=""
65
66 DEPEND=">=sys-devel/gettext-0.15"
67 RDEPEND=""
68
69 LANGS="ar be bg ca cs csb da de el en_GB eo es et eu fi fr fy ga gl hi hu it ja
70 kk km ko lv mk nb nds ne nl nn pa pl pt pt_BR ru se sl sv th tr uk wa zh_CN zh_TW"
71
72 URI_BASE="${SRC_URI/-${PV}.tar.bz2/}"
73 SRC_URI=""
74
75 for X in ${LANGS} ; do
76 IUSE="${IUSE} linguas_${X}"
77 SRC_URI="${SRC_URI} linguas_${X}? ( ${URI_BASE}/${PN}-${X}-${PV}.tar.bz2 )"
78 done
79
80 S="${WORKDIR}"
81
82 src_unpack() {
83 if [[ -z ${A} ]]; then
84 echo
85 ewarn "You either have the LINGUAS variable unset, or it only"
86 ewarn "contains languages not supported by ${P}."
87 ewarn "You won't have any additional language support."
88 echo
89 ewarn "${P} supports these language codes:"
90 ewarn "${LANGS}"
91 echo
92 fi
93
94 [[ -n ${A} ]] && unpack ${A}
95 cd "${S}"
96
97 # Create a top-level CMakeLists.txt to include the selected LINGUAS as sub-directories of ${S}
98 for dir in * ; do
99 [[ -d ${dir} ]] && echo "add_subdirectory( ${dir} )" >> "${S}"/CMakeLists.txt
100 done
101 }
102
103 src_compile() {
104 if [[ -n ${A} ]]; then
105 kde4-base_src_compile
106 fi
107 }
108
109 src_install() {
110 if [[ -n ${A} ]]; then
111 kde4-base_src_install
112 fi
113 }
114
115
116
117 --
118 gentoo-commits@l.g.o mailing list