Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/spectrum2/
Date: Sat, 01 Aug 2020 19:40:42
Message-Id: 1596310801.e8056018092c0e0127e201f1ddbf1b47b491ce5a.conikost@gentoo
1 commit: e8056018092c0e0127e201f1ddbf1b47b491ce5a
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 1 19:35:53 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 1 19:40:01 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8056018
7
8 net-im/spectrum2: drop old version
9
10 Package-Manager: Portage-3.0.1, Repoman-2.3.23
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 net-im/spectrum2/spectrum2-2.0.12-r3.ebuild | 107 ----------------------------
14 net-im/spectrum2/spectrum2-2.0.13-r1.ebuild | 102 --------------------------
15 2 files changed, 209 deletions(-)
16
17 diff --git a/net-im/spectrum2/spectrum2-2.0.12-r3.ebuild b/net-im/spectrum2/spectrum2-2.0.12-r3.ebuild
18 deleted file mode 100644
19 index 85771c62be5..00000000000
20 --- a/net-im/spectrum2/spectrum2-2.0.12-r3.ebuild
21 +++ /dev/null
22 @@ -1,107 +0,0 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -inherit cmake systemd
29 -
30 -DESCRIPTION="An open source instant messaging transport"
31 -HOMEPAGE="https://www.spectrum.im"
32 -SRC_URI="https://github.com/SpectrumIM/spectrum2/archive/${PV}.tar.gz -> ${P}.tar.gz"
33 -
34 -LICENSE="GPL-2+"
35 -SLOT="0"
36 -KEYWORDS="amd64"
37 -IUSE="doc frotz irc mysql postgres purple sms +sqlite test twitter whatsapp xmpp"
38 -REQUIRED_USE="|| ( mysql postgres sqlite )"
39 -RESTRICT="!test? ( test )"
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? ( dev-util/cppunit )
78 -"
79 -
80 -PATCHES="
81 - "${FILESDIR}/${P}-boost-173-compatibility.patch"
82 - "${FILESDIR}/${P}-gcc-10-compatibility.patch"
83 -"
84 -
85 -src_prepare() {
86 - # Respect users LDFLAGS
87 - sed -i -e "s/-Wl,-export-dynamic/& ${LDFLAGS}/" spectrum/src/CMakeLists.txt || die
88 -
89 - cmake_src_prepare
90 -}
91 -
92 -src_configure() {
93 - local mycmakeargs=(
94 - -DENABLE_DOCS="$(usex doc)"
95 - -DENABLE_FROTZ="$(usex frotz)"
96 - -DENABLE_IRC="$(usex irc)"
97 - -DENABLE_MYSQL="$(usex mysql)"
98 - -DENABLE_PQXX="$(usex postgres)"
99 - -DENABLE_PURPLE="$(usex purple)"
100 - $(usex irc '-DENABLE_QT4=OFF' '')
101 - -DENABLE_SMSTOOLS3="$(usex sms)"
102 - -DENABLE_SQLITE3="$(usex sqlite)"
103 - -DENABLE_TESTS="$(usex test)"
104 - -DENABLE_TWITTER="$(usex twitter)"
105 - -DENABLE_XMPP="$(usex xmpp)"
106 - -DLIB_INSTALL_DIR="$(get_libdir)"
107 - )
108 -
109 - cmake_src_configure
110 -}
111 -
112 -src_test() {
113 - cd "${BUILD_DIR}/tests/libtransport" || die
114 - ./libtransport_test || die
115 -}
116 -
117 -src_install() {
118 - cmake_src_install
119 -
120 - diropts -o spectrum -g spectrum
121 - keepdir /var/log/spectrum2 /var/lib/spectrum2
122 - diropts
123 -
124 - newinitd "${FILESDIR}"/spectrum2.initd spectrum2
125 - systemd_newunit "${FILESDIR}"/spectrum2.service spectrum2.service
126 - systemd_newtmpfilesd "${FILESDIR}"/spectrum2.tmpfiles-r1 spectrum2.conf
127 -
128 - einstalldocs
129 -}
130
131 diff --git a/net-im/spectrum2/spectrum2-2.0.13-r1.ebuild b/net-im/spectrum2/spectrum2-2.0.13-r1.ebuild
132 deleted file mode 100644
133 index 34d6db43558..00000000000
134 --- a/net-im/spectrum2/spectrum2-2.0.13-r1.ebuild
135 +++ /dev/null
136 @@ -1,102 +0,0 @@
137 -# Copyright 1999-2020 Gentoo Authors
138 -# Distributed under the terms of the GNU General Public License v2
139 -
140 -EAPI=7
141 -
142 -inherit cmake systemd
143 -
144 -DESCRIPTION="An open source instant messaging transport"
145 -HOMEPAGE="https://www.spectrum.im"
146 -SRC_URI="https://github.com/SpectrumIM/spectrum2/archive/${PV}.tar.gz -> ${P}.tar.gz"
147 -
148 -LICENSE="GPL-2+"
149 -SLOT="0"
150 -KEYWORDS="~amd64"
151 -IUSE="doc frotz irc mysql postgres purple sms +sqlite test twitter whatsapp xmpp"
152 -REQUIRED_USE="|| ( mysql postgres sqlite )"
153 -RESTRICT="!test? ( test )"
154 -
155 -RDEPEND="
156 - acct-group/spectrum
157 - acct-user/spectrum
158 - dev-libs/boost:=[nls]
159 - dev-libs/expat
160 - dev-libs/libev:=
161 - dev-libs/log4cxx
162 - dev-libs/jsoncpp:=
163 - dev-libs/openssl:0=
164 - dev-libs/popt
165 - dev-libs/protobuf:=
166 - net-dns/libidn:0=
167 - net-im/swift:=
168 - net-misc/curl
169 - sys-libs/zlib:=
170 - frotz? ( !games-engines/frotz )
171 - irc? ( net-im/libcommuni )
172 - mysql? (
173 - || (
174 - dev-db/mariadb-connector-c
175 - dev-db/mysql-connector-c
176 - )
177 - )
178 - postgres? ( >=dev-libs/libpqxx-6.4.5:= )
179 - purple? (
180 - dev-libs/glib
181 - net-im/pidgin:=
182 - )
183 - sms? ( app-mobilephone/smstools )
184 - sqlite? ( dev-db/sqlite:3 )
185 - twitter? ( net-misc/curl )
186 - whatsapp? ( net-im/transwhat )"
187 -
188 -DEPEND="
189 - ${RDEPEND}
190 - doc? ( app-doc/doxygen )
191 - test? ( dev-util/cppunit )
192 -"
193 -
194 -src_prepare() {
195 - # Respect users LDFLAGS
196 - sed -i -e "s/-Wl,-export-dynamic/& ${LDFLAGS}/" spectrum/src/CMakeLists.txt || die
197 -
198 - cmake_src_prepare
199 -}
200 -
201 -src_configure() {
202 - local mycmakeargs=(
203 - -DENABLE_DOCS="$(usex doc)"
204 - -DENABLE_FROTZ="$(usex frotz)"
205 - -DENABLE_IRC="$(usex irc)"
206 - -DENABLE_MYSQL="$(usex mysql)"
207 - -DENABLE_PQXX="$(usex postgres)"
208 - -DENABLE_PURPLE="$(usex purple)"
209 - $(usex irc '-DENABLE_QT4=OFF' '')
210 - -DENABLE_SMSTOOLS3="$(usex sms)"
211 - -DENABLE_SQLITE3="$(usex sqlite)"
212 - -DENABLE_TESTS="$(usex test)"
213 - -DENABLE_TWITTER="$(usex twitter)"
214 - -DENABLE_XMPP="$(usex xmpp)"
215 - -DLIB_INSTALL_DIR="$(get_libdir)"
216 - )
217 -
218 - cmake_src_configure
219 -}
220 -
221 -src_test() {
222 - cd "${BUILD_DIR}/tests/libtransport" || die
223 - ./libtransport_test || die
224 -}
225 -
226 -src_install() {
227 - cmake_src_install
228 -
229 - diropts -o spectrum -g spectrum
230 - keepdir /var/log/spectrum2 /var/lib/spectrum2
231 - diropts
232 -
233 - newinitd "${FILESDIR}"/spectrum2.initd spectrum2
234 - systemd_newunit "${FILESDIR}"/spectrum2.service spectrum2.service
235 - systemd_newtmpfilesd "${FILESDIR}"/spectrum2.tmpfiles-r1 spectrum2.conf
236 -
237 - einstalldocs
238 -}