1 |
commit: 5702862d406a1cbf658f56f4d6392825bbc4f4fe |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 1 16:12:52 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 1 16:12:52 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5702862d |
7 |
|
8 |
app-office/calligra-l10n: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
.../calligra-l10n/calligra-l10n-2.9.11.ebuild | 86 ---------------------- |
13 |
1 file changed, 86 deletions(-) |
14 |
|
15 |
diff --git a/app-office/calligra-l10n/calligra-l10n-2.9.11.ebuild b/app-office/calligra-l10n/calligra-l10n-2.9.11.ebuild |
16 |
deleted file mode 100644 |
17 |
index 6a495b9cb97..00000000000 |
18 |
--- a/app-office/calligra-l10n/calligra-l10n-2.9.11.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,86 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
- |
26 |
-inherit kde4-base |
27 |
- |
28 |
-DESCRIPTION="Calligra localization package" |
29 |
-HOMEPAGE="https://www.kde.org/" |
30 |
-LICENSE="GPL-2" |
31 |
- |
32 |
-DEPEND="sys-devel/gettext" |
33 |
-RDEPEND="!app-office/koffice-l10n" |
34 |
- |
35 |
-KEYWORDS="amd64 ~arm x86" |
36 |
-IUSE="doc" |
37 |
- |
38 |
-MY_LANGS="bs ca ca@valencia cs da de el en_GB es et fi fr gl hu it ja kk nb nl |
39 |
-pl pt pt_BR ru sk sv tr uk zh_CN zh_TW" |
40 |
- |
41 |
-case ${PV} in |
42 |
- 2.[456789].[789]?) |
43 |
- # beta or rc releases |
44 |
- URI_BASE="mirror://kde/unstable/${PN/-l10n/}-${PV}/${PN}" ;; |
45 |
- 2.[456789].?|2.[456789].??) |
46 |
- # stable releases |
47 |
- URI_BASE="mirror://kde/stable/${PN/-l10n/}-${PV}/${PN}" ;; |
48 |
- *) |
49 |
- SRC_URI="" ;; |
50 |
-esac |
51 |
- |
52 |
-SRC_URI="" |
53 |
-SLOT="4" |
54 |
- |
55 |
-for MY_LANG in ${MY_LANGS} ; do |
56 |
- IUSE="${IUSE} l10n_${MY_LANG/[@_]/-}" |
57 |
- SRC_URI="${SRC_URI} l10n_${MY_LANG/[@_]/-}? ( ${URI_BASE}/${PN}-${MY_LANG}-${PV}.tar.xz )" |
58 |
-done |
59 |
-unset MY_LANG |
60 |
- |
61 |
-S="${WORKDIR}" |
62 |
- |
63 |
-src_unpack() { |
64 |
- local lng dir |
65 |
- if [[ -z ${A} ]]; then |
66 |
- elog |
67 |
- elog "None of the requested L10N are supported by ${P}." |
68 |
- elog |
69 |
- elog "${P} supports these language codes:" |
70 |
- elog "${MY_LANGS//[@_]/-}" |
71 |
- elog |
72 |
- fi |
73 |
- |
74 |
- [[ -n ${A} ]] && unpack ${A} |
75 |
- cd "${S}" |
76 |
- |
77 |
- # add all L10N to cmake |
78 |
- if [[ -n ${A} ]]; then |
79 |
- for lng in ${MY_LANGS}; do |
80 |
- dir="${PN}-${lng}-${PV}" |
81 |
- if [[ -d "${dir}" ]] ; then |
82 |
- echo "add_subdirectory( ${dir} )" >> "${S}"/CMakeLists.txt |
83 |
- fi |
84 |
- done |
85 |
- fi |
86 |
-} |
87 |
- |
88 |
-src_configure() { |
89 |
- local mycmakeargs=( |
90 |
- -DBUILD_MESSAGES=ON -DBUILD_DATA=ON |
91 |
- $(cmake-utils_use_build doc) |
92 |
- ) |
93 |
- [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_configure |
94 |
-} |
95 |
- |
96 |
-src_compile() { |
97 |
- [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_compile |
98 |
-} |
99 |
- |
100 |
-src_test() { |
101 |
- [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_test |
102 |
-} |
103 |
- |
104 |
-src_install() { |
105 |
- [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_install |
106 |
-} |