1 |
dilfridge 11/07/30 11:39:40 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: kde-l10n-4.7.0-r2.ebuild |
5 |
Log: |
6 |
Add better code to remove kdepim translations / docs |
7 |
|
8 |
(Portage version: 2.1.10.9/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.101 kde-base/kde-l10n/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/ChangeLog?rev=1.101&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/ChangeLog?rev=1.101&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/ChangeLog?r1=1.100&r2=1.101 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v |
20 |
retrieving revision 1.100 |
21 |
retrieving revision 1.101 |
22 |
diff -u -r1.100 -r1.101 |
23 |
--- ChangeLog 28 Jul 2011 20:54:43 -0000 1.100 |
24 |
+++ ChangeLog 30 Jul 2011 11:39:40 -0000 1.101 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for kde-base/kde-l10n |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.100 2011/07/28 20:54:43 dilfridge Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/ChangeLog,v 1.101 2011/07/30 11:39:40 dilfridge Exp $ |
30 |
+ |
31 |
+*kde-l10n-4.7.0-r2 (30 Jul 2011) |
32 |
+ |
33 |
+ 30 Jul 2011; Andreas K. Huettel <dilfridge@g.o> |
34 |
+ +kde-l10n-4.7.0-r2.ebuild: |
35 |
+ Add better code to remove kdepim translations / docs |
36 |
|
37 |
*kde-l10n-4.7.0-r1 (28 Jul 2011) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 kde-base/kde-l10n/kde-l10n-4.7.0-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.7.0-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.7.0-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: kde-l10n-4.7.0-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 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.7.0-r2.ebuild,v 1.1 2011/07/30 11:39:40 dilfridge Exp $ |
52 |
|
53 |
EAPI="3" |
54 |
|
55 |
inherit kde4-base |
56 |
|
57 |
DESCRIPTION="KDE internationalization package" |
58 |
HOMEPAGE="http://www.kde.org/" |
59 |
LICENSE="GPL-2" |
60 |
|
61 |
DEPEND=" |
62 |
sys-devel/gettext |
63 |
" |
64 |
RDEPEND="!<kde-misc/konq-plugins-4.6" |
65 |
|
66 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
67 |
IUSE="+handbook" |
68 |
|
69 |
# /usr/portage/distfiles $ ls -1 kde-l10n-*-${PV}.* |sed -e 's:-${PV}.tar.bz2::' -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 hr |
71 |
hu ia id is it ja kk km kn ko lt lv nb nds nl nn pa pl pt pt_BR ro ru sk sl sr |
72 |
sv th tr ug uk wa zh_CN zh_TW" |
73 |
|
74 |
URI_BASE="${SRC_URI/-${PV}.tar.bz2/}" |
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.bz2 )" |
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 |
# For EAPI >= 3, or if not using .tar.xz archives: |
98 |
[[ -n ${A} ]] && unpack ${A} |
99 |
cd "${S}" |
100 |
|
101 |
# add all linguas to cmake |
102 |
if [[ -n ${A} ]]; then |
103 |
for LNG in ${LINGUAS}; do |
104 |
DIR="${PN}-${LNG}-${PV}" |
105 |
if [[ -d "${DIR}" ]] ; then |
106 |
echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt |
107 |
fi |
108 |
done |
109 |
fi |
110 |
} |
111 |
|
112 |
src_prepare() { |
113 |
find "${S}" -name CMakeLists.txt -type f \ |
114 |
-exec sed -i -e 's:^ *add_subdirectory( *kdepim-runtime *):# no kdepim-runtime:g' {} + |
115 |
find "${S}" -name CMakeLists.txt -type f \ |
116 |
-exec sed -i -e 's:^ *add_subdirectory( *kdepim *):# no kdepim:g' {} + |
117 |
|
118 |
kde4-base_src_prepare |
119 |
} |
120 |
|
121 |
src_configure() { |
122 |
mycmakeargs=( |
123 |
$(cmake-utils_use_build handbook docs) |
124 |
) |
125 |
[[ -n ${A} ]] && kde4-base_src_configure |
126 |
} |
127 |
|
128 |
src_compile() { |
129 |
[[ -n ${A} ]] && kde4-base_src_compile |
130 |
} |
131 |
|
132 |
src_test() { |
133 |
[[ -n ${A} ]] && kde4-base_src_test |
134 |
} |
135 |
|
136 |
src_install() { |
137 |
[[ -n ${A} ]] && kde4-base_src_install |
138 |
} |