Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/kdepim-l10n/
Date: Thu, 28 Jul 2011 22:02:21
Message-Id: 89a8a53ac4229e5106bef7c5ee962d37402a4be0.dilfridge@gentoo
1 commit: 89a8a53ac4229e5106bef7c5ee962d37402a4be0
2 Author: Andreas K. Huettel (dilfridge) <mail <AT> akhuettel <DOT> de>
3 AuthorDate: Thu Jul 28 21:28:51 2011 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 28 21:28:51 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=89a8a53a
7
8 [kde-base/kdepim-l10n] Moved to main tree
9
10 (Portage version: 2.1.10.7/git/Linux x86_64, signed Manifest commit with key B6C5F7DE)
11
12 ---
13 kde-base/kdepim-l10n/kdepim-l10n-4.7.0.ebuild | 110 -------------------------
14 1 files changed, 0 insertions(+), 110 deletions(-)
15
16 diff --git a/kde-base/kdepim-l10n/kdepim-l10n-4.7.0.ebuild b/kde-base/kdepim-l10n/kdepim-l10n-4.7.0.ebuild
17 deleted file mode 100644
18 index 02580e4..0000000
19 --- a/kde-base/kdepim-l10n/kdepim-l10n-4.7.0.ebuild
20 +++ /dev/null
21 @@ -1,110 +0,0 @@
22 -# Copyright 1999-2011 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.7.0.ebuild,v 1.1 2011/07/27 14:04:26 alexxy Exp $
25 -
26 -EAPI=4
27 -
28 -inherit kde4-base
29 -
30 -DESCRIPTION="KDE PIM internationalization package"
31 -HOMEPAGE="http://www.kde.org/"
32 -LICENSE="GPL-2"
33 -
34 -DEPEND="
35 - sys-devel/gettext
36 -"
37 -RDEPEND=""
38 -
39 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
40 -IUSE="+handbook"
41 -
42 -# /usr/portage/distfiles $ ls -1 kde-l10n-*-${PV}.* |sed -e 's:-${PV}.tar.bz2::' -e 's:kde-l10n-::' |tr '\n' ' '
43 -MY_LANGS="ar bg bs ca ca@valencia cs da de el en_GB es et eu fi fr ga gl he hr
44 -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
45 -sv th tr ug uk wa zh_CN zh_TW"
46 -
47 -URI_BASE="${SRC_URI/-${PV}.tar.bz2/}"
48 -SRC_URI=""
49 -
50 -for MY_LANG in ${MY_LANGS} ; do
51 - IUSE="${IUSE} linguas_${MY_LANG}"
52 - SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE}/kde-l10n-${MY_LANG}-${PV}.tar.bz2 )"
53 -done
54 -
55 -S="${WORKDIR}"
56 -
57 -src_unpack() {
58 - local LNG DIR
59 - if [[ -z ${A} ]]; then
60 - elog
61 - elog "You either have the LINGUAS variable unset, or it only"
62 - elog "contains languages not supported by ${P}."
63 - elog "You won't have any additional language support."
64 - elog
65 - elog "${P} supports these language codes:"
66 - elog "${MY_LANGS}"
67 - elog
68 - fi
69 -
70 - # For EAPI >= 3, or if not using .tar.xz archives:
71 - [[ -n ${A} ]] && unpack ${A}
72 - cd "${S}"
73 -
74 - # add all linguas to cmake
75 - if [[ -n ${A} ]]; then
76 - for LNG in ${LINGUAS}; do
77 - DIR="kde-l10n-${LNG}-${PV}"
78 - if [[ -d "${DIR}" ]] ; then
79 - echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
80 - fi
81 -
82 - # remove everything except kdepim
83 - for SUBDIR in data docs messages scripts ; do
84 - if [[ -d "${S}/${DIR}/${SUBDIR}" ]] ; then
85 - einfo " ${SUBDIR} subdirectory"
86 - echo > "${S}/${DIR}/${SUBDIR}/CMakeLists.txt"
87 - [[ -d "${S}/${DIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirectory(kdepim)" >> "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" )
88 - fi
89 - done
90 -
91 - # in some cases we may have sub-lingua subdirs, e.g. sr :(
92 - for XSUBDIR in "${S}/${DIR}/${LNG}"@* ; do
93 - XLNG=$(echo ${XSUBDIR}|sed -e 's:^.*/::')
94 - if [[ -d "${XSUBDIR}" ]] ; then
95 - einfo " ${XLNG} variant"
96 - # remove everything except kdepim
97 - for SUBDIR in data docs messages scripts ; do
98 - if [[ -d "${XSUBDIR}/${SUBDIR}" ]] ; then
99 - einfo " ${SUBDIR} subdirectory"
100 - echo > "${XSUBDIR}/${SUBDIR}/CMakeLists.txt"
101 - [[ -d "${XSUBDIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirectory(kdepim)" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
102 - fi
103 - done
104 - fi
105 - done
106 - done
107 - fi
108 -}
109 -
110 -src_prepare() {
111 - [[ -n ${A} ]] && kde4-base_src_prepare
112 -}
113 -
114 -src_configure() {
115 - mycmakeargs=(
116 - $(cmake-utils_use_build handbook docs)
117 - )
118 - [[ -n ${A} ]] && kde4-base_src_configure
119 -}
120 -
121 -src_compile() {
122 - [[ -n ${A} ]] && kde4-base_src_compile
123 -}
124 -
125 -src_test() {
126 - [[ -n ${A} ]] && kde4-base_src_test
127 -}
128 -
129 -src_install() {
130 - [[ -n ${A} ]] && kde4-base_src_install
131 -}