1 |
commit: 923a081a450ef1ad317a6c04cc9b8e0d7a8a657b |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 11 00:22:14 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 11 00:27:15 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=923a081a |
7 |
|
8 |
app-office/libreoffice: Populate BDEPEND |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
app-office/libreoffice/libreoffice-6.2.9999.ebuild | 51 +++++++++++----------- |
14 |
app-office/libreoffice/libreoffice-9999.ebuild | 51 +++++++++++----------- |
15 |
2 files changed, 50 insertions(+), 52 deletions(-) |
16 |
|
17 |
diff --git a/app-office/libreoffice/libreoffice-6.2.9999.ebuild b/app-office/libreoffice/libreoffice-6.2.9999.ebuild |
18 |
index a8c322b1441..33dcacf28ec 100644 |
19 |
--- a/app-office/libreoffice/libreoffice-6.2.9999.ebuild |
20 |
+++ b/app-office/libreoffice/libreoffice-6.2.9999.ebuild |
21 |
@@ -79,6 +79,14 @@ SLOT="0" |
22 |
[[ ${MY_PV} == *9999* ]] || \ |
23 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
24 |
|
25 |
+BDEPEND=" |
26 |
+ dev-util/intltool |
27 |
+ sys-devel/bison |
28 |
+ sys-devel/flex |
29 |
+ sys-devel/gettext |
30 |
+ virtual/pkgconfig |
31 |
+ odk? ( >=app-doc/doxygen-1.8.4 ) |
32 |
+" |
33 |
COMMON_DEPEND="${PYTHON_DEPS} |
34 |
app-arch/unzip |
35 |
app-arch/zip |
36 |
@@ -192,26 +200,6 @@ COMMON_DEPEND="${PYTHON_DEPS} |
37 |
pdfimport? ( app-text/poppler:=[cxx] ) |
38 |
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] ) |
39 |
" |
40 |
- |
41 |
-RDEPEND="${COMMON_DEPEND} |
42 |
- !app-office/libreoffice-bin |
43 |
- !app-office/libreoffice-bin-debug |
44 |
- !app-office/openoffice |
45 |
- media-fonts/liberation-fonts |
46 |
- || ( x11-misc/xdg-utils kde-plasma/kde-cli-tools ) |
47 |
- java? ( >=virtual/jre-1.6 ) |
48 |
- kde? ( kde-frameworks/breeze-icons:* ) |
49 |
- vlc? ( media-video/vlc ) |
50 |
-" |
51 |
- |
52 |
-if [[ ${MY_PV} != *9999* ]] && [[ ${PV} != *_* ]]; then |
53 |
- PDEPEND="=app-office/libreoffice-l10n-$(ver_cut 1-2)*" |
54 |
-else |
55 |
- # Translations are not reliable on live ebuilds |
56 |
- # rather force people to use english only. |
57 |
- PDEPEND="!app-office/libreoffice-l10n" |
58 |
-fi |
59 |
- |
60 |
# FIXME: cppunit should be moved to test conditional |
61 |
# after everything upstream is under gbuild |
62 |
# as dmake execute tests right away |
63 |
@@ -221,14 +209,9 @@ DEPEND="${COMMON_DEPEND} |
64 |
dev-perl/Archive-Zip |
65 |
>=dev-util/cppunit-1.14.0 |
66 |
>=dev-util/gperf-3 |
67 |
- dev-util/intltool |
68 |
>=dev-util/mdds-1.4.1:1= |
69 |
media-libs/glm |
70 |
- sys-devel/bison |
71 |
- sys-devel/flex |
72 |
- sys-devel/gettext |
73 |
sys-devel/ucpp |
74 |
- virtual/pkgconfig |
75 |
x11-base/xorg-proto |
76 |
x11-libs/libXt |
77 |
x11-libs/libXtst |
78 |
@@ -236,7 +219,6 @@ DEPEND="${COMMON_DEPEND} |
79 |
dev-java/ant-core |
80 |
>=virtual/jdk-1.6 |
81 |
) |
82 |
- odk? ( >=app-doc/doxygen-1.8.4 ) |
83 |
test? ( |
84 |
app-crypt/gnupg |
85 |
dev-util/cppunit |
86 |
@@ -244,6 +226,23 @@ DEPEND="${COMMON_DEPEND} |
87 |
media-fonts/liberation-fonts |
88 |
) |
89 |
" |
90 |
+RDEPEND="${COMMON_DEPEND} |
91 |
+ !app-office/libreoffice-bin |
92 |
+ !app-office/libreoffice-bin-debug |
93 |
+ !app-office/openoffice |
94 |
+ media-fonts/liberation-fonts |
95 |
+ || ( x11-misc/xdg-utils kde-plasma/kde-cli-tools ) |
96 |
+ java? ( >=virtual/jre-1.6 ) |
97 |
+ kde? ( kde-frameworks/breeze-icons:* ) |
98 |
+ vlc? ( media-video/vlc ) |
99 |
+" |
100 |
+if [[ ${MY_PV} != *9999* ]] && [[ ${PV} != *_* ]]; then |
101 |
+ PDEPEND="=app-office/libreoffice-l10n-$(ver_cut 1-2)*" |
102 |
+else |
103 |
+ # Translations are not reliable on live ebuilds |
104 |
+ # rather force people to use english only. |
105 |
+ PDEPEND="!app-office/libreoffice-l10n" |
106 |
+fi |
107 |
|
108 |
PATCHES=( |
109 |
# master branch |
110 |
|
111 |
diff --git a/app-office/libreoffice/libreoffice-9999.ebuild b/app-office/libreoffice/libreoffice-9999.ebuild |
112 |
index 375aca4c6b2..33af7c8cd64 100644 |
113 |
--- a/app-office/libreoffice/libreoffice-9999.ebuild |
114 |
+++ b/app-office/libreoffice/libreoffice-9999.ebuild |
115 |
@@ -79,6 +79,14 @@ SLOT="0" |
116 |
[[ ${MY_PV} == *9999* ]] || \ |
117 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
118 |
|
119 |
+BDEPEND=" |
120 |
+ dev-util/intltool |
121 |
+ sys-devel/bison |
122 |
+ sys-devel/flex |
123 |
+ sys-devel/gettext |
124 |
+ virtual/pkgconfig |
125 |
+ odk? ( >=app-doc/doxygen-1.8.4 ) |
126 |
+" |
127 |
COMMON_DEPEND="${PYTHON_DEPS} |
128 |
app-arch/unzip |
129 |
app-arch/zip |
130 |
@@ -192,26 +200,6 @@ COMMON_DEPEND="${PYTHON_DEPS} |
131 |
pdfimport? ( app-text/poppler:=[cxx] ) |
132 |
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] ) |
133 |
" |
134 |
- |
135 |
-RDEPEND="${COMMON_DEPEND} |
136 |
- !app-office/libreoffice-bin |
137 |
- !app-office/libreoffice-bin-debug |
138 |
- !app-office/openoffice |
139 |
- media-fonts/liberation-fonts |
140 |
- || ( x11-misc/xdg-utils kde-plasma/kde-cli-tools ) |
141 |
- java? ( >=virtual/jre-1.6 ) |
142 |
- kde? ( kde-frameworks/breeze-icons:* ) |
143 |
- vlc? ( media-video/vlc ) |
144 |
-" |
145 |
- |
146 |
-if [[ ${MY_PV} != *9999* ]] && [[ ${PV} != *_* ]]; then |
147 |
- PDEPEND="=app-office/libreoffice-l10n-$(ver_cut 1-2)*" |
148 |
-else |
149 |
- # Translations are not reliable on live ebuilds |
150 |
- # rather force people to use english only. |
151 |
- PDEPEND="!app-office/libreoffice-l10n" |
152 |
-fi |
153 |
- |
154 |
# FIXME: cppunit should be moved to test conditional |
155 |
# after everything upstream is under gbuild |
156 |
# as dmake execute tests right away |
157 |
@@ -221,14 +209,9 @@ DEPEND="${COMMON_DEPEND} |
158 |
dev-perl/Archive-Zip |
159 |
>=dev-util/cppunit-1.14.0 |
160 |
>=dev-util/gperf-3 |
161 |
- dev-util/intltool |
162 |
>=dev-util/mdds-1.4.1:1= |
163 |
media-libs/glm |
164 |
- sys-devel/bison |
165 |
- sys-devel/flex |
166 |
- sys-devel/gettext |
167 |
sys-devel/ucpp |
168 |
- virtual/pkgconfig |
169 |
x11-base/xorg-proto |
170 |
x11-libs/libXt |
171 |
x11-libs/libXtst |
172 |
@@ -236,7 +219,6 @@ DEPEND="${COMMON_DEPEND} |
173 |
dev-java/ant-core |
174 |
>=virtual/jdk-1.6 |
175 |
) |
176 |
- odk? ( >=app-doc/doxygen-1.8.4 ) |
177 |
test? ( |
178 |
app-crypt/gnupg |
179 |
dev-util/cppunit |
180 |
@@ -244,6 +226,23 @@ DEPEND="${COMMON_DEPEND} |
181 |
media-fonts/liberation-fonts |
182 |
) |
183 |
" |
184 |
+RDEPEND="${COMMON_DEPEND} |
185 |
+ !app-office/libreoffice-bin |
186 |
+ !app-office/libreoffice-bin-debug |
187 |
+ !app-office/openoffice |
188 |
+ media-fonts/liberation-fonts |
189 |
+ || ( x11-misc/xdg-utils kde-plasma/kde-cli-tools ) |
190 |
+ java? ( >=virtual/jre-1.6 ) |
191 |
+ kde? ( kde-frameworks/breeze-icons:* ) |
192 |
+ vlc? ( media-video/vlc ) |
193 |
+" |
194 |
+if [[ ${MY_PV} != *9999* ]] && [[ ${PV} != *_* ]]; then |
195 |
+ PDEPEND="=app-office/libreoffice-l10n-$(ver_cut 1-2)*" |
196 |
+else |
197 |
+ # Translations are not reliable on live ebuilds |
198 |
+ # rather force people to use english only. |
199 |
+ PDEPEND="!app-office/libreoffice-l10n" |
200 |
+fi |
201 |
|
202 |
PATCHES=( |
203 |
# "${WORKDIR}"/${PATCHSET/.tar.xz/} |