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.1.ebuild
Date: Thu, 07 Feb 2008 00:11:29
Message-Id: E1JMuMQ-0008L5-8X@stork.gentoo.org
1 philantrop 08/02/07 00:11:26
2
3 Modified: ChangeLog
4 Added: kde-l10n-4.0.1.ebuild
5 Log:
6 Version bump to KDE 4.0.1.
7 (Portage version: 2.1.4.1)
8
9 Revision Changes Path
10 1.2 kde-base/kde-l10n/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/ChangeLog?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/ChangeLog?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/ChangeLog?r1=1.1&r2=1.2
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ChangeLog 17 Jan 2008 23:49:11 -0000 1.1
23 +++ ChangeLog 7 Feb 2008 00:11:25 -0000 1.2
24 @@ -1,6 +1,12 @@
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.1 2008/01/17 23:49:11 philantrop Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.2 2008/02/07 00:11:25 philantrop Exp $
29 +
30 +*kde-l10n-4.0.1 (06 Feb 2008)
31 +
32 + 06 Feb 2008; Wulf C. Krueger <philantrop@g.o>
33 + +kde-l10n-4.0.1.ebuild:
34 + Version bump to KDE 4.0.1.
35
36 *kde-l10n-4.0.0 (17 Jan 2008)
37
38
39
40
41 1.1 kde-base/kde-l10n/kde-l10n-4.0.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.0.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.0.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: kde-l10n-4.0.1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 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.0.1.ebuild,v 1.1 2008/02/07 00:11:25 philantrop Exp $
51
52 EAPI="1"
53
54 inherit kde4-base
55
56 DESCRIPTION="KDE internationalization package"
57 HOMEPAGE="http://www.kde.org/"
58 LICENSE="GPL-2"
59
60 KEYWORDS="~amd64 ~x86"
61 IUSE=""
62
63 DEPEND=">=sys-devel/gettext-0.15"
64 RDEPEND=""
65
66 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
67 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"
68
69 URI_BASE="${SRC_URI/-${PV}.tar.bz2/}"
70 SRC_URI=""
71
72 for X in ${LANGS} ; do
73 IUSE="${IUSE} linguas_${X}"
74 SRC_URI="${SRC_URI} linguas_${X}? ( ${URI_BASE}/${PN}-${X}-${PV}.tar.bz2 )"
75 done
76
77 S="${WORKDIR}"
78
79 src_unpack() {
80 if [[ -z ${A} ]]; then
81 echo
82 ewarn "You either have the LINGUAS variable unset, or it only"
83 ewarn "contains languages not supported by ${P}."
84 ewarn "You won't have any additional language support."
85 echo
86 ewarn "${P} supports these language codes:"
87 ewarn "${LANGS}"
88 echo
89 fi
90
91 [[ -n ${A} ]] && unpack ${A}
92 cd "${S}"
93
94 # Create a top-level CMakeLists.txt to include the selected LINGUAS as sub-directories of ${S}
95 for dir in * ; do
96 [[ -d ${dir} ]] && echo "add_subdirectory( ${dir} )" >> "${S}"/CMakeLists.txt
97 done
98 }
99
100 src_compile() {
101 if [[ -n ${A} ]]; then
102 kde4-base_src_compile
103 fi
104 }
105
106 src_install() {
107 if [[ -n ${A} ]]; then
108 kde4-base_src_install
109 fi
110 }
111
112
113
114 --
115 gentoo-commits@l.g.o mailing list