1 |
commit: b4157177176a430eb2831623c1652e973fddc4b5 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 30 13:26:12 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 30 13:37:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4157177 |
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.13.ebuild | 118 ------------------------------- |
14 |
1 file changed, 118 deletions(-) |
15 |
|
16 |
diff --git a/net-im/spectrum2/spectrum2-2.0.13.ebuild b/net-im/spectrum2/spectrum2-2.0.13.ebuild |
17 |
deleted file mode 100644 |
18 |
index ce3c2651ed2..00000000000 |
19 |
--- a/net-im/spectrum2/spectrum2-2.0.13.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,118 +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 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 |
-python_check_deps() { |
89 |
- has_version "dev-python/sleekxmpp[${PYTHON_USEDEP}]" |
90 |
-} |
91 |
- |
92 |
-pkg_setup() { |
93 |
- use test && python-any-r1_pkg_setup |
94 |
-} |
95 |
- |
96 |
-src_prepare() { |
97 |
- # Respect users LDFLAGS |
98 |
- sed -i -e "s/-Wl,-export-dynamic/& ${LDFLAGS}/" spectrum/src/CMakeLists.txt || die |
99 |
- |
100 |
- cmake_src_prepare |
101 |
-} |
102 |
- |
103 |
-src_configure() { |
104 |
- local mycmakeargs=( |
105 |
- -DENABLE_DOCS="$(usex doc)" |
106 |
- -DENABLE_FROTZ="$(usex frotz)" |
107 |
- -DENABLE_IRC="$(usex irc)" |
108 |
- -DENABLE_MYSQL="$(usex mysql)" |
109 |
- -DENABLE_PQXX="$(usex postgres)" |
110 |
- -DENABLE_PURPLE="$(usex purple)" |
111 |
- $(usex irc '-DENABLE_QT4=OFF' '') |
112 |
- -DENABLE_SMSTOOLS3="$(usex sms)" |
113 |
- -DENABLE_SQLITE3="$(usex sqlite)" |
114 |
- -DENABLE_TESTS="$(usex test)" |
115 |
- -DENABLE_TWITTER="$(usex twitter)" |
116 |
- -DENABLE_XMPP="$(usex xmpp)" |
117 |
- -DLIB_INSTALL_DIR="$(get_libdir)" |
118 |
- ) |
119 |
- |
120 |
- cmake_src_configure |
121 |
-} |
122 |
- |
123 |
-src_test() { |
124 |
- cd tests/libtransport && "${EPYTHON}" ../start.py || die |
125 |
-} |
126 |
- |
127 |
-src_install() { |
128 |
- cmake_src_install |
129 |
- |
130 |
- diropts -o spectrum -g spectrum |
131 |
- keepdir /var/log/spectrum2 /var/lib/spectrum2 |
132 |
- diropts |
133 |
- |
134 |
- newinitd "${FILESDIR}"/spectrum2.initd spectrum2 |
135 |
- systemd_newunit "${FILESDIR}"/spectrum2.service spectrum2.service |
136 |
- systemd_newtmpfilesd "${FILESDIR}"/spectrum2.tmpfiles-r1 spectrum2.conf |
137 |
- |
138 |
- einstalldocs |
139 |
-} |