1 |
commit: c2cd73aee6a33d3099f56630866bff028303727c |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 30 13:36:10 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 30 13:37:54 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2cd73ae |
7 |
|
8 |
net-im/spectrum2: drop old version |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
net-im/spectrum2/spectrum2-2.0.12-r2.ebuild | 123 ---------------------------- |
14 |
1 file changed, 123 deletions(-) |
15 |
|
16 |
diff --git a/net-im/spectrum2/spectrum2-2.0.12-r2.ebuild b/net-im/spectrum2/spectrum2-2.0.12-r2.ebuild |
17 |
deleted file mode 100644 |
18 |
index 52118de297e..00000000000 |
19 |
--- a/net-im/spectrum2/spectrum2-2.0.12-r2.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,123 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-PYTHON_COMPAT=( python2_7 ) |
28 |
- |
29 |
-inherit cmake-utils python-any-r1 systemd |
30 |
- |
31 |
-DESCRIPTION="An open source instant messaging transport" |
32 |
-HOMEPAGE="https://www.spectrum.im" |
33 |
-SRC_URI="https://github.com/SpectrumIM/spectrum2/archive/${PV}.tar.gz -> ${P}.tar.gz" |
34 |
- |
35 |
-LICENSE="GPL-2+" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="amd64" |
38 |
-IUSE="doc frotz irc mysql postgres purple sms +sqlite test twitter whatsapp xmpp" |
39 |
-REQUIRED_USE="|| ( mysql postgres sqlite )" |
40 |
- |
41 |
-RDEPEND=" |
42 |
- acct-group/spectrum |
43 |
- acct-user/spectrum |
44 |
- dev-libs/boost:=[nls] |
45 |
- dev-libs/expat |
46 |
- dev-libs/libev:= |
47 |
- dev-libs/log4cxx |
48 |
- dev-libs/jsoncpp:= |
49 |
- dev-libs/openssl:0= |
50 |
- dev-libs/popt |
51 |
- dev-libs/protobuf:= |
52 |
- net-dns/libidn:0= |
53 |
- net-im/swift:= |
54 |
- net-misc/curl |
55 |
- sys-libs/zlib:= |
56 |
- frotz? ( !games-engines/frotz ) |
57 |
- irc? ( net-im/libcommuni ) |
58 |
- mysql? ( |
59 |
- || ( |
60 |
- dev-db/mariadb-connector-c |
61 |
- dev-db/mysql-connector-c |
62 |
- ) |
63 |
- ) |
64 |
- postgres? ( >=dev-libs/libpqxx-6.4.5:= ) |
65 |
- purple? ( |
66 |
- dev-libs/glib |
67 |
- net-im/pidgin:= |
68 |
- ) |
69 |
- sms? ( app-mobilephone/smstools ) |
70 |
- sqlite? ( dev-db/sqlite:3 ) |
71 |
- twitter? ( net-misc/curl ) |
72 |
- whatsapp? ( net-im/transwhat )" |
73 |
- |
74 |
-DEPEND=" |
75 |
- ${RDEPEND} |
76 |
- doc? ( app-doc/doxygen ) |
77 |
- test? ( |
78 |
- ${PYTHON_DEPS} |
79 |
- $(python_gen_any_dep 'dev-python/sleekxmpp[${PYTHON_USEDEP}]') |
80 |
- dev-util/cppunit |
81 |
- net-irc/ngircd |
82 |
- ) |
83 |
-" |
84 |
- |
85 |
-# Tests are currently restricted, as they do completly fail |
86 |
-RESTRICT="test" |
87 |
- |
88 |
-PATCHES=" |
89 |
- "${FILESDIR}/${P}-boost-173-compatibility.patch" |
90 |
- "${FILESDIR}/${P}-gcc-10-compatibility.patch" |
91 |
-" |
92 |
- |
93 |
-python_check_deps() { |
94 |
- has_version "dev-python/sleekxmpp[${PYTHON_USEDEP}]" |
95 |
-} |
96 |
- |
97 |
-pkg_setup() { |
98 |
- use test && python-any-r1_pkg_setup |
99 |
-} |
100 |
- |
101 |
-src_prepare() { |
102 |
- # Respect users LDFLAGS |
103 |
- sed -i -e "s/-Wl,-export-dynamic/& ${LDFLAGS}/" spectrum/src/CMakeLists.txt || die |
104 |
- |
105 |
- cmake-utils_src_prepare |
106 |
-} |
107 |
- |
108 |
-src_configure() { |
109 |
- local mycmakeargs=( |
110 |
- -DENABLE_DOCS="$(usex doc)" |
111 |
- -DENABLE_FROTZ="$(usex frotz)" |
112 |
- -DENABLE_IRC="$(usex irc)" |
113 |
- -DENABLE_MYSQL="$(usex mysql)" |
114 |
- -DENABLE_PQXX="$(usex postgres)" |
115 |
- -DENABLE_PURPLE="$(usex purple)" |
116 |
- $(usex irc '-DENABLE_QT4=OFF' '') |
117 |
- -DENABLE_SMSTOOLS3="$(usex sms)" |
118 |
- -DENABLE_SQLITE3="$(usex sqlite)" |
119 |
- -DENABLE_TESTS="$(usex test)" |
120 |
- -DENABLE_TWITTER="$(usex twitter)" |
121 |
- -DENABLE_XMPP="$(usex xmpp)" |
122 |
- -DLIB_INSTALL_DIR="$(get_libdir)" |
123 |
- ) |
124 |
- |
125 |
- cmake-utils_src_configure |
126 |
-} |
127 |
- |
128 |
-src_test() { |
129 |
- cd tests/libtransport && "${EPYTHON}" ../start.py || die |
130 |
-} |
131 |
- |
132 |
-src_install() { |
133 |
- cmake-utils_src_install |
134 |
- |
135 |
- diropts -o spectrum -g spectrum |
136 |
- keepdir /var/log/spectrum2 /var/lib/spectrum2 |
137 |
- diropts |
138 |
- |
139 |
- newinitd "${FILESDIR}"/spectrum2.initd spectrum2 |
140 |
- systemd_newunit "${FILESDIR}"/spectrum2.service spectrum2.service |
141 |
- systemd_newtmpfilesd "${FILESDIR}"/spectrum2.tmpfiles-r1 spectrum2.conf |
142 |
- |
143 |
- einstalldocs |
144 |
-} |