1 |
commit: 32a886f8c2e461ef792c2ea7202d8077c0882ca8 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 15 20:36:00 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 19 23:51:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32a886f8 |
7 |
|
8 |
net-im/libcommuni: Drop 3.5.0_p20190110 (r0) |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
.../libcommuni/libcommuni-3.5.0_p20190110.ebuild | 85 ---------------------- |
14 |
1 file changed, 85 deletions(-) |
15 |
|
16 |
diff --git a/net-im/libcommuni/libcommuni-3.5.0_p20190110.ebuild b/net-im/libcommuni/libcommuni-3.5.0_p20190110.ebuild |
17 |
deleted file mode 100644 |
18 |
index e07da594ab0..00000000000 |
19 |
--- a/net-im/libcommuni/libcommuni-3.5.0_p20190110.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,85 +0,0 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-EGIT_COMMIT="88bb0fcdaab5bdd1176a3b6b485a6415a137ec27" |
28 |
- |
29 |
-inherit qmake-utils |
30 |
- |
31 |
-DESCRIPTION="A cross-platform IRC framework written with Qt" |
32 |
-HOMEPAGE="https://communi.github.io/" |
33 |
-SRC_URI="https://github.com/communi/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
34 |
- |
35 |
-LICENSE="BSD" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="amd64 x86" |
38 |
-IUSE="examples qml test +uchardet" |
39 |
-RESTRICT="!test? ( test )" |
40 |
- |
41 |
-RDEPEND=" |
42 |
- dev-qt/qtcore:5 |
43 |
- dev-qt/qtdeclarative:5 |
44 |
- examples? ( dev-qt/qtgui:5[xcb] ) |
45 |
- uchardet? ( app-i18n/uchardet ) |
46 |
- !uchardet? ( dev-libs/icu:= ) |
47 |
-" |
48 |
- |
49 |
-DEPEND=" |
50 |
- ${RDEPEND} |
51 |
- test? ( dev-qt/qttest:5 ) |
52 |
-" |
53 |
- |
54 |
-S="${WORKDIR}/${PN}-${EGIT_COMMIT}" |
55 |
- |
56 |
-src_prepare() { |
57 |
- default |
58 |
- |
59 |
- # Currently the test tst_IrcLagTimer fails, so disabling |
60 |
- # See: https://github.com/communi/libcommuni/issues/63 |
61 |
- sed -e '/irclagtimer/d' -i tests/auto/auto.pro || die |
62 |
-} |
63 |
- |
64 |
-src_configure() { |
65 |
- local myqmakeargs=( libcommuni.pro |
66 |
- # Disables compile run-time benchmarks, as they don't make any sense |
67 |
- -config no_benchmarks |
68 |
- # Is needed for fixing the QA Notice: The following files contain insecure RUNPATHs |
69 |
- -config no_rpath |
70 |
- # Compile libcommuni always in Release mode, as Debug seems to do nothing |
71 |
- -config release |
72 |
- # Don't silence all compile messages |
73 |
- -config verbose |
74 |
- -config $(usex examples '' 'no_')examples |
75 |
- -config $(usex qml '' 'no_')install_imports |
76 |
- -config $(usex qml '' 'no_')install_qml |
77 |
- -config $(usex test '' 'no_')tests |
78 |
- -config $(usex uchardet 'no_' '')icu |
79 |
- -config $(usex uchardet '' 'no_')uchardet ) |
80 |
- |
81 |
- eqmake5 "${myqmakeargs[@]}" |
82 |
-} |
83 |
- |
84 |
-src_test() { |
85 |
- # This is a hack to delete the existing LD_LIBRARY_PATH and set a new one, |
86 |
- # otherwise a test will fail, because it uses the system installed lib instead of the new compiled lib. |
87 |
- # The test will fail, when libcommuni is emerged with USE="uchardet" and |
88 |
- # libcommuni is already installed with USE="-uchardat", or the other way around. |
89 |
- find "${S}" -type f -name 'target_wrapper.sh' -exec sed -i -e "/.*LD_LIBRARY_PATH.*/d" {} \; || die |
90 |
- local -x LD_LIBRARY_PATH="${S}/lib" |
91 |
- |
92 |
- default |
93 |
-} |
94 |
- |
95 |
-src_install() { |
96 |
- emake install INSTALL_ROOT="${D}" |
97 |
- |
98 |
- if use examples; then |
99 |
- local examples=( "bot" "client" "minimal" "qmlbot" "quick" ) |
100 |
- for example in ${examples[@]}; do |
101 |
- newbin examples/"${example}"/"${example}" libcommuni."${example}" |
102 |
- done |
103 |
- fi |
104 |
- |
105 |
- einstalldocs |
106 |
-} |